diff options
author | Liam Fallon <liam.fallon@est.tech> | 2020-03-23 12:22:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-23 12:22:15 +0000 |
commit | 09ca398afe3ecebcbf9ed53a03919372831986b3 (patch) | |
tree | 6f2c2d8cd83b9ed38fddfc886a579d50eda335e9 /models-sim/policy-models-simulators/src/test | |
parent | e8af063efc33258c32d5843d6b3aad7df0216a95 (diff) | |
parent | f3fe0b63bc3bf7efdfce815bf17034291f8ff265 (diff) |
Merge "Bug fixes in models simulators"
Diffstat (limited to 'models-sim/policy-models-simulators/src/test')
-rw-r--r-- | models-sim/policy-models-simulators/src/test/resources/appc.lcm.request.json | 17 | ||||
-rw-r--r-- | models-sim/policy-models-simulators/src/test/resources/simParameters.json | 8 |
2 files changed, 21 insertions, 4 deletions
diff --git a/models-sim/policy-models-simulators/src/test/resources/appc.lcm.request.json b/models-sim/policy-models-simulators/src/test/resources/appc.lcm.request.json new file mode 100644 index 000000000..cf2ebd521 --- /dev/null +++ b/models-sim/policy-models-simulators/src/test/resources/appc.lcm.request.json @@ -0,0 +1,17 @@ +{ + "body": { + "input": { + "common-header": { + "timestamp": "2017-08-25T21:06:23.037Z", + "api-ver": "5.00", + "originator-id": "664be3d2-6c12-4f4b-a3e7-c349acced200", + "request-id": "664be3d2-6c12-4f4b-a3e7-c349acced200", + "sub-request-id": "111be3d2-6c12-4f4b-a3e7-c349acced200", + "flags": {} + } + } + }, + "version": "2.0", + "rpc-name": "restart", + "type": "request" +} diff --git a/models-sim/policy-models-simulators/src/test/resources/simParameters.json b/models-sim/policy-models-simulators/src/test/resources/simParameters.json index c7abb2973..5f946f105 100644 --- a/models-sim/policy-models-simulators/src/test/resources/simParameters.json +++ b/models-sim/policy-models-simulators/src/test/resources/simParameters.json @@ -58,7 +58,7 @@ "useHttps": true }, { - "topic": "APPC-LCM-READ", + "topic": "APPC-LCM-WRITE", "servers": ["localhost"], "topicCommInfrastructure": "DMAAP", "useHttps": true @@ -72,7 +72,7 @@ "useHttps": true }, { - "topic": "APPC-LCM-WRITE", + "topic": "APPC-LCM-READ", "servers": ["localhost"], "topicCommInfrastructure": "DMAAP", "useHttps": true @@ -88,8 +88,8 @@ { "name": "APPC-LCM simulator", "providerClass": "org.onap.policy.simulators.AppcLcmTopicServer", - "sink": "APPC-LCM-READ", - "source": "APPC-LCM-WRITE" + "sink": "APPC-LCM-WRITE", + "source": "APPC-LCM-READ" } ] } |