diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2020-09-01 16:38:15 -0400 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2020-09-02 07:27:22 -0400 |
commit | 83ad920bb05c4f02d1ae2ee5b2196785d2eb61a3 (patch) | |
tree | 7fd34662bf8b74f37a20c8005423e2dc9d4c8fff /models-interactions/model-simulators/src/main/java | |
parent | 64591b51d4da3900f37f53701b2ffef4a38778e9 (diff) |
Add new method to retrieve vnf-id
For guard filters, once the vnf-id is found. Then this convenience
method helps to retrieve the correct vnf information.
Issue-ID: POLICY-2590
Change-Id: I0b55b15582ddc58bbc5b2c0c2c2b130f3cdc88c3
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Signed-off-by: Jim Hahn <jrh3@att.com>
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'models-interactions/model-simulators/src/main/java')
-rw-r--r-- | models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/AaiSimulatorJaxRs.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/AaiSimulatorJaxRs.java b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/AaiSimulatorJaxRs.java index 8a3d6a803..27afb7b73 100644 --- a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/AaiSimulatorJaxRs.java +++ b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/AaiSimulatorJaxRs.java @@ -68,6 +68,7 @@ public class AaiSimulatorJaxRs { @Produces("application/json") public String aaiGetVserverQuery(@QueryParam("filter") final String filter) { if (filter.equals("vserver-name:EQUALS:f953c499-4b1e-426b-8c6d-e9e9f1fc730f") + || filter.equals("vserver-name:EQUALS:Ete_vFWCLvFWSNK_7ba1fbde_0") || filter.equals("vserver-name:EQUALS:OzVServer") || filter.equals("vserver-name:EQUALS:testVserverName")) { return "{\"result-data\":[{\"resource-type\": \"vserver\",\"resource-link\":\"/aai/v15/" |