aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2021-01-14fix drools-apps csit failureTaka Cho1-2/+2
bash package has been removed found a related bash script is the cause Issue-ID: POLICY-2847 Change-Id: Id4940324d939adea9135ae6f00d53d38ec05589c Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-12-18Remove ccsdk CSIT (moved to project)Lasse Kaihlavirta1-30/+0
- ccsdk's healthcheck CSIT has been moved under ccsdk/distribution repository and all new test case development should be done there, so removing this to avoid confusion Issue-ID: CCSDK-3020 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: Icddd4d3e4f5c040b3492be877112825040860713
2020-12-10remove bash to ashTaka Cho2-13/+12
removal any GPL-3.0 and plus license Issue-ID: POLICY-2847 Change-Id: Ia79a1113073d596d92d78d72ce561f56be78434f Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-11-12Work around docker rate limit in CSITsJim Hahn1-1/+1
CSITs are failing regularly due to download rate limits that were recently introduced on dockerhub. Modified the yaml to download mariadb from nexus3 instead of dockerhub. Issue-ID: POLICY-2895 Change-Id: I554a230d11533245a4fe987a2ac809ffc69affc7 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-29Merge "[OOF] Add CSIT for NSI/NSSI selection"Morgan Richomme3-10/+5
2020-10-27[OOF] Add CSIT for NSI/NSSI selectionkrishnaa963-10/+5
HAS Image version updated to 2.1.2 Issue-ID: OPTFRA-865 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: I5cb8d62d1f7a280bcf3f5efa6b2d333909d9daed
2020-10-26Fix CCSDK healthcheck CSITLasse Kaihlavirta2-20/+30
- update tested images to version 1.1-STAGING-latest - fix and improve readiness checks - reduce timeouts significantly - fail setup (and the whole test suite) if readiness check never succeeds - move health_check.sh to proper place under csit/scripts dir and remove unnecessary script1.sh Issue-ID: CCSDK-2850, CCSDK-2851 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: Ia76b6e98b47888faf043897eb0f3af0ef7ba5800
2020-10-07Make stand-alone Policy environmentJim Hahn39-1914/+370
This is a first cut at making it possible to easily run Policy components within a stand-alone environment. Made the following changes: - enhanced wait_for_port.sh to accept a list of hosts/ports - enhanced wait_for_port.sh to accept an optional command to execute when the wait completes - consolidated all of the yml files into a single file - removed "extra" services from the yml so that a component and its dependents can be brought up in a single invocation - modified the component setup.sh With these changes, a developer can clone the csit repo, run detmVers.sh to set the docker image version env variables, and then bring up a component (and its dependents) using: docker-compose -f scripts/policy/docker-compose-all.yml up --detach <component> Note: this does not preload or deploy any policies; that must be done manually via curl. Modified to use new simulator docker image. Also fixed drools-apps CSIT broken due to disabling frankfurt controller. Also removed operational.Apex policy. The csar file used in policy-distribution test is also updated to reflect this change. Issue-ID: POLICY-2742 Change-Id: I412dbd5db9219ad2cdece9693f0b4b9fe7b2eb69 Signed-off-by: Jim Hahn <jrh3@att.com> Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-09-30Fixing CSIT tests for vnfsdk-refrepo and vnfsdk-marketplace.Bartosz Gardziejewski1-0/+16
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: I75e2181d2bb1c70c80ab6f4f51eb8190bec7faa7 Issue-ID: VNFSDK-659
2020-09-23Merge "Adding basic E2E test for workflow designer"Morgan Richomme5-6/+1381
2020-09-17Fix drools-apps master csitRam Krishna Verma1-1/+1
Base64 encoding of db passwrod has been removed from policy components. Hence, updating the custom pap config used for csit testing of drools-apps. Issue-ID: POLICY-2550 Change-Id: I159e3c81d6c8f7485037f1fc71a82249bfb393b7 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-09-14CSIT Policy ManagementBjornMagnussonXA1-29/+0
CSIT test case using FTC1 and applicable ONAP images Change-Id: I7d3e382644f1b2e1de320931e24068976515cd4f Issue-ID: CCSDK-2700 Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech> Change-Id: I0571b3eb857b0347963af2b982a7de79f0ea78da
2020-09-02Use models-examples in CSITsJim Hahn1-1/+11
Replaced tosca policies found in the test "data" directory with policies from models-examples. Also added the dmaap simulator to the pap CSIT to prevent the error log from filling with dmaap errors while trying to debug the CSIT. Issue-ID: POLICY-2813 Change-Id: I6bccffa41acd0fda0b945fe8e3cd6badde1ac4c1 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-08-31Merge "remove user to avoid permisson issue"Morgan Richomme1-2/+1
2020-08-28Merge "Update DFC csits"Krzysztof Kuzmicki1-0/+2
2020-08-26remove user to avoid permisson issueTaka Cho1-2/+1
after migrating to alpine, found permission issue on user:policy. Issue-ID: POLICY-2787 Change-Id: If78eed8771b93dd60dcca00d84e37391d916dc17 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-08-26Update DFC csitsRemigiusz Janeczek1-0/+2
Tests with DFC require adjustments after updating DFC with the latest DCAE SDK Issue-ID: DCAEGEN2-2267 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: Icccefebc4b5bdc122220c3473aa0ffcc8e33784c
2020-08-18Add CSIT for son-handlerNiranjana7-0/+210
Issue-ID: DCAEGEN2-1433 Signed-off-by: Niranjana <niranjana.y60@wipro.com> Change-Id: Id7ea296ebef70964f5e8b751969595320b49d00a
2020-08-07PLaceholder for CSITmaximesson1-0/+29
Change-Id: I7f0ef4ed815c39abaf1c231cfba3c0dad226094e Issue-ID: CCSDK-2491 Signed-off-by: maximesson <maxime.bonneau@est.tech>
2020-07-30Merge "[SDNC-Netconf-TLS] Update SDNC CSIT"Bartek Grzybowski1-1/+1
2020-07-29Add sftp strict host key checking to DFC testsRemigiusz Janeczek2-18/+39
Issue-ID: DCAEGEN2-2219 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I77438c7215bc80c65080f7c773fb9401edef6e79
2020-07-24[SDNC-Netconf-TLS] Update SDNC CSITajay_dp0011-1/+1
-Updated Netconf-Pnp-Sim image version -Code update for failing CSIT tests Issue-ID: INT-1655 Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech> Change-Id: I593cc225730bfa7061448c3a47e458dfa41dc3ed
2020-07-24Enable Datafile Collector FTPS testsRemigiusz Janeczek2-0/+3
Refactor tests to decrease repetition of same code Issue-ID: DCAEGEN2-2367 Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com> Change-Id: I0c6a8cdd8ebf2fd2f9c0d2632ede6e585e40420c
2020-07-09Adding basic E2E test for workflow designerAshish Singh5-6/+1381
Change-Id: I45c3fb5a8b26fdd75084c07a9f934b8800259c35 Signed-off-by: Ashish-uzumaki <1998ashishsingh@gmail.com> Issue-ID: SDC-3193 Signed-off-by: Ashish-uzumaki <1998ashishsingh@gmail.com>
2020-05-28Default CSIT to master branchJim Hahn1-1/+5
Added "defaultbranch=master" to .gitreview file. Also modified Policy CSITs to get the branch from the .gitreview file instead of hard-coding it in a config file. Issue-ID: POLICY-2597 Change-Id: I05e969d3efdaf09c4fca4012131983ca26423ab0 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-13Change SO Actor simulator to use httpjhh1-1/+1
Issue-ID: POLICY-2560 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If1c706dbb108ce3265dcab0da09fcf4081464c2a
2020-05-11Merge "E2E Integration Test for NETCONF/TLS Configuration in SDNC."Morgan Richomme14-0/+1853
2020-05-11E2E Integration Test for NETCONF/TLS Configuration in SDNC.ajay_dp00114-0/+1853
Story intended to capture needed updates to E2E Integration Test for NETCONF/TLS Configuration. Involve updates to the PNF simulator. Issue-ID: INT-1295 Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech> Change-Id: Ie08fe9618a9a0522e00fe0af8d13ab48b0634a70
2020-04-20Merge "Increment the release versions for csit"Marco Platania5-19/+20
2020-04-16Increment the release versions for csitvrvarma5-19/+20
Change-Id: I12d2c9d01d2c3f5e705bf9c40bed923a20e2f106 Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-735
2020-04-15End-to-end policy CSITJim Hahn15-303/+164
Modified the CSIT for drools-apps to use more components: - api to create policies - pap to deploy policies Also removed tabs. Issue-ID: POLICY-2491 Change-Id: Iacd8d1953068bb718a63de8813dd1c307c21b1f8 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-14Add CSITs for vCPE, vDNS, and vFW policiesJim Hahn21-79/+758
Runs xacml and drools, but does not currently run api or pap. PAP actions are simulated by injecting messages onto the dmaap topic read by xacml-pdp and drools-pdp. All other systems (e.g., dmaap, aai) are simulated using policy-models-simulators. Issue-ID: POLICY-2491 Change-Id: Ic05e3a6514e84040f5a965aa8d2cac9ed2e9abc2 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-06remove usecases testsjhh1-4/+2
Issue-ID: POLICY-2474 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If69a11c7c690d8a5ac2d3b2a5b81f9d7d5fe5197 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-04-02Move policy preload to robot scriptJim Hahn5-289/+19
Moved the policy preload for the PAP CSIT from setup.sh to the robot script; policy type preload isn't needed, so it was removed altogether. Also cleaned up some unneeded entries related to networking and ports in the docker yml files. Issue-ID: POLICY-2464 Change-Id: I1794dd905f2dcbdbe5f8da8c106b43b98d9a97ea Signed-off-by: Jim Hahn <jrh3@att.com>
2020-03-27Merge "Replace ifonfig with ip a"Morgan Richomme1-1/+1
2020-03-27Merge "Add trailing slash to context URIs"Marcin Przybysz2-10/+19
2020-03-26Fix optf has and osdf csit failuresvrvarma4-4/+146
CSIT jobs are failing with the latest aaf-sms docker images. Change-Id: Ia7da218d7383ad87cd59b07171a1931cad85f6c7 Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-725
2020-03-25Add trailing slash to context URIsJim Hahn2-10/+19
Also added various properties to drools/base.conf to keep it consistent with drools-apps/base.conf, as much as possible. I believe the old SO actor will break if we use the CONTEXT_URI, thus I'm leaving the SO_URL intact for now. Issue-ID: POLICY-2441 Change-Id: I1c4122ecec86ef1ef0e165560464e74ace2bdf34 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-03-25Merge "Update the release version for OOF csit"Marco Platania4-11/+24
2020-03-24Update CSIT properties for new actorsJim Hahn1-0/+6
Aded new context URI properties to the config for use with related changes in drools-apps. Left the XXX_URL properties intact for removal later, once drools-apps changes have been merged. Issue-ID: POLICY-2441 Change-Id: Ia7ef38d8cf01e3189c7accc1affd7cbb2c3e1bd0 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-03-23Update the release version for OOF csitvrvarma4-11/+24
Fixing policy simulator url Adding pci/rsi tests Change-Id: I18f9987201159a64ff12ca00137e4ddcf8e38fe5 Signed-off-by: vrvarma <vikas.varma@att.com> Issue-ID: OPTFRA-719 Signed-off-by: vrvarma <vikas.varma@att.com>
2020-03-23Replace ifonfig with ip aLasse Kaihlavirta1-1/+1
- replace obsolete ifconfig with more modern command ip a Issue-ID: SDC-2824 Signed-off-by: Lasse Kaihlavirta <l.kaihlavirt@partner.samsung.com> Change-Id: I5341e49f45b263c3dde3dc4923dc8233331f518e
2020-03-20Fixing APEX and Distribution csit failures due to invalid key name in policya.sreekumar1-0/+0
When the key name doesn't match with the name field in policy, creation of policy is failing. Due to some recent changes in API and models. So, correcting the policy in this review. Change-Id: I8a57f734a25f46fef623edb078fabc2641722816 Issue-ID: POLICY-2438 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-03-18Merge "change made to enable https mode"Marco Platania1-0/+7
2020-03-17Add frankfurt to drools-apps CSITJim Hahn2-0/+11
Issue-ID: POLICY-2434 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I92ce55b8f024e6bb935b21812ceb633976b0ddf8
2020-03-16Remove amsterdam from drools-apps CSITJim Hahn1-3/+1
Issue-ID: POLICY-2434 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I2ef8317050f469afdbb2ae586b55d8bf9231a56e
2020-03-11Fixing policy csits with the tosca version changea.sreekumar3-8/+5
Also making the apex test policy changes related to rhino migration. Change-Id: I20f6c87bf6e2208840eb62a8109f8a98d67e0327 Issue-ID: POLICY-1402 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-03-03CSIT fixes for frankfurt breakagea.sreekumar28-571/+1350
CSITs as per the latest policy type validation changes. Drools and drools apps fixes. Removed policy-health. Change-Id: I086bf747059435e12d15e0481b00c97c20eaadc1 Issue-ID: POLICY-1402 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech> Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-02-03Remove content section from ToscaPolicy properties in APEXa.sreekumar1-0/+0
Currently APEX specific information is placed under properties|content in ToscaPolicy. Avoid keeping under "content" and keep the information directly under properties. Change-Id: Id322df2ae977d4901b81bb70e95ad7e55771869c Issue-ID: POLICY-2332 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-01-20Updating the jdk version from jdk8 to jdk11 for CSITsBilal A4-5/+40
Removes JAVA_HOME for drools pdp Updates Policy API tests Updates XACML-PDP database connection Downloads dmaap simulator instead of compiling it for xacml-pdp,apex-pdp and distribution Changes from Jim, Jorge and Chenfei Issue-ID: POLICY-2325 Change-Id: I28ff3384f9ae9b7d1ce6940eb62aa87278e7a9c5 Signed-off-by: Bilal A <bilal@research.att.com>