Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updateSecurityGroupInterface api returns success for invalid securityGroup Id. #42

Open
3 tasks
gbhugar opened this issue Dec 4, 2017 · 0 comments
Open
3 tasks

Comments

@gbhugar
Copy link

gbhugar commented Dec 4, 2017

Description

updateSecurityGroupInterface api returns success for invalid securityGroup Id.

Expected Behavior

updateSecurityGroupInterface api should report an error message indicating the cause.

Actual Behavior

updateSecurityGroupInterface api is returns success for invalid securityGroup Id and updates as is.

Steps to Reproduce

OSC_IP/sample/mgr/ism/devices/{deviceId}/securityGroupInterfaces/{SGI_ID}

Request Body:
{
"name":"SGI-3334",
"tag":"testing",
"policies":[{"id":1,"domain":{"id":1}}],
"device":{"id":100},
"securityGroup":{"id":222} -> Invalid SecurityGroup ID
}

Additional Information

No new security group gets created.

Environment

  • OSC Version/Build: Version: 1.0.0-SNAPSHOT (Build:14-g7adf532, 2017-11-22T08:16:42Z)
  • Cloud Provider Info:
  • Plugin Info: SampleMgrPlugin - 2.0.1-SNAPSHOT-1-g4a1421d
  • Other:

Status

  • Reproduced
  • In Progress
  • Validated => Verified in Version/Build:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants