diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-10-30 14:12:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-10-30 14:12:57 +0000 |
commit | 039c4d4d3bc00c129554b3761258d06e6ef87b58 (patch) | |
tree | 2049268babc44b7591b252cea42abd510f51ca7a /controlloop/common/simulators/src/main | |
parent | e5fad68d3ab3b79d4e69820e485e50bece16494f (diff) | |
parent | 08c54826db08f104359e36a67e4a3affb477a245 (diff) |
Merge "Fix Final Failure on AAI Queries"
Diffstat (limited to 'controlloop/common/simulators/src/main')
-rw-r--r-- | controlloop/common/simulators/src/main/java/org/onap/policy/simulators/AaiSimulatorJaxRs.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controlloop/common/simulators/src/main/java/org/onap/policy/simulators/AaiSimulatorJaxRs.java b/controlloop/common/simulators/src/main/java/org/onap/policy/simulators/AaiSimulatorJaxRs.java index 1a0eb311f..8ecc11466 100644 --- a/controlloop/common/simulators/src/main/java/org/onap/policy/simulators/AaiSimulatorJaxRs.java +++ b/controlloop/common/simulators/src/main/java/org/onap/policy/simulators/AaiSimulatorJaxRs.java @@ -109,7 +109,7 @@ public class AaiSimulatorJaxRs { @Path("/v11/nodes/vservers") @Consumes(MediaType.APPLICATION_JSON) @Produces("application/json") - public String getByVserverName (@QueryParam("vserverName") String vserverName) + public String getByVserverName (@QueryParam("vserver-name") String vserverName) { if ("getFail".equals(vserverName)) { return "{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC3001\",\"text\":\"Resource not found for %1 using id %2 (msg=%3) (ec=%4)\",\"variables\":[\"GET\",\"nodes/vservers\",\"Node Not Found:No Node of type generic-vnf found at nodes/vservers\",\"ERR.5.4.6114\"]}}}"; |