Age | Commit message (Collapse) | Author | Files | Lines |
|
Removing the dummt script since the K8s CSIT is restricted to master branch in ci-management.
Issue-ID: POLICY-4541
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I75c1d15d619342377635d8271a2797e7a0f8c9ef
|
|
Clamp control loop tests in Istanbul are not relevant anymore
Added dummy script to generate result files for k8s CSIT
Issue-ID: POLICY-4541
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I655701c654df9b19bf137e4b35fbe13cce98bd9c
|
|
Issue-ID: POLICY-4471
Change-Id: Ie5adb8cbf3f52187fbcf1fa13c2813033ed0ad6d
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Quote the passowrd for SO
Issue-ID: POLICY-4393
Change-Id: Ie318d5483a92c03d1ebaf73e98c1594efec2220e
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
This commit converts the CSITs from HTTPS to HTTP. It also does some
refactoring and tidying up on the CSIT environment.
Issue-ID: POLICY-4338
Change-Id: I02afa5c7a585470fa0bda521e97bf1cdcf6a95c2
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
The problem with installing the robot framework is also in this release.
Issue-ID: POLICY-4350
Change-Id: I4c2d991eb41ddaa89280fc32b1c0d03c9ab3b0ff
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
The CSITs are all failing due to a problem in the cert generation.
This review disables cert generation and copies in certs as a temporary
fix.
In JIRA POLICY-4338 we are converting the CSITs to use HTTP so that will
be the eventual solution for this issue. See also:
https://gerrit.onap.org/r/c/policy/docker/+/130624
Issue-ID: POLICY-4350
Change-Id: I97dbdcce9919bbc98632174a5bb7afe84c1a8f4c
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
The CSIT scripts do not have their executable flags set, this change
makes the scripts locally executable.
Issue-ID: POLICY-4233
Change-Id: I3865a4122546a7dc79f46349e30bbad23bbb4247
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
The current script assumes that snapshot versions are always available.
However the Linux Foundation has now implemented a policy of deleting
snapshots on no-master branches that are older than a certain age. THis
breaks our CSITs.
THis updated script copes with this by checking if a snapshot is
avaialable and, if the snapshot is not available, the script falls back
to the released version.
This script will be needed on other branches besides master as well.
Issue-ID: POLICY-4233
Change-Id: Ie80756eb1d3abceb31ed3f697f1ebc9643cea51e
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Changed to use "useHttps" instead of "https"
Added config to bind mount for policy participant
Issue-ID: POLICY-3817
Change-Id: I7470ea45ebb769a8781b76422626e13b5eb515bd
Signed-off-by: saul.gill <saul.gill@est.tech>
(cherry picked from commit d6803f7f1551fa2382a61d265388c537bdb76d5d)
|
|
Add HTTP and Kubernetes participant to
policy/docker/csit
Issue-ID: POLICY-3413
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: Id87dca9ba6487b2f12e9d036136ea553d2b67a23
|
|
Adding CSIT test for consolidated healthcheck.
Also, verifying the an external groups file can be mounted to replace
PapDb.json present inside the docker image for database initialization.
Issue-ID: POLICY-3609
Change-Id: Icf2585d9d9df7e820fbddfbd1fe044b5a9e29cb3
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3199
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Iefd75ae810c7b91b8cc37469b1169031346b2c4e
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
Change-Id: I5d090765ff29143f689c6754a7a1ad55dae1c1b4
Issue-ID: POLICY-3524
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Appears the the drools-apps healthcheck server now launches with https
disabled, by default. The CSITs expect it to be enabled, so added a
property to enable it.
Issue-ID: POLICY-3553
Change-Id: Ia10e103d4e3964c3dbf28b7f6db19f6dd6ddb9c1
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Modified the CSIT to only use the first two digits when selecting the
db-migrator version.
Issue-ID: POLICY-3535
Change-Id: Ic3539d87806ec9115fbad5e39498b3215cd25045
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
ONAP does not allow code containing an EPL-1.0 license. To address
this, the offending file was re-cloned, this time from ci-management,
which does not contain the EPL-1.0 license.
Issue-ID: POLICY-3431
Change-Id: Idd973e71beb57d55b7086f52abefd3bc5c5de65d
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3491
Change-Id: I987986da7325a040b80b031ae4e7fbf9776c4c54
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Refactored pap csit test cases to
* remove code duplication
* create methods for rest call
* improve assertions
* make it easy to add new test cases
Issue-ID: POLICY-3525
Change-Id: I60a5a9128ca6e97044d5de13fb14610d721c78d2
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Policy/distribution has been modified to use RestClientParams, thus
the corresponding json was modified to match.
Issue-ID: POLICY-3456
Change-Id: I64b5f4caf2f927b62b8a02f3352d083f06483937
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Adding policy audit api's to pap csit.
However, I see that pap csit file can be refactored
and lot of duplications can be removed.
Will do it as part of next review.
Issue-ID: POLICY-3340
Change-Id: I4334ad957ae70c4bcc9f3aa18d882042ce96d57f
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
The operationshistory10 DB is no longer needed; removed from the CSIT.
Issue-ID: POLICY-3419
Change-Id: Ifcf3022a9b9ca92ad3d4f00402ee4e8b141d40ba
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3326
Change-Id: I116bade6fd8da23363af78e89beb23ee6e73d577
Signed-off-by: Dragosh, Pamela (pd1248) <pd1248@att.com>
|
|
|
|
Added code to the xacml-pdp robot script to check the exit status of
wait_topic, to ensure that it succeeded.
Issue-ID: POLICY-3473
Change-Id: Ie47bb861cd331c42aa5ae4f91c38a259796be842
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
As part of this review, a new policy is executed in APEX-PDP that
interacts with AAI and CDS simulators. At each execution phase, along
with sending a request to AAI/CDS, a log event is also sent to DMaaP
notifying every action taken. This is done using the multiple output
support.
Change-Id: If34df13823196f9ece9b5ce6448b6652507f0b63
Issue-ID: POLICY-3466
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Eliminated the separate topic/feed for policy statistics and replaced it
with a topic/feed for heatbeats, as that will be used for both
heartbeats AND statistics.
Issue-ID: POLICY-3460
Change-Id: Ie81a9c3d263db969a8c14597910f75724c244952
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Added the topic. Also reduced the heartbeat interval so that statistics
will be updated more frequently, reducing the time that some of the
tests take.
Issue-ID: POLICY-3405
Change-Id: I532a89b3e29884cf19f3a070d725280d9d10b637
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Change-Id: Iaeaadca083431a8b8df8043f73146fb31a09f3e0
Issue-ID: POLICY-3410
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
If the truststore already contains a root CA for policy, then the
script should not regenerate a root CA, as it interferes with pods
that are brought up in subsequent runs.
Issue-ID: POLICY-3384
Change-Id: I0c46fd23bd24ffd2add4e2d4914b6198a6f4b18f
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Add CSIT testcases, scripts and a seperate docker-compose file for
integration testing between controlloop components, this involves
integration between Mariadb, Dmaap, ControlLoop-Runtime,
Policy-Participant, Policy-API and DCAE-Participant docker images.
Issue-ID: POLICY-3217
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: Id7cb1451afc4331b4ed1ad1ac6c2528a747eaaa0
|
|
|
|
GitHub complains if you include a private key in a repo. Modified the
CSITs to generate the root CA so that it's private key does not have to
be stored.
Issue-ID: POLICY-3384
Change-Id: I4bebc3e4b0e386047d7f6fbd19150812cb605899
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Changed the container name of message-router to simulator. Also
introduced aliases for aai-sim, so-sim, etc.
Issue-ID: POLICY-3384
Change-Id: Ife8c7c69d2342f256d6bcfb0d6704734472b5554
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Modified the CSITs to use message-router for the simulator name.
Also added a Root CA so that the ssl certificates can be signed.
Removed property file overrides that are no longer needed.
Issue-ID: POLICY-3384
Change-Id: I6f1bc53f192567eeab0e71a64d9eaec814a38dd0
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
The pip3 script generates a warning saying to use "python3 -m pip"
instead. Modified the code as such.
Issue-ID: POLICY-3155
Change-Id: I852583bea88b6d4b969a1aba20e7b9193fa24732
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
- Use local version of the include-raw-integration-install-robotframework.sh script
- correct name of pip python module
Issue-ID: POLICY-3092
Signed-off-by: arkadiusz.adamski <aadamski@est.tech>
Change-Id: Iba43621b3c8aebfa715cee91a75fd6832ccbc2be
|
|
- use python3 and pip3 in scripts
- update robot-framework-http library, so it can use python3
- update selenium2library, so it can use python3
Issue-ID: POLICY-3092
Signed-off-by: arkadiusz.adamski <aadamski@est.tech>
Change-Id: I5a6a4fe43e54366859049e1d43bbce599dacd14e
|
|
Test the csit verify jobs created as part of https://gerrit.onap.org/r/c/ci-management/+/121407
Issue-ID: POLICY-3257
Change-Id: I03bbfc2113c18c704c28270fe9c6720ddbc0e7ef
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
|
|
|
|
Changed the directory name in the test plan comments, now that they've
been moved to docker/csit.
Issue-ID: POLICY-3299
Change-Id: Ie17e01ff68a6d2caca9750736724a6e97a8ac20d
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Fixing the path of the mount path from where csar files will be copied into the container.
Issue-ID: POLICY-3257
Change-Id: Ibea35730439ae757578660d327f0fc26e3ad45a8
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3230
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I89c932753cd236ab1e696004834db430c175f953
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
|
|
Moved the remaining CSITs from the individual policy repos to the
docker repo. The files are unchanged, except for removing trailing
spaces and adding newlines to the end of a few of them. The two
exceptions were the setup.sh scripts for drools-apps and distribution,
in which "/csit" is no longer being appended to the TESTPLANDIR, as
that variable now already includes "/csit".
Issue-ID: POLICY-3299
Change-Id: I4dd381ad7d916f334cfbcbfb541c78db97012dd2
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
In the recent runs, it was found that get statitcs might take few seconds longer after the actual deployment of policies. So, increasing the "max" wait time for the test cases to 1 min. And it won't slow down the tests as the check will be made every 15 sec to verify if the assertions are passing. The moment they pass, it will move on.
Issue-ID: POLICY-3257
Change-Id: Ifb00a7745b054fe490dd66cc680732893ff2b31a
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Decided to move CSIT test source code from the individual repos into
the docker repo. This review modifies the scripts to begin the process,
and includes the CSIT code from xacml-pdp, as the first one to move.
Note: while the xacml-pdp files are new to the docker repo, they are
not actually new, thus their licenses were retained.
Issue-ID: POLICY-3299
Change-Id: I7cce548ceec38c9c1615af883f08eb118e84d132
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
The gerrit mirror is not always accessible behind corporate firewalls,
thus changed the CSITs to use github instead.
Also modified the script to only clone ci-management to /tmp if it
does not already exist.
Issue-ID: POLICY-3179
Change-Id: I9cac98b04e000d9365e05a1f2ca1c328fef14c6c
Signed-off-by: Jim Hahn <jrh3@att.com>
|