Juniper / contrail

Contrail repo for core components (go based)
Apache License 2.0
44 stars 32 forks source link

API Server's show operation does not return Not Found error #69

Closed danielfurman closed 6 years ago

danielfurman commented 6 years ago

Use case: Performing GET request on single resource with given UUID (show operation), when there is no such resource.

Current behavior: Operation returns empty list of resources with no error.

Suggested behavior: Server returns HTTP 404 Not Found error.

Notes: It breaks CLI Sync() operation and TestCLISyncVirtualNetworks() integration test has been disabled. That test needs to be reenabled after resolving bug.

danielfurman commented 6 years ago

@nati I see that TestCLISyncVirtualNetworks is still skipped, so what is status of this issue?

TestCLISetVirtualNetworks TestCLIUpdateVirtualNetworks have been commented out. They were running fine previously. What needs to be done to uncomment them?