summaryrefslogtreecommitdiffstats
path: root/robot/resources/policy_interface.robot
AgeCommit message (Collapse)AuthorFilesLines
2021-02-26Updates to check for 202 response during Policy-PAP Deploymenta.sreekumar1-5/+5
Change-Id: Iedd5c3d0d524a30e49e57634d3a04c74f1fbd632 Issue-ID: POLICY-2526 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-12-16[BUGFIX] Rename the renamed Undeploy Policy Keyword1.7.3mrichomme1-2/+2
The keyward has been renamed last week [] Unfortunately this Keyword is not used only for the vFWCL it is also used for a healthcheck (Enhanced Policy) Since it has been merged and cherry-picked, the Healthcheck is failing on master (12/12) and in Guilin (15/12) This patch revert the Name to keep generic and reference the generic name in the vFW CL test Issue-ID: INT-1811 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I3cf0836e8b79f88be1dfb3d655a8e925c934def8
2020-12-11Fix undeploye/delete operational policyBrian Freeman1-1/+11
do both policy undeploys before deletes so that undeploy has more time to process remove heatbridge.robot include references to get rid of error message at startup remove commented out referecnes to heatbridge (cleanup) Issue-ID: INT-1803 Change-Id: I0cb071f487faf6ecababdc6d8a5c0e3aa79720b7 Signed-off-by: Brian Freeman <bf1936@att.com>
2020-12-08Fixes for tcagen2 and repush vFWCL policiesBrian Freeman1-1/+49
Issue-ID: INT-1803 Change-Id: Ica53cee26bd19b663bb49ecfc4750fe3cfe32e8c Signed-off-by: Brian Freeman <bf1936@att.com>
2020-09-10fix delete policy test in new policy healthcheckjhh1-5/+4
errors are seeing with latest oom install after this new healthcheck has been added. Delete policy operation section seems incorrect. Issue-ID: POLICY-2817 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I63e1c053a5b361909cb393a29b38c1ee917c3629
2020-09-10Missing Variable AddedNagendra902871-0/+1
Issue-ID: POLICY-2817 Change-Id: Ifd7dcb7bf2e243fd5923bc0587ca335edeaa9cc8 Signed-off-by: Nagendra90287 <nagendrakumar.pal@amdocs.com> Change-Id: Ie7dbf3ef2063eb1c91527e587821a57888a218ee Signed-off-by: Nagendra90287 <nagendrakumar.pal@amdocs.com>
2020-09-07Improved Policy Health CheckNagendra902871-0/+65
Issue-ID: POLICY-2817 Change-Id: I699ca39e9a739a2da64401493ad2c0a724620e60 Signed-off-by: Nagendra90287 <nagendrakumar.pal@amdocs.com> Change-Id: I2972ea2711f621cd1d9d12ace1e83178b0ea3270 Signed-off-by: Nagendra90287 <nagendrakumar.pal@amdocs.com> Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-08-26Remove deprecated Policy Component TestsPamela Dragosh1-170/+2
These tests I don't think are being called anymore. They refer to the old policy/engine code which is being deprecated. In addition, removing the drools-pdp Health check as the new PAP component consolidates all the policy components into one Healthcheck now. Minor fix for dcagen2 Policy Type that was missed in my last review. Renamed the Policy Healthcheck to remove the "new" Issue-ID: POLICY-2003 Change-Id: I8e90a1a70ca71ec57c665a4de6a02c223f3ccbe5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-05-07remove url_encoded operational policyBrian Freeman1-8/+3
add Payload back into template fix tabs and remove commented out lines Issue-ID: INT-1350 Change-Id: Ieeaa6c9f6b2e18c4ee5cf433504654897f6157bb Signed-off-by: Brian Freeman <bf1936@att.com>
2020-05-05Updates for Policy Version ChangesBrian Freeman1-2/+3
Issue-ID: INT-1350 Change-Id: I4c5956467b7e674546f89678921342cb7dd3e19c Signed-off-by: Brian Freeman <bf1936@att.com>
2020-04-08vFW Operational Policy tosca changeBrian Freeman1-1/+2
Issue-ID: INT-1350 Change-Id: I3491b45f80038adbad1f5e25013dd22382be8a24 Signed-off-by: Brian Freeman <bf1936@att.com> Signed-off-by: mrichomme <morgan.richomme@orange.com>
2020-04-07Rename a variable for policy testmrichomme1-2/+2
url is not correct, avoid confusion in var naming Issue-ID: INT-1509 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: If05ec98f3b8727ab54a0f9e0d96410329b5c47c3
2020-04-06Prepare new Policy Healthcheckmrichomme1-6/+18
Issue-ID: INT-1518 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I245769c053a7d878d12b9bfc71f9f6d96d84ddeb Signed-off-by: mrichomme <morgan.richomme@orange.com>
2019-09-30Add repush policyBrian Freeman1-0/+11
Add Undeploy before push Fix RESOURCE_ID in old template Issue-ID: INT-1272 Change-Id: If04e692f7927a1170b2d686a4f9e7b39a400973b Signed-off-by: Brian Freeman <bf1936@att.com>
2019-09-09non template files in templating directory need full path1.5.2DR695H1-1/+1
Issue-ID: TEST-199 Change-Id: I83eeb1d90b1a945b2c4c5466a76dd5131803e324 Signed-off-by: DR695H <dr695h@att.com>
2019-08-05property cleanup and pnf cleanupDR695H1-2/+1
Issue-ID: TEST-184 Change-Id: I355c3de561dfb80334e881c884467116ad5ee25e Signed-off-by: DR695H <dr695h@att.com>
2019-07-22replace aai keywords with aai libDR695H1-13/+13
Issue-ID: TEST-174 Change-Id: Id4fd63c8f25cd695f77c3e81f658c8dbd99914f4 Signed-off-by: DR695H <dr695h@att.com>
2019-07-15use the public key directlyDR695H1-31/+0
using it from the property file rather than a file allows it to be set by someon with no code change in robot Issue-ID: TEST-167 Change-Id: If081282af993d5c55bf5d2a4eff9878cb0bb463f Signed-off-by: DR695H <dr695h@att.com>
2019-07-10Automating tca microservice CLname changeMichal Ptacek1-5/+3
tca microservice has hardcoded closedLoopControlName, this change is to adjust it to one generated during operational policy update. Change-Id: Id4de425a6141fb0f6a564c4efa24478e5e6e1f59 Issue-ID: TEST-168 Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
2019-07-10remove log to consoleDR695H1-9/+9
log to console doesnt show things in the log files and so isnt viewable in jenkins. If console is really needed, add console=True to Log keyword Issue-ID: TEST-173 Change-Id: I9f736eab99120c4b7c32b55fd6c5e0f823e7b734 Signed-off-by: DR695H <dr695h@att.com>
2019-06-20move portal, pgn, pnf policy to jinjaDR695H1-33/+34
Issue-ID: TEST-158 Change-Id: Ie27f2cf976e76471bf65f0ffd506a82f0e9caf09 Signed-off-by: DR695H <dr695h@att.com>
2019-06-03replcaing jsonutils with onaplib.jsonDR695H1-2/+0
Change-Id: I467ec46519f3fbe7d7d08e481f88bf7b20ffbbce Issue-ID: TEST-158 Signed-off-by: DR695H <dr695h@att.com>
2019-05-24removing requests client certDR695H1-1/+0
removing requets client cert because it is now provided naitvely in the requests library an no one is using it anyway Change-Id: Ia0e8f7a09f672011dcf1d600a86ef16d9795a145 Issue-ID: TEST-158 Signed-off-by: DR695H <dr695h@att.com>
2019-05-24Match API version-id requirementBrian Freeman1-1/+1
Create Policy returns and integer but push policy expect X.0.0 template updated to match push API Add back test for 200 to push that was used for testing Issue-ID: POLICY-1685 Change-Id: I7fa22ddecfcdbef3fc03cedbb59c77cf336fec2d Signed-off-by: Brian Freeman <bf1936@att.com>
2019-05-21Removed duplicate keyword in policyBrian Freeman1-21/+0
Issue-ID: POLICY-1685 Change-Id: I4c05348a4c06811962651ac47d81bb5762d45aa4 Signed-off-by: Brian Freeman <bf1936@att.com>
2019-05-17Use policy yaml and encode itBrian Freeman1-0/+30
Leaving old urlencoded tempalte in case we need to revert Issue-ID: POLICY-1685 Change-Id: I25bbf86193863ff0787b0b6e9987227360ed6a88 Signed-off-by: Brian Freeman <bf1936@att.com>
2019-05-15Remove disable_warningsSylvain Desbureaux1-8/+8
disable_warnings options of robotframework-requests has an incorrect behavior (force log level for the whole run at 'Error') and then breaks testsuite use when it's launched programmatically. I've tested without these warnings and I don't see any side effects Change-Id: I0d97ae2c1e64ad3239d2add7edb1f23ea7b40f0d Issue-ID: TEST-156 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-05-15Set VersionBrian Freeman1-3/+5
Read policy-version from create of operational Issue-ID: POLICY-1685 Change-Id: I6d98bd1149b99bc4a105d1d471657a7cff0d4446 Signed-off-by: Brian Freeman <bf1936@att.com>
2019-05-09upgrade to python3 librariesDR695H1-0/+5
basing the code off of robot framework 3.1.1 instead of 3.0, replacing selenium2lib with selnium lib and selenium3, replacing extendedselenium with angularjs lib. Fixing most warnings and all errors from these moves Change-Id: Ifed68c5b8cd28c7bbdc80ee7245860914bdee5b4 Issue-ID: TEST-151 Signed-off-by: DR695H <dr695h@att.com>
2019-05-09Fix space on Log To ConsoleBrian Freeman1-19/+56
fix template $ change POST to Policy Api, Pap Added Validate Issue-ID: INT-1071 Change-Id: I8bd51341221e3dd2fb000ae1c5686760a279413e Signed-off-by: Brian Freeman <bf1936@att.com>
2019-05-09Fixes for New Policy APIBrian Freeman1-1/+1
fix private key for Wait For Server Issue-ID: INT-1071 Change-Id: I3c6e6e59dc3c6f3fe53887f48cd20ba16b50f402 Signed-off-by: Brian Freeman <bf1936@att.com>
2019-05-06Healthchecks for New Policy ComponentsBilal A1-0/+62
Adds healthchecks for following new Policy components: 1- Policy API 2- Policy PAP 3- Policy Distribution 4- Policy APEX PDP 5- Policy XACML PDP Change-Id: If390add061957ea26222b2336b4d40874d913192 Issue-ID: POLICY-1630 Signed-off-by: Bilal A <bilal@research.att.com>
2019-04-30Updates for new policyBrian Freeman1-3/+31
Fix for APPC mount of multiple VM VNFs Issue-ID: POLICY-1685 Change-Id: If8de8ecaa2052044af0512206fe8b326b21f50c4 Signed-off-by: Brian Freeman <bf1936@att.com>
2019-04-29Update for Dublin Policy APIBrian Freeman1-0/+33
Add newline for downloaded CSAR Log in sdc interface Add templates and Keywords for new Policy API for testing Issue-ID: POLICY-1685 Change-Id: Ib85d3be4004dda04ae6c8d95d48763222547528e Signed-off-by: Brian Freeman <bf1936@att.com>
2018-07-30Incorporate changes from OOM robot resourcesGary Wu1-1/+1
Change-Id: Iee702834a3ac5d2223c2b191980f82659b8ba392 Issue-ID: INT-605 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2018-07-26Updates for vFWCL SetupBrian Freeman1-0/+17
Issue-ID: TEST-110 Change-Id: If230afd903c51a01dad5a6204dca1a1eee1f8adc Signed-off-by: Brian Freeman <bf1936@att.com>
2018-07-23First Pass Automated vFW control setupBrian Freeman1-1/+2
Issue-ID: TEST-110 Change-Id: Ib3ea0120a72dc0b6932bb9e12c4ba385e89511c3 Signed-off-by: Brian Freeman <bf1936@att.com>
2018-04-19Fix vFW Closed Loop robot test caseGary Wu1-1/+54
Issued addressed by this change: * Cherry picked from Amsterdam * Send the invariantUUID of VPKTG to Policy instead of VFW * Extraneous single quote characters in the policy yaml * Policy update wouldn’t “stick” until I added in the delays in between the various Policy API calls * Had to ignore the VID teardown errors; not sure if this is necessary to pass the closed loop test Change-Id: Ie504736484df78c46f564ee21bbd0c22d494af1f Issue-ID: INT-406 Signed-off-by: Gary Wu <gary.i.wu@huawei.com> Signed-off-by: Brian Freeman <bf1936@att.com>
2017-06-30[TEST-45] support injectable ipsDR695H1-8/+10
today onap ips are hard coded so we should support having them injectable from external sources Change-Id: Id7911df331207a9198e9bf43168b9a6843db6f48 Signed-off-by: DR695H <dr695h@att.com>
2017-02-17Initial checkin of EopenECOMP testsuiteDR695H1-0/+58
Change-Id: I64a2b6d8cf66169829866b73b3d26a4ff59b0a42 Signed-off-by: DR695H <dr695h@att.com>