summary | 
shortlog | log | 
commit | 
commitdiff | 
review | 
tree
first ⋅ prev ⋅ next
 
ramverma [Tue, 11 Sep 2018 11:55:27 +0000 (12:55 +0100)]
 
Adding policy forwarder for apex-pdp
* Adding policy forwarder for apex-pdp
* Adding ApexPdpPolicy to hold policies related to apex-pdp
* Adding forwarder parameter for configuring apex-pdp forwarder
* Adding test cases for all code changes.
Change-Id: Ic1cb9bfc11b2b95321ea2d81882c588b025d33fb
Issue-ID: POLICY-1101
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
mmis [Wed, 12 Sep 2018 08:49:04 +0000 (09:49 +0100)]
 
Removed thoughtworks web-stub dependency
Dependency is unused and so can be removed
Change-Id: Ib9036e90b1851210f39b627c20fb90c5c88e7e1a
Issue-ID: POLICY-926
Signed-off-by: mmis <michael.morris@ericsson.com>
ramverma [Tue, 11 Sep 2018 11:38:03 +0000 (12:38 +0100)]
 
Fix all sonar issues in distribution
* Fixing all sonar issues in distribution
* Adding more test cases to improve code coverage
Change-Id: I296f96b66046e25c3c462632091f40565ff75478
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Pamela Dragosh [Mon, 10 Sep 2018 13:10:41 +0000 (13:10 +0000)]
 
Merge "Adding code for sending distribution status to sdc"
ramverma [Sun, 9 Sep 2018 13:24:10 +0000 (14:24 +0100)]
 
Fixing sonar bugs in distribution
Change-Id: I3ec5c73c54145b1ba9f637eaa95c843e25f46a10
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
ramverma [Fri, 7 Sep 2018 20:15:51 +0000 (21:15 +0100)]
 
Adding code for sending distribution status to sdc
* Adding implementation of IDistributionStatusMessage &
IComponentDoneStatusMessage interfaces of SDC.
* Adding builder for distribution status classes.
* Adding code changes in SdcReceptionHandler to send
download/deployment/component status to SDC at various stages of
handling notification.
* Adding test cases for all new code.
Change-Id: I27c9ed373015d728f1ed02528e2ba2a638952bdf
Issue-ID: POLICY-956
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Pamela Dragosh [Sat, 8 Sep 2018 13:27:27 +0000 (13:27 +0000)]
 
Merge "Parameter Group fields must have getters"
liamfallon [Fri, 7 Sep 2018 12:45:52 +0000 (13:45 +0100)]
 
Parameter Group fields must have getters
Parameter handling is changed so that all fields
must have a getter following normal naming conventions.
This change brings that in.
Issue-ID: POLICY-1095
Change-Id: Idc61960347a67c50f33fc272dcd00ceca7553d95
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
ramverma [Wed, 5 Sep 2018 16:19:10 +0000 (17:19 +0100)]
 
Adding code for handling notifications from SDC
Change-Id: I45f28cbce8defead5e1f43ed81fa5ea6a2b2208b
Issue-ID: POLICY-974
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Pamela Dragosh [Thu, 6 Sep 2018 15:07:44 +0000 (11:07 -0400)]
 
Fix oparent version reference
Ensuring we are always using the same oparent version
that is declared in policy/parent.
As part of the work we are doing for security and
critical issues.
Change-Id: Idc6fdd0f613f1fb2ae4bb3c758847884fa4758f6
Issue-ID: POLICY-1059
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
mmis [Wed, 5 Sep 2018 16:12:03 +0000 (17:12 +0100)]
 
Refactored reception handler parameter handling
Refactored parameter handling for configuration of reception handlers as
the previous implementation does not align with the plugin architecture
(.e. plugin specific parameters being handled in core code)
Issue-ID: POLICY-1094
Change-Id: I31a9fc7f712ca43f0f69c42a6d99fa481b02cd4b
Signed-off-by: mmis <michael.morris@ericsson.com>
mmis [Wed, 5 Sep 2018 09:35:44 +0000 (10:35 +0100)]
 
Generate docker image for policy distribution
Added generation of tarball of policy distribution jars and generation of
docker image using the tarball
Issue-ID: POLICY-923
Change-Id: I9e38143fee864b765fbfd567c7e52bc7b0be2c9a
Signed-off-by: mmis <michael.morris@ericsson.com>
Pamela Dragosh [Tue, 4 Sep 2018 12:06:45 +0000 (12:06 +0000)]
 
Merge "Adding code for managing life cycle of SDC Client"
Pamela Dragosh [Tue, 4 Sep 2018 11:57:18 +0000 (11:57 +0000)]
 
Merge "Set Activator alive to false in terminate"
ramverma [Fri, 31 Aug 2018 16:16:01 +0000 (17:16 +0100)]
 
Adding code for managing life cycle of SDC Client
* Adding init/start/stop methods in SDCReceptionHandler for managing lifecycle of SDC Client.
* Adding a handler status enum to hold all the possible status values.
* Adding test cases to cover code changes fully.
Change-Id: Ib6f370485ff330538bfada6030c592629ed3fd1c
Issue-ID: POLICY-956
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
krishnajinka [Sun, 2 Sep 2018 14:12:33 +0000 (23:12 +0900)]
 
Set Activator alive to false in terminate
During terminate the alive status should be set
to false instead of true
Adding test case to cover the scenario
Issue-ID: POLICY-1017
Change-Id: I5c1d13172902cc75da8d0819e6e107b4e8d1b246
Signed-off-by: krisjinka <kris.jinka@samsung.com>
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
mmis [Mon, 27 Aug 2018 22:29:24 +0000 (23:29 +0100)]
 
Create code infrastructure for policy forwarding
Added sending of polices from the policy forwarder to the xacml PDP and
added handling of parameters for configuring the policy forwarders
Issue-ID: POLICY-926
Change-Id: I26effe70769f7edc765470a1a9ad40ed9faad82d
Signed-off-by: mmis <michael.morris@ericsson.com>
liamfallon [Wed, 29 Aug 2018 15:20:52 +0000 (16:20 +0100)]
 
Parameter Service Interface Changes
Changes to distribution due to changes to parameter
services, mainly addition of setName() to parameter service
interface and correct handling of empty parameters
Change-Id: I9523da6461874241d220f0feac61419ef6ebbb9d
Issue-ID: POLICY-1035
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
ramverma [Mon, 27 Aug 2018 16:31:03 +0000 (17:31 +0100)]
 
Removing plugin dependency from distribution main
* Removing plugin dependency from main. Ideally main should not be
dependent on plugins.
* Creating dummy handler, decoder, forwarder classes for test cases in
main.
* Combined few json test files.
* Added more test cases.
Change-Id: Id75e21d5d403febd9ac2b059661e17663d638dc2
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
ramverma [Thu, 23 Aug 2018 12:50:31 +0000 (13:50 +0100)]
 
Fix sonar and checkstyle issues in distribution
* Fixing all check style issues.
* Fixing all sonar issues.
* Adding maven check style plugin to fail at warning level.
Change-Id: I791b8feef39a3a0c3e1e250efea7b6e78208bf07
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
Pamela Dragosh [Wed, 22 Aug 2018 14:48:53 +0000 (14:48 +0000)]
 
Merge "Adding health check endpoint to distribution"
liboNet [Thu, 23 Aug 2018 02:43:00 +0000 (10:43 +0800)]
 
Fix sonar code coverage issue
* 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>
ramverma [Fri, 17 Aug 2018 19:38:03 +0000 (20:38 +0100)]
 
Adding health check endpoint to distribution
* 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>
liboNet [Fri, 17 Aug 2018 19:15:59 +0000 (03:15 +0800)]
 
integrate PSSDConfiguration to distribution
* 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>
ramverma [Thu, 16 Aug 2018 15:43:20 +0000 (16:43 +0100)]
 
Adding termination code changes for distribution
* 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>
ramverma [Wed, 15 Aug 2018 20:28:42 +0000 (21:28 +0100)]
 
Fix sonar code coverage issue in distribution
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>
ramverma [Mon, 13 Aug 2018 16:19:09 +0000 (17:19 +0100)]
 
Adding code for bootstrapping policy distribution
* 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>
Pamela Dragosh [Mon, 13 Aug 2018 17:38:46 +0000 (17:38 +0000)]
 
Merge "Initial moduel structure for SDC handling"
liboNet [Wed, 8 Aug 2018 00:08:10 +0000 (08:08 +0800)]
 
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>
ramverma [Wed, 8 Aug 2018 22:17:37 +0000 (23:17 +0100)]
 
Adding configuration parameters for distribution
* 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>
mmis [Thu, 2 Aug 2018 08:45:44 +0000 (09:45 +0100)]
 
Create interfaces for Policy Distribution
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>
liamfallon [Mon, 30 Jul 2018 15:58:54 +0000 (16:58 +0100)]
 
Add start and parameter handling
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>
liamfallon [Thu, 19 Jul 2018 13:27:17 +0000 (14:27 +0100)]
 
Initial module structure for Policy Distribution
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>
Pamela Dragosh [Wed, 27 Jun 2018 12:08:47 +0000 (08:08 -0400)]
 
Remove warning for version
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>
Pamela Dragosh [Wed, 30 May 2018 12:55:45 +0000 (08:55 -0400)]
 
Fixing artifactId for consistency
Issue-ID: POLICY-871
Change-Id: Ic30f82072d4ba8a9d2d08fcd113cf143cc8d4ef8
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Fri, 25 May 2018 13:22:38 +0000 (09:22 -0400)]
 
Setup policy/repository pom.xml
Point to policy/parent and correct version.
Issue-ID: POLICY-871
Change-Id: Ie57a55b3856a9232ed8b83c059bfdc01fd4c9d79
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 1 May 2018 12:39:37 +0000 (08:39 -0400)]
 
Initialize repo
Add .gitreview, .gitignore, README and License
Change-Id: I0cdbcd9191cbe399d0274d1a04c5f6ef4211567c
Issue-ID: POLICY-771
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Jessica Wagantall [Tue, 1 May 2018 03:07:55 +0000 (20:07 -0700)]
 
Add INFO.yaml file
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>
Jessica Wagantall [Tue, 1 May 2018 02:01:17 +0000 (02:01 +0000)]
 
Initial empty repository