diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2020-10-06 21:37:03 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-10-06 21:37:03 +0000 |
commit | f617d00767a6f137c0941b9ee531e3d9b1ef0196 (patch) | |
tree | 80c0f51e59ffa7b7a1ff223fc22208af7e88d394 /models-sim/policy-models-simulators/src/test/resources | |
parent | c9dfb9a5f8091891710e2b718d028c6a6d741866 (diff) | |
parent | e54ce7a34fe5ae1425336aa461d70eee9386d90a (diff) |
Merge "Don't always validate restServerParameters"
Diffstat (limited to 'models-sim/policy-models-simulators/src/test/resources')
-rw-r--r-- | models-sim/policy-models-simulators/src/test/resources/emptyRestServer.json | 11 | ||||
-rw-r--r-- | models-sim/policy-models-simulators/src/test/resources/invalidDmaapName.json | 10 | ||||
-rw-r--r-- | models-sim/policy-models-simulators/src/test/resources/invalidDmaapProvider.json (renamed from models-sim/policy-models-simulators/src/test/resources/invalidDmaapParameters.json) | 0 | ||||
-rw-r--r-- | models-sim/policy-models-simulators/src/test/resources/invalidGrpcServer.json (renamed from models-sim/policy-models-simulators/src/test/resources/invalidGrpcParameters.json) | 0 | ||||
-rw-r--r-- | models-sim/policy-models-simulators/src/test/resources/invalidTopicSweep.json | 10 |
5 files changed, 31 insertions, 0 deletions
diff --git a/models-sim/policy-models-simulators/src/test/resources/emptyRestServer.json b/models-sim/policy-models-simulators/src/test/resources/emptyRestServer.json new file mode 100644 index 000000000..4a86253da --- /dev/null +++ b/models-sim/policy-models-simulators/src/test/resources/emptyRestServer.json @@ -0,0 +1,11 @@ +{ + "dmaapProvider": { + "name": "DMaaP simulator", + "topicSweepSec": 300, + "restServerParameters": {} + }, + "restServers": [], + "topicSinks": [], + "topicSources": [], + "topicServers": [] +} diff --git a/models-sim/policy-models-simulators/src/test/resources/invalidDmaapName.json b/models-sim/policy-models-simulators/src/test/resources/invalidDmaapName.json new file mode 100644 index 000000000..889c4c844 --- /dev/null +++ b/models-sim/policy-models-simulators/src/test/resources/invalidDmaapName.json @@ -0,0 +1,10 @@ +{ + "dmaapProvider": { + "name": null, + "topicSweepSec":300 + }, + "restServers": [], + "topicSinks": [], + "topicSources": [], + "topicServers": [] +} diff --git a/models-sim/policy-models-simulators/src/test/resources/invalidDmaapParameters.json b/models-sim/policy-models-simulators/src/test/resources/invalidDmaapProvider.json index ff6790144..ff6790144 100644 --- a/models-sim/policy-models-simulators/src/test/resources/invalidDmaapParameters.json +++ b/models-sim/policy-models-simulators/src/test/resources/invalidDmaapProvider.json diff --git a/models-sim/policy-models-simulators/src/test/resources/invalidGrpcParameters.json b/models-sim/policy-models-simulators/src/test/resources/invalidGrpcServer.json index 86e425364..86e425364 100644 --- a/models-sim/policy-models-simulators/src/test/resources/invalidGrpcParameters.json +++ b/models-sim/policy-models-simulators/src/test/resources/invalidGrpcServer.json diff --git a/models-sim/policy-models-simulators/src/test/resources/invalidTopicSweep.json b/models-sim/policy-models-simulators/src/test/resources/invalidTopicSweep.json new file mode 100644 index 000000000..11a37d5c4 --- /dev/null +++ b/models-sim/policy-models-simulators/src/test/resources/invalidTopicSweep.json @@ -0,0 +1,10 @@ +{ + "dmaapProvider": { + "name": "DMaaP simulator", + "topicSweepSec":0 + }, + "restServers": [], + "topicSinks": [], + "topicSources": [], + "topicServers": [] +} |