diff options
author | Jim Hahn <jrh3@att.com> | 2020-10-06 13:50:36 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2020-10-06 14:26:11 -0400 |
commit | e54ce7a34fe5ae1425336aa461d70eee9386d90a (patch) | |
tree | 1dbe13fef3df207df1c99a31f240eddbe4d9d1c7 /models-sim/policy-models-simulators/src/test/resources/invalidDmaapName.json | |
parent | 9591e2dd26eacd9fd44ac72c325b83ca3d3534f9 (diff) |
Don't always validate restServerParameters
Restored original validation code to DmaapSimParameterGroup so it works
as it originally worked (i.e., required "restServerParameters").
However, modified SimulatorParameters to validate the relevant fields
directly, rather than relying on DmaapSimParameterGroup.validate(), thus
eliminating all checks on "restServerParameters" when used within
SimulatorParameters.
Issue-ID: POLICY-2858
Change-Id: I9a09431ce3056a874bf2dba1c5bd6c418f37f69b
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-sim/policy-models-simulators/src/test/resources/invalidDmaapName.json')
-rw-r--r-- | models-sim/policy-models-simulators/src/test/resources/invalidDmaapName.json | 10 |
1 files changed, 10 insertions, 0 deletions
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": [] +} |