Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
Modified the docker files to use the newer onap docker base image.
Issue-ID: POLICY-3390
Change-Id: Ia9b57d1909917225b22eea5920f91ad193655911
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
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 base image name is not configurable for Policy builds. This change
makes the base image name configurable so it can be reconfigured if
needs be.
Issue-ID: POLICY-2971
Change-Id: I8ba39aa109c5b4ddb516c27f65bf20dc1020d220
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
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>
|
|
Couldn't figure out a way to remove the jre, but was able to install the
jdk over top of it.
Issue-ID: POLICY-3134
Change-Id: I6096ff765500977f58449800192bbf2b53848efa
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Added code to the CSITs to generate a self-signed certificate, which can
then be mounted over the policy-keystore of each docker image when it is
launched.
Converted xacml's API params to BusTopicParams.
Issue-ID: POLICY-3143
Change-Id: Ic1c25a7f29d87583b81515fd2caf72ba7c44924c
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
refactor temp dir mount for csar distribution
Issue-ID: POLICY-2895
Change-Id: If5eda9b378f20766285346a6f5c9812d8623fb71
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
Issue-ID: POLICY-3105
Change-Id: Ieabed46bee9f553aaf75445327c384f7ed3e9fb0
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
there is no bash in container
hence need to change to sh
Issue-ID: POLICY-2895
Change-Id: I5b5ffb028e478a93e09e9ed6926c6478da15e0ef
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
those three scripts appear to use in
drools and xacml. would suggest to move
to docker repo for general purpose
Issue-ID: POLICY-2895
Change-Id: Ib292f72a0df1bb45db0a9fc6dd25b3f9e172740f
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
Issue-ID: POLICY-3028
Change-Id: I5ab36eb2d51acef48bf56a4fe62b63b1be1d86b3
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3088
Change-Id: Ie019d5eab6a7ec087ad689c50482dabb317010a9
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3088
Change-Id: I122845631b5da4e84441ed2bc1c37fabf100ea1f
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3088
Change-Id: I77ad5fbf2bd3fa08ce68fbce7ae40a885751d08d
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Update the configuration file.
Issue-ID: POLICY-3071
Change-Id: Ib164dcc8d8b4f761d4e8a9e14555ac1ae43b7f95
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
OOM has moved to mariaDB 10.5.8, so upgraded the version in the CSITs to
match.
Issue-ID: POLICY-3005
Change-Id: Ia4473f8c17510a2491e442689dfa99c55166fb08
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
on integration-project-robot in integration/integration-macros.yaml
it sets output-path: 'csit/archives'
policy script has to fit this setting
Issue-ID: POLICY-2895
Change-Id: Ibc6b7fb8da03bba53e82ab5bddf9a4b37a02c935
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
the project-csit jjb template is using
run-project-csit.sh by default.
also change SCRIPTS env to fit the right path
for jenkins build.
Issue-ID: POLICY-2895
Change-Id: Iec622cde4d65470ce966589082c086e6f668cb66
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
part of moving csit to project level
scripts shares with all applications repo reside in
docker repo.
all docker-compose relate volume files reside in
docker repo.
align with new JJB template
Issue-ID: POLICY-2895
Change-Id: I8fd97c6932e41779b01c1c941564763415c83f16
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
bump up to next version
Issue-ID: POLICY-2917
Change-Id: I10c70240478ac9b7b633219c65d033823fde1d7c
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
release 2.2.0 jdk and jre base
image
Issue-ID: POLICY-2917
Change-Id: Icb7021e3d8810e0b5a71862c86878faf132d903b
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
1, use onap/integration-java11 as a base for JRE
2, sym-link to the original JAVA_HOME to ensure
all startup scripts worked
Issue-ID: POLICY-2917
Change-Id: I2c8333f227f8ae2076a6c784cf344db8fb59345b
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
change to /bin/sh for policy user
Issue-ID: POLICY-2847
Change-Id: Ie2c88b3e15ab4ca2bf5e6d928f0f9c40c0688c4b
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
this gerrit would be the second step
to not to use any GPL-3.0 and plus license
Issue-ID: POLICY-2847
Change-Id: Idd299ddb6d69bf8ad11a8df7919331062837a510
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
this gerrit would be the second step
to not to use any GPL-3.0 and plus license
Issue-ID: POLICY-2847
Change-Id: I637b8db2fd39a1f0864c8320b5744fc99350108c
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
Bumping minor version now that guilin branch has been created.
Also repointed to snapshot versions for dependencies.
Issue-ID: POLICY-2875
Change-Id: I9e84ca07f8d932d2e6fb80a1746eb26878bb7857
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
This review updates the config file for the simulator in order to fix
below 2 issues:
1) Too much logs due to SSL related errors causing POD to be evicted
every 30minutes.
2) Invalid Parameters causing the container to crash
(RestServerParameters validation in dmaapProvider making it mandatory to
add host and port)
Change-Id: I5cd1b44b0a142627071dccd93b6d3e40400db711
Issue-ID: POLICY-2828
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Issue-ID: POLICY-2828
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: Ic5e94edb2bc76067d5cde03dae2670dc6cf99a0e
|
|
Issue-ID: POLICY-2819
Change-Id: I2383dd7e2cc7d0262ea27b9a03152216b006389e
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-2789
Change-Id: I020252f5ca31d79915740a418eccbc194e868f46
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Updated the docker images to alpine 3.12.0 so that a newer version of
openjdk11 would be pulled in.
Modified the jdk image to download maven via curl rather than installing
it via apk so-as to prevent it from installing java8 as a dependency.
Issue-ID: POLICY-2819
Change-Id: Iba4e2448b826ce6abb5df506228c99b9a3676495
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
|
|
Previously forgot to "stage-release" the docker images. Having done
that, now need to update the container.yaml to match it.
Issue-ID: POLICY-2789
Change-Id: Id0d5c061ae8f49ac17d796594647c5426157466f
Signed-off-by: Jim Hahn <jrh3@att.com>
|