Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
* Remove unused import
* Fix more than 1 statements on one line
* Divide validate into three parts to Fix >10 cyclomatic Complexity
Change-Id: I9c89c4854de31fa02a9052055662f4b74d12fe10
Issue-ID: POLICY-956
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
* Adding health check REST endpoint to distribution service.
* Adding isAlive field to DistributionActivator to fetch the health
status.
* Adding parameter group for rest server parameters.
* Adding DistributionRestController for hosting all the rest endpoints
in distribution service.
* Adding DistributionRestServer to manage lifecycle of distribution rest server.
* Adding ParameterValidationUtils utility class for common validations.
Plan is to move this class to policy-common for wider use later.
* Adding test cases for all new code added.
* Refering common classes from policy/common
Change-Id: I246d57133ed1f0c3548bcdee173d7b64fb368abc
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
* Integrate the PSSDConfiguration to distribution config parameter.
* Moved related PSSDConfigurationParameterGroup classes from "handling"
to "parameters" to avoid specified sdc dependency.
* Modify all the test case since the distribution config parameter
has been changed, update CommonTestData to wrap it.
* Add neccessnary SDC handling exceptions which to be used for
SDC handler integration.
* update the PSSDCOnfiguraitonParameterGroup to add UUID to the setName
function to generate unique name for each instance.
* use builder to create PSSDConfigurationParametersGroup instead of using
many parameters
Change-Id: I3c78bc2a51ebc84761bc9458096d6ffa18070b47
Issue-ID: POLICY-956
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
* Code changes for terminating the handlers started by
distribution activator.
* More test cases to increase coverage.
* Fixes for checkstyle issues.
* Fixes for sonar issues.
Change-Id: I3299317c83fa643ac1d0ba1105ac1a932c0a83f6
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
The jacoco plugin settings in oparent is for creating coverage report
for each sub-module sepeartely. That leads to coverage missing in the
report if the test cases & actual classes are in different sub-module.
Overiding the setting in distribution to create a consolidated report of
all sub-modules in one report.
Change-Id: Idf4acd07dbb3694d7bff3c1d94a31a322d7027c5
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
* Code changes for initializing handlers & related plugins from
configuration parameter JSON file.
* Using common parameter service for refering parameters at multiple
places.
* Moved related parameters classes from "main" to "reception" to avoid maven
cyclic dependency errors.
* Added test cases for new code chnages. The test coverage is around
95%.
* Changed logging from slf4j to common-logging.
Change-Id: Ifb77cfaa6e6472d43295a7c41a49ddd657c0e2c2
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
|
|
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>
|
|
* Adding main configuration parameters to distribution component. The
intention is to define a top level parameter group that should be
capable of handling all the parameters needed for the framework.
* Added validation to check the actuall class by loading it from
classpath.
* Added Test Cases for configuration parameter. The coverage of
the package is 95.3 %.
Change-Id: I87c4c34d9df2c9b5a0ab75bef2bbe0d25e38747b
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
Created interfaces and some skeletal implementations. Implememtations to
be further developed in subsequent stories
Change-Id: If55be78e34c8783451cb9aa755a563bc0850e569
Issue-ID: POLICY-1029
Signed-off-by: mmis <michael.morris@ericsson.com>
|
|
Add startup code, command line parsing, service
start, and parameter handling for the policy distribution service.
Issue-ID: POLICY-922
Change-Id: Ie664aba6541304cf9b635541e9688c681b24952d
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
This submission defines the initial module strucutre for the
distribution component in the ONAP Policy Framework. The
structure is documented here:
https://wiki.onap.org/display/DW/Policy+Platform+-+SDC+Service+Distribution+Software+Architecture
Change-Id: I0adbffbcd598250cb9a0b8ce07806e564bf83a85
Issue-ID: POLICY-922
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
|
|
Eclipse generates a warning that the version is duplicated.
Issue-ID: POLICY-871
Change-Id: Icab683ec575c564e019bd3042ade17fe6ece2b2e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Issue-ID: POLICY-871
Change-Id: Ic30f82072d4ba8a9d2d08fcd113cf143cc8d4ef8
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Point to policy/parent and correct version.
Issue-ID: POLICY-871
Change-Id: Ie57a55b3856a9232ed8b83c059bfdc01fd4c9d79
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Add .gitreview, .gitignore, README and License
Change-Id: I0cdbcd9191cbe399d0274d1a04c5f6ef4211567c
Issue-ID: POLICY-771
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information
Change-Id: Iff828fcae59cc7b1b170c3a7700df4ce911de406
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
|
|
|