diff options
author | Jim Hahn <jrh3@att.com> | 2020-03-02 16:17:36 -0500 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-03-03 01:12:53 +0000 |
commit | 9bd821d6a2b49dacb7286d58f11d5cd1cc7e0aa2 (patch) | |
tree | ed9218821be37c3f060eb3dc64b7f89327f70164 /models-interactions/model-simulators/src | |
parent | d5fc0bddf4f1e02d47a95d070c000ff0a6557edd (diff) |
Fix path issues
A&AI tenant query is prepending the target entity with "/", but it should
not. Fixed it.
Modified A&AI and SO actors to get path prefixes from parameters.
Fixed a bug in an A&AI simulator response (extra "}" at the end.
Issue-ID: POLICY-2349
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I71f8b1e5fb8a4bd29b4f616a7757d366c7d58127
Diffstat (limited to 'models-interactions/model-simulators/src')
-rw-r--r-- | models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/AaiSimulatorJaxRs.java | 2 |
1 files changed, 1 insertions, 1 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 3b1772342..8c96ee533 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 @@ -73,7 +73,7 @@ public class AaiSimulatorJaxRs { return "{\"result-data\":[{\"resource-type\": \"vserver\",\"resource-link\":\"/aai/v15/" + "cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants" + "/tenant/3f2aaef74ecb4b19b35e26d0849fe9a2/vservers/vserver/" - + "6c3b3714-e36c-45af-9f16-7d3a73d99497\"}]}}"; + + "6c3b3714-e36c-45af-9f16-7d3a73d99497\"}]}"; } else { return null; } |