Age | Commit message (Collapse) | Author | Files | Lines |
|
policy/common and policy/engine are released.
Issue-ID: POLICY-1189
Change-Id: I9ea1222fc3330493595cd9545a2728d48b9e044e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Remove these license in zip file from the Artifacts/Deployments
directory which will NOT impact the test
reduce the size of csar file by using zip -9 compression
Change-Id: I234da7c13f0ce00fc2f1edbc16aac279bf90752d
Issue-ID: POLICY-1185
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
Remove these license from the Artifacts/Information directory
which will NOT impact the test
Change-Id: I3280ca902616248313fe357cfa0cda9bc254b178
Issue-ID: POLICY-1185
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
the schema format of HPA requirement has been modified
so that the parse needs update too based on the wiki:
https://wiki.onap.org/display/DW/Specifying+HPA+
Capability+Requirements+using+TOSCA-based+VNF+Descriptors
Change-Id: I48b39797e70d686ed0b9b2e7001b9a00068e76fd
Issue-ID: POLICY-1160
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
|
|
Change-Id: Iebc19d2e734ead405ac398a1011dcd42990b20b8
Issue-ID: POLICY-1147
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
|
|
SdcToscaParserFactory is looking file file type of .yaml .yml .zip or .csar
As no suffix was provided, .tmp was being appended, hence the process was
failing to parse the csar file.
Change-Id: Ia87bb1e2402f94e44f6cbf3e28beb2adea52db4d
Issue-ID: POLICY-1146
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
|
|
* SdcReceptionHandler in distribution tries to initialize & start the
SDC Client when distribution framework comes up. If by any chance the
SDC service is not up then currently the SdcReceptionHandler throws an
exception to the distribution activator and the distribution framework
goes down. And the health check fails.
* This review fixes it by adding a retry mechanism in
SdcReceptionHandler for all lifecycle methods of SdcClient (init, start,
stop). After failure the same operation is retried again with some
delay. The delay is passed as parameter from configuration json file.
The minimum default value for the delay is kept as 30 seconds.
* Adding SdcClientHandler timer task for performing the retries
asynchronously.
Change-Id: Ibb6d936fcf4872c82f87e2cd04a00583b81c92ff
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
* As per jacoco, the try-with-resources coverage issue is fixed in 0.8.0
release - https://www.jacoco.org/jacoco/trunk/doc/changes.html
* Adding openpojo test for all the models in distribution-model
* Removed jacoco version from distribution pom as oparent 1.2.1 already
comes with jacoco 0.8.2
Change-Id: I55e2891a0dad1f10113730b46f10d760a883bea6
Issue-ID: POLICY-922
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
Change-Id: I6bcb6f6af1020ceb22dd92d6633717d2a183d5b8
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
Change-Id: I42e568cab649da74e2a179fe487c32feec9c88fa
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
Changed decoder for optimization policies to generate instance of
OptimizationPolicy (instead of PdpxPolicy) as expected by the forwarder.
Without this change there is a mismatch between the decoder and the
forwarder.
Added parameters for configuring the static elements of the optimization
policies and setting of these elements.
Issue-ID: POLICY-927
Change-Id: Ib91a905dc89eed13622fb88e4dd19b3cb9f62c75
Signed-off-by: mmis <michael.morris@ericsson.com>
|
|
|
|
* Add hugePage feature parse
* Add SRIOV feature parse
* Add pciePassthrough feature parse
* Add more test cases and resources
Change-Id: Ib45515a26e3fdac742a631b3a13d739fd1784d2f
Issue-ID: POLICY-927
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
Change-Id: I20c1246efc3ce0ad6d874e6a0b5c8230c96b9425
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
|
|
Change-Id: I93c77f929217c185c422fc8f16e9ac2fefe0fd42
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
* Adding statistics endpoint in DistributionRestController
* Adding DistributionStatisticsManager to hold all stats.
* Adding StatisticsReport class to represent distribution stats report.
* Updating stats at each step in SdcReceptionHandler.
* Adding test cases for all code changes.
Change-Id: I0b0f97aecc64b18314367fdff6d3ca7bee06efc7
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
* Adding decoder configuration parameters infrastructure to support
plugin based architecture. Adding a new policy decoder after this will be just
creating a new decoder class and its corresponding parameter class.
* Adding a new decoder which extracts policy file from given csar. It is
written in a generic way to extract file for any pdp like apex, drools.
* Adding configuration parameters for the new decoder. The policy file name and
policy type is passed as parameter to the decoder.
* Fixing few broken package declaration in pdpx decoder tests.
* Adding test cases for all code changes.
Change-Id: I95e68cebce0f9747ca63b090f9b9116ce8836939
Issue-ID: POLICY-1101
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
|
|
* Update sdc tosca version to 1.4.1
* Define the objects to represents the policy
used by OOF/Mutlicloud/AAI etc
* Integration into the distribution framework
to update PdpxPolicy and add new File
PolicyDecoderCsarPdpx to do decoder from CSAR
* Add two Test case including 2 VNFs, each VNF
maps to 1 policy, so to generate 2 polices
* use @SerializedName make the variable name
different with that in the out json field
Change-Id: Icc7175082063db8a245bbe576085cdf5a4b51adc
Issue-ID: POLICY-927
Signed-off-by: liboNet <libo.zhu@intel.com>
|
|
* 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>
|
|
Dependency is unused and so can be removed
Change-Id: Ib9036e90b1851210f39b627c20fb90c5c88e7e1a
Issue-ID: POLICY-926
Signed-off-by: mmis <michael.morris@ericsson.com>
|
|
* 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>
|
|
|
|
Change-Id: I3ec5c73c54145b1ba9f637eaa95c843e25f46a10
Issue-ID: POLICY-1035
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
* 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>
|
|
|
|
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>
|
|
Change-Id: I45f28cbce8defead5e1f43ed81fa5ea6a2b2208b
Issue-ID: POLICY-974
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
|
|
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>
|
|
|
|
* 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>
|
|
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>
|
|
* 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>
|
|
* 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>
|
|
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>
|
|
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>
|