aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-06-15get cert store passwords from envjhh2-8/+2
Issue-ID: POLICY-2575 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iba95d843d0cbf38e878915e6db742d5a74a03a5c
2020-06-03Merge "Create postman collection for lifecycle api's"Pamela Dragosh1-0/+716
2020-06-02Create postman collection for lifecycle api'sRam Krishna Verma1-0/+716
Creating postman collection for all api's exposed by policy-api component. Tested the collection in PFPP lab. Going forward any change in api's must be updated in the postman collection as well. So that we maintain a working collection for our users always. Issue-ID: POLICY-2562 Change-Id: I38f134dde8b6ad46168f865be153d492d724fbbe Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-06-01Log missing preloaded policy and continueChris Ramstad1-2/+3
If a policy type can't be preloaded because it doesn't exist, log and continue. Issue-ID: POLICY-2487 Signed-off-by: Chris Ramstad <cramstad@ciena.com> Change-Id: I2a26e660d7337b2db153491a6bb3373b1470cbee
2020-05-28Point to parent SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-2391 Change-Id: Ic96e3dad1ce28798a9da1ff6819a5a7fa32244ae Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-05-20Merge "Bump api master to 2.3.0-SNAPSHOT"Ram Krishna Verma9-10/+10
2020-05-19Merge "Updated scripts and testplan for api (Frankfurt)"Pamela Dragosh3-5547/+1391
2020-05-19Bump api master to 2.3.0-SNAPSHOTJim Hahn9-10/+10
Issue-ID: POLICY-2514 Change-Id: I96a04bc18d92bf63e8fdf3a0b19a695d062633bb Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-19Release api 2.2.4 docker6.0.0-ONAPJim Hahn1-0/+8
Issue-ID: POLICY-2514 Change-Id: I6f9abd6c4842778a3308f56ac653590754243da2 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-19Updated scripts and testplan for api (Frankfurt)Chris Ramstad3-5547/+1391
Issue-ID: POLICY-2453 Signed-off-by: Chris Ramstad <cramstad@ciena.com> Change-Id: I8ed5da7b5fa76a0265291dc97bf765987ea2c2fa
2020-05-19Release api 2.2.4 artifactsJim Hahn1-0/+5
Issue-ID: POLICY-2514 Change-Id: Ib11c4a6ea5f115586056599af2e2521825c12b1e Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-19Point to released artifactsPamela Dragosh1-3/+3
Issue-ID: POLICY-1514 Change-Id: Ic5d57c446e9b246e9545b0c21d8aec8560cdb1cf Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-05-10Policy DB contents removed on DB deadlockliamfallon2-47/+48
Unit test knock on from rework on Legacy policies. Issue-ID: POLICY-2548 Change-Id: I1f3469fb1f3e63da192614226b6ba456da7c1d4b Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-05-06Make type and type_version mandatory on policiesliamfallon2-5/+7
Up until now, the "type" and "type_version" fields defaulted to "NULL" and "0.0.0" respectively when they were not specified because the "type_version" field was not always specified on policies in previous releases. In cases where the "type_version" field was not specified, it was assumend that a "0.0.0" version of the policy type existed. In parallel, if the version field was not specified on the policy type, the version was stored as 0.0.0. This behaviour is now changed and the "type" and "type_version" fields are now always mandatory. Issue-ID: POLICY-2538 Change-Id: Ieec97f4a111edd13dbe31116c7549f07c19ef0aa Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-04-29Update SNDC Naming policy in APIJim Hahn1-5/+5
This fixes a broken junit test. Issue-ID: POLICY-2525 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: If5b97d168944471413149f4244d59c7d85ec7f0c
2020-04-24Point api to new parentJim Hahn9-12/+12
Issue-ID: POLICY-2510 Change-Id: Icc055f13ed43ade9c86d9402c1d27ea9ad3e4f9a Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-24Release api 2.2.3 dockerJim Hahn1-0/+8
Issue-ID: POLICY-2510 Change-Id: I69c818d6209e9d30caa2a9011ad49dd8246ba30a Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-24Release api 2.2.3 artifactsJim Hahn1-0/+4
Issue-ID: POLICY-2510 Change-Id: Ida1fa08ac5836d2a7698f1a9e20e3ce852af3cd2 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-24Point api to models release versionJim Hahn1-1/+1
Issue-ID: POLICY-2521 Change-Id: Iaa7e1f7c6d19a71e89321fd568dc77310c374f26 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-24Bump models version in policy-apiJim Hahn1-1/+1
Issue-ID: POLICY-2510 Change-Id: I9a7fa1b39c0ebab8d35c7b604529562f3f971996 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-22Skip policy preload if DB already contains dataJim Hahn2-1/+98
Issue-ID: POLICY-2517 Change-Id: I430eaed1dbc2f81aa2d15af0ced3e879349a8bea Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-15Bump api to 2.2.3-SNAPSHOTRam Krishna Verma9-9/+9
Issue-ID: POLICY-2378 Change-Id: I9b20aa5dcdb6517b1abfba2725a19a77e98bb217 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-04-14Release api 2.2.2 docker imageRam Krishna Verma1-0/+8
Issue-ID: POLICY-2378 Change-Id: Ie7536e0562dca9a8491cf01463a05ddb1fef1fb6 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-04-14Release api 2.2.2 artifactsRam Krishna Verma1-0/+4
Issue-ID: POLICY-2378 Change-Id: I4b69ce348edb7e7ee1fd88c5e535217b46333494 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-04-14Bump api to 2.2.2-SNAPSHOTRam Krishna Verma9-9/+9
Issue-ID: POLICY-2378 Change-Id: I29affc99176950f463f7bb8fc41af883e709c4ca Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-04-14Point to released common/modelsPamela Dragosh1-2/+2
Issue-ID: POLICY-2378 Change-Id: I59b4769e65d230dc0fc2e520d94fbc07bf0e38b2 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-13Point to models/common fixesPamela Dragosh1-2/+2
For the naming policy string fixes and fix in yaml coder Issue-ID: POLICY-2486 Change-Id: Ic3cb88903ccdb07907f6907f1d9d0941c99fb690 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-10Point to released parent, common, modelsPamela Dragosh1-3/+3
Issue-ID: POLICY-2378 Change-Id: If3883aacd99d515d3409d57c508330b7c7c4341f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-07Point to parent SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-2378 Change-Id: I75a0bac797ea059553602538fd16b44f37e38708 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-30Add BARE and REFERENCED mode to policy fetchesliamfallon5-499/+576
In BARE mode (default), just the policy definitions are returned, in REFERENCED mode, the policy and all referenced policy and data types are returned. Issue-ID: POLICY-2377 Change-Id: Idc227d512d56945cc14dec0eae9264dbb3ca52a0 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-03-27Point to latest snapshotsPamela Dragosh1-2/+2
Issue-ID: POLICY-2378 Change-Id: I1f98713b431bbae69c9ff39f75b93468a28e3540 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-25Release api 2.2.1 dockerPamela Dragosh1-0/+8
Issue-ID: POLICY-2378 Change-Id: I63550795e447782c94ac3b9feee2523f47ed912b Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-25Release api 2.2.1Pamela Dragosh1-0/+4
Includes fix of operational common policy type for CLAMP metadata. Issue-ID: POLICY-2378 Change-Id: I0dd5826297277dd0986de46d6b16b2e3d2f0399a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-25Point to models 2.2.2Pamela Dragosh1-1/+1
To incorporate CLAMP changes to operational common policy type. Issue-ID: POLICY-2378 Change-Id: I2a97189488936525772dd5e64d1b1072cf6dba8d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-24Bump api to 2.2.1-SNAPSHOTPamela Dragosh9-9/+9
Issue-ID: POLICY-2378 Change-Id: Ia7b147ebfb6e3222310116da644ac4c820093fe5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-24Release 2.2.0 api docker imagePamela Dragosh1-0/+8
Issue-ID: POLICY-2378 Change-Id: I7395e8fcbf986cb76b4c4c29e07c36e85ada9ea1 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-24Release 2.2.0 api artifactsPamela Dragosh1-0/+4
Issue-ID: POLICY-2378 Change-Id: Ia9df6a83b3494c1e32517b6af0bd95d8d182fdb3 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-23Point to released artifactsPamela Dragosh1-3/+3
parent, common and models are released. Issue-ID: POLICY-2378 Change-Id: Ia374091bbc8ee4f145f620c28db8c89b986cdc2a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-19Test change due to versions fix in Modelsliamfallon1-54/+52
Knock on change due to a change in error message returned by policy-models Issue-ID: POLICY-2377 Change-Id: I69702c52715b2c92c8bd87c8d34264f954b63891 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-03-18renew policy certs till 03/17/2021jhh2-0/+0
Issue-ID: POLICY-2402 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I1225afd76b3715500fb398f5151c3d99509e4d88
2020-03-06Removing legacy guard from policy/apiRam Krishna Verma21-1040/+27
Renamed the guard policy types per this review: https://gerrit.onap.org/r/c/policy/models/+/103127 Issue-ID: POLICY-2243 Change-Id: I35ef95756483c869d374f36d0a1dfe6b588444c7 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-06Merge "Apply policy/models native drools policies changes"Jorge Hernandez3-5/+2
2020-03-05Apply policy/models native drools policies changesjhh3-5/+2
Issue-ID: POLICY-2388 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I99da7247540101253206aac93a8da290d9389f8d
2020-03-03Removing deployed from policy/apiRam Krishna Verma4-127/+0
The deployed API has already been created in PAP as part of Policy Update Notifications work. Removing the corresponding one from policy/api to make sure that all run time administration of PdpGroup and deployed policies are done only via PAP. Leaving the deployed API's in legacy controller as they will be removed together. Issue-ID: POLICY-1941 Change-Id: Ibe131f1aab3ec6a0eec05a2c91b5a140efc61b72 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-03-01Point to docker 2.0.1Pamela Dragosh1-1/+1
Release docker 2.0.1 Issue-ID: POLICY-2378 Change-Id: Ib839cb1a5e8db9e815d41c42421839255072f658 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-25Preload default policiesChenfei Gao15-135/+137
Issue-ID: POLICY-2317 Change-Id: I5794e617ea4fb99caf6e7a974a4886e72605979c Signed-off-by: Chenfei Gao <cgao@research.att.com>
2020-02-19Changes for cascaded get in policy modelsliamfallon5-218/+76
This review adapts policy API for changes introduced for cascaded returns on filtered gets in policy-models. Issue-ID: POLICY-1402 Change-Id: I7593eb64cc497809f8485f6add40b6a64291a060 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-02-18Add changes for safe delete in policy-modelsliamfallon10-363/+61
Issue-ID: POLICY-1402 Change-Id: I3f97fbb4c11105118857d354970d6a3de1385f2d Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-02-17Updates to pulling Drools into own yamlPamela Dragosh5-8/+34
Also renamed legacy types and constants to ensure folks know legacy vs tosca compliant. Fixes recommended by Liam. Issue-ID: POLICY-2146 Change-Id: I744f589c0154138f8526e583d0f2b480f172c0c4 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-17Change return code checks in unit testsliamfallon1-4/+3
The return codes issued by TOSCA handling in policy-models have been changed to be more correct. This change updates the unit tests in API to use thw new codes. Issue-ID: POLICY-1402 Change-Id: If9798e5fe28bd3f92576135b8c5a34fc456a4925 Signed-off-by: liamfallon <liam.fallon@est.tech>