aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2019-09-11fix a race condition bug in dfc csityanhuanwang1-10/+0
Change-Id: Ibed69f6a1ac068d7b088ed0367ea5b59e29f933f Signed-off-by: Martin Yan <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-1702
2019-09-09update dfc source to offical productyanhuanwang1-2/+1
Change-Id: I6b75de2b4c5e1c4c9cdf6b5d5f116eba81c6505a Signed-off-by: Martin Yan <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-1702
2019-09-09Merge "CSIT uplift for CBS, generalized DFC, bugfixes, stability, traceability"Daniel Rose6-29/+69
2019-09-09Merge "Updating distribution csar file with policyType as per new model"Daniel Rose2-0/+0
2019-09-09Updating distribution csar file with policyType as per new modela.sreekumar2-0/+0
Change-Id: I261f94ca138e55346b4b2880f0be7b8259c8f1e7 Issue-ID: POLICY-2047 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-09-09Fix policy type json files as per new modelramverma1-211/+201
As per updated model, policy type & data type are represented as Map directly instead of List of Map earlier. Updating the json files to adapt to this change. Issue-ID: POLICY-2047 Change-Id: Id46b6d20f3c1cb727909b0825066e4763120e46a Signed-off-by: ramverma <ram.krishna.verma@est.tech>
2019-09-06CSIT uplift for CBS, generalized DFC, bugfixes, stability, traceabilityTamasBakai6-29/+69
Issue-ID: DCAEGEN2-1719 Change-Id: If5c96a7f205a34f78e50585a7187c5b9a3820023 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
2019-09-02Fix test for clamp-backend and frontend new UIeh552t2-6/+5
Signed-off-by: eh552t <eh552t@intl.att.com> Change-Id: I123876f31dc591184f0986edba4bc9a302779607 Issue-ID: CLAMP-276
2019-08-30Merge "Change policy-distribution csit test cases"Daniel Rose6-0/+219
2019-08-29Change policy-distribution csit test casesa.sreekumar6-0/+219
Change policy-distribution csit test cases to support ToscaPolicyType and ToscaPolicy. Change-Id: Ic6539a2c6f3d2a5b0a4a0b66ce456512d909a320 Issue-ID: POLICY-1893 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-08-29Update tested optf-has image to 1.3.2kaihlavi1-1/+1
Latest optf-has image in master is 1.3.2 and should be used in master's CSIT tests - this is quick fix for making the CSIT relevant, but the image number should be automatically based on master's version.properties instead of being separately hard-coded for CSIT Change-Id: Ie31646f48a084a0265481a89514ee75f7716d44a Issue-ID: OPTFRA-576 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-08-27Delete csit for ocataHaibin Huang9-672/+0
Issue-ID: MULTICLOUD-775 Signed-off-by: Haibin Huang <haibin.huang@intel.com> Change-Id: I29181c746a4691409a2df32a9f6c77d0a56724c6
2019-07-11Merge "Update directory to new scripts/sdc-dcae-d"Gary Wu2-6/+6
2019-07-09Changes to support topic.properties file removal in policy reposa.sreekumar1-1/+1
Change-Id: Ic1e35a7672da4386c22c5a51d5f95c41c50784f0 Issue-ID: POLICY-1744 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-07-03Pull correct docker images for master branchBilal A6-19/+21
Enables Policy CSITs for API, PAP, Distribution, Drools-applications, Apex-PDP and XACML-PDP to pull correct docker images based on the code branch. -------------- Updating the policy model json in apex-pdp csit Changes were made to read the policy model as proper json instead of json formatted string in APEX-PDP. With this fix in place, the policy tosca json file need to be updated with the proper json. Issue-ID: POLICY-1836 Issue-ID: POLICY-1796 Change-Id: I6b99c8ae9cb78dd8ebddc522bc2a7080ec6e5735 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech> Signed-off-by: Bilal A <bilal@research.att.com>
2019-06-28Update directory to new scripts/sdc-dcae-dkaihlavi2-6/+6
- copy docker run scripts to and execute them under the new scripts/sdc-dcae-d instead of scripts/sdc - update info outputs Change-Id: Ie07f91d5e8c4a1ef4e14025fa8bd3cdaeb454b3b Issue-ID: SDC-2365 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-06-26Adjust DCAE-DS CSIT for Jenkins and to masterkaihlavi2-0/+0
- directory structures of DCAE-DS CSIT plans, scripts and tests have been changed to be more compatible with jjb templates to enable working Jenkins jobs - robot tests adjusted to latest changes in robotframework-onap library Change-Id: Id05602a88557267cc7ae77f066877680ae431a7f Issue-ID: SDC-2365 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-06-25Merge "Remove data folder in CSIT teardown"Gary Wu2-9/+7
2019-06-25Merge "Clean up startup script"Gary Wu1-13/+0
2019-06-25Merge "Add initial CSIT case for DCAE-DS"Gary Wu2-2/+70
2019-06-25Merge "Remove obsolete start scripts"Gary Wu2-187/+0
2019-06-25Remove data folder in CSIT teardownkaihlavi2-9/+7
- Remove data folder by force as sudo in kill script - Fix script name output (also in vid's corresponding script) Issue-ID: SDC-2362 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: I91f031c74e7ae05ec4645677ec8c07b34ed28c0b
2019-06-18Add initial CSIT case for DCAE-DSkaihlavi2-2/+70
Add CSIT robot test and structure for DCAE-DS This test case provides initial basic implementation for monitoring configuration service creation and approval procedure - only unauthenticated backend http interfaces are used - distribution of the service is excluded - keyword libraries and templates should be refactored into testsuite repo - no logs are verified on runtime Change-Id: Ied08206fe8567a249c309bcd243e25b153b33da7 Issue-ID: SDC-2365 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-06-17Removing unnecessary mounts in APEX CSITa.sreekumar9-218/+9
In the end to end csit test cases of APEX, currently we are mounting the config files for APEX and PAP. This is not necessary. Change-Id: I10f9ed509e4bb537cc91f145dde34aeb8c0d9b99 Issue-ID: POLICY-1863 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-06-13Add heart beat interval to CSIT PAP configJim Hahn1-0/+1
Only apex CSIT overrides PAP's defaultConfig.json, so only had to add the new parameter to that one file. Issue-ID: POLICY-1846 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Iba15c1db0d03dc42c8f5c058b9bc8e9ff55c42b4
2019-06-07Clean up startup scriptkaihlavi1-13/+0
Issue-ID: SDC-2361 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: I23823478fdc09207a084ebb328c1aa6f13638bdc
2019-06-05Run DB script before starting other containersJim Hahn4-12/+81
The other containers were starting before their user names had been added to the DB. Consequently, they were aborting at start-up. Modified the various setup.sh scripts to run the DB-init script before starting the remaing containers. Also add start_all to start the containers and wait for the ports to start listening, eliminating the need for the "curl" tests in the setup.sh scripts. Also removed version numbers from some yml files. Change-Id: Idd9ff81b3ab4a78926b644f22360c9222afe82d5 Issue-ID: POLICY-1829 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-06-04Remove obsolete start scriptskaihlavi2-187/+0
Issue-ID: SDC-2352 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: Id89ccc01e0e945d69e2eb576b5efead928843535
2019-06-04Remove obsolete files for optf/cmsoJerry Flood2-89/+0
Issue-ID: OPTFRA-517 Change-Id: I34adbe4284c39041c44b70fce9677e9a64f5b3da Signed-off-by: Jerry Flood <jflood@att.com>
2019-05-30Merge "Add temporary kill script for SDC DCAE containers"Gary Wu1-0/+31
2019-05-30Add temporary kill script for SDC DCAE containerskaihlavi1-0/+31
Currently it is possible to start SDC's DCAE-DS docker containers with docker_run.sh (see https://gerrit.onap.org/r/#/c/sdc/+/88549/) but the containers are not killed by corresponding kill_containers_and_remove_dataFolders.sh - this script provides the ability to kill them until image naming and tagging has more complete solution that should render this one obsolete Change-Id: I623db3ace0d4e14b925254bd21528bfa8e00f458 Issue-ID: SDC-2342 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-05-28Merge "Xacml-PDP CSIT tests with DmaaP Simulator"Gary Wu3-0/+118
2019-05-27Correct minor typos in scriptkaihlavi1-5/+4
Issue-ID: SDC-2333 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com> Change-Id: I5d5d44cd8dfcb8d81250af182915c163efb9a576
2019-05-24Xacml-PDP CSIT tests with DmaaP SimulatorMichael Mokry3-0/+118
1. Added test cases for creating policy, deploying policy, and getting a decision for monitoring policies 2. Included statistics check between some tests 3. Modified to use dmaap simulator, policy-pap, and policy-api for end to end tests 5. UPDATE: made changes per Ajith's review 6. Removed most config overrides and changed dmaap to message-router where appropriate Change-Id: Ia9935193f189f249e11f23b2ffe49f87090b7b54 Issue-ID: POLICY-1767 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-05-21Combine similar SDC setup scripts into onekaihlavi2-94/+22
Replace almost identical setup scripts for SDC api and ui tests with one that takes the wanted SDC test suite as an argument Change-Id: Ic48ffa82a41d80da860eb043e3dfb71f55cc08ad Issue-ID: INT-1084 Signed-off-by: kaihlavi <l.kaihlavirt@partner.samsung.com>
2019-05-07Adding end to end CSIT test cases for PDP-Aa.sreekumar11-0/+318
1) Adding test case to do health check of PDP-A. 2) Adding test case for end to end testing - create policy type and policy using Policy API, deploy policy using PAP API and then execute policy in APEX engine. Change-Id: I97b208f4d7c319f993515719795d022ddfc429fa Issue-ID: POLICY-1739 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2019-04-30Restructure CSITs for info and timeoutsjhh3-42/+131
Change-Id: I8a1bf5d44da267e58f26e877fc0eba7189166424 Issue-ID: POLICY-1712 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-26OPTFRA-487 change the api_paste.ini locationShankar Narayanan1-1/+1
Fix the path of the api_paste.ini which was changed as a part of the HTTPS fix in commit: https://gerrit.onap.org/r/#/c/86210/ Change-Id: I07e22cd1fc4c2f4b213d9bff3cd5cf73b754fa85 Signed-off-by: Shankar Narayanan <snarayanan@research.att.com> Issue-ID: OPTFRA-487
2019-04-22Merge "Updated CSIT to reference new repo location"Gary Wu2-4/+4
2019-04-19Flesh out PAP CSITsJim Hahn3-0/+282
This exercises all of the PAP REST APIs, except for the simple policy "deploy" API. Change-Id: I681c4c40f05f6e343a782e764f7f939ecbb31258 Issue-ID: POLICY-1672 Signed-off-by: Jim Hahn <jrh3@att.com>
2019-04-19Updated CSIT to reference new repo locationJerry Flood2-4/+4
Relocated the CSIT tests to support Sonar Job. Issue-ID: OPTFRA-474 Change-Id: I697a0269cfeec0e45364e882e4b165eb9abeeda4 Signed-off-by: Jerry Flood <jflood@att.com>
2019-04-18Finish drools CSIT infrapdragosh6-21/+304
Basic health check for now. Need to have ci-management jobs enabled for this to work on every merge. Cleaning out unused scripts and mock server. Renaming policy engine script so its obvious that is what it is for. Issue-ID: POLICY-1651 Change-Id: I469823795d4a9f5531d150610ba2ed0b75585677 Signed-off-by: pdragosh <pdragosh@research.att.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com> Signed-off-by: pdragosh <pdragosh@research.att.com> Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2019-04-16Updates to DFC CSIT testBjornMagnussonXA2-1/+12
Adaptation of Functional tests due to updated dfc simulators Adaptation of Management tests due to changes in DFC app Removed test for FTPS due to issue with ftps sim cert Issue-ID: DCAEGEN2-1434 Change-Id: Ic92ac4901586cb55164177a8640ba23b60c02f0d Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
2019-04-15DB Connection Setup for API and PAP for CSITBilal A4-0/+124
1) Adds CSIT Test for API 2) Adds a mariadb container setup and configuration for API. 3) Adds a mariadb container setup and configuration for PAP. Change-Id: I9beea4f2445215bc95962ebceb4ec626dd0d5521 Issue-ID: POLICY-1270 Signed-off-by: Bilal A <bilal@research.att.com>
2019-04-11Merge "Change latest in 4.0-STAGING-latest"Gary Wu1-1/+1
2019-04-11Prepare new endpoints for csit/vid internal apimichal.banka1-1/+1
Change-Id: Ib69287eb1c21d30eb39472270c160f4b318c5c12 Issue-ID: VID-399 Signed-off-by: michal.banka <michal.banka@nokia.com>
2019-04-11Change latest in 4.0-STAGING-latesteh552t1-1/+1
Change-Id: I5f5e7b541d897ea3808d64b130422ee99a62ddf7 Signed-off-by: eh552t <eh552t@intl.att.com> Issue-ID: CLAMP-276
2019-04-09Update CSIT job for CMSO DublinJerry Flood2-12/+33
Issue-ID: OPTFRA-472 Change-Id: I80fc67473179ef2aa2d8fe559b5dd513cee7dbe7 Signed-off-by: Jerry Flood <jflood@att.com>
2019-04-09Reworked CSIT for Dublin part1eh552t2-3/+3
Change-Id: I3fd53deb61a8ba1c8f6bc68c60f2122e2e0cfb79 Signed-off-by: eh552t <eh552t@intl.att.com> Issue-ID: CLAMP-276
2019-04-02fix for proxy setuppkaras3-0/+11
Change-Id: Ia0cdc93b30dc8fff08542a1884d72e06cc7f633a Issue-ID: DMAAP-1141 Signed-off-by: piotr.karas <piotr.karas@nokia.com>