Initial moduel structure for SDC handling 57/59357/5
authorliboNet <libo.zhu@intel.com>
Wed, 8 Aug 2018 00:08:10 +0000 (08:08 +0800)
committerliboNet <libo.zhu@intel.com>
Mon, 13 Aug 2018 18:22:59 +0000 (02:22 +0800)
commit6261a6058cba8f5c0da0be36067ce1c6223c5ffc
tree4b267709503a25db7a5e26bc2a5f99dd5bcdd1a5
parentf85f63f52d38ca962fc0e68eae184dd7018dc47b
Initial moduel structure for SDC handling

This submission defines the initial module structure for
this handling and add the IConfiguration implementation and
test code, use the json format as the configuration.
rename the class name to sensible one with PSSD prefix.
remove static variable to make it possible for more than one
subscription to SDC.
improve the validate func to validate each mandatory parameters
and check the int parameter's value

Change-Id: I3106ad9d4535b1251eae064e803805b92378f6f1
Issue-ID: POLICY-956
Signed-off-by: liboNet <libo.zhu@intel.com>
plugins/reception-plugins/pom.xml
plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/PSSDConfiguration.java [new file with mode: 0644]
plugins/reception-plugins/src/main/java/org/onap/policy/distribution/reception/handling/sdc/PSSDConfigurationParametersGroup.java [new file with mode: 0644]
plugins/reception-plugins/src/test/java/org/onap/policy/distribution/reception/handling/sdc/PSSDConfigurationTest.java [new file with mode: 0644]
plugins/reception-plugins/src/test/resources/handling-sdc.json [new file with mode: 0644]
plugins/reception-plugins/src/test/resources/handling-sdcInvalid.json [new file with mode: 0644]