aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-08-24Preload new Match Policy TypePamela Dragosh3-0/+3
Preloads the Match Policy Type. Issue-ID: POLICY-2596 Change-Id: I5e0843afb13c2ed9f8fcdefd44d9b7aede15fbcd Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-08-19Updates tests for new tcagen2 policy typePamela Dragosh5-25/+25
Forgot to include these. Once models got merged api failed. Issue-ID: POLICY-2772 Change-Id: Iae64effcba71ecbfbf6ab253de91842a9271c207 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-08-19Preload new tcagen2 policy typePamela Dragosh3-3/+3
Older policy type is deprecated so replace with new tcagen2 policy type. Issue-ID: POLICY-2772 Change-Id: Ica8c15d4f560e7a114b3453470b624d733f1fed3 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-08-17Preload new guard FilterPamela Dragosh3-0/+3
New guard filter should be pre-loaded. Issue-ID: POLICY-2590 Change-Id: I4c7338400a05f9e766c14f2477e84b10ac0a7f06 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-08-17Merge "Changes to make Policy-API container crash with non zero exitCode"Ram Krishna Verma2-31/+22
2020-08-14Remove legacy providers from apiRam Krishna Verma3-520/+1
Removed the legacy operational api's earlier but missed the provider. Removing provider and related tests now. Issue-ID: POLICY-2762 Change-Id: I902ad3939ba8b28b4ad182f666131a2c02cd98c4 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-08-14Changes to make Policy-API container crash with non zero exitCodea.sreekumar2-31/+22
Change-Id: I9e46aa87bfefbd56ef0077017293df34b654e36f Issue-ID: POLICY-2755 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2020-08-10Remove legacy operational policy from api configRam Krishna Verma2-2/+0
Issue-ID: POLICY-2762 Change-Id: I3aa89da0869d4b55fd1e02a1b84bd902f1d54e40 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-08-06Remove legacy operational policy from apiRam Krishna Verma4-652/+1
Issue-ID: POLICY-2762 Change-Id: I8e4b3cb5968a691dd9ac3ad9a42ccd7d9fc7b963 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-08-03environment variables to support cert. store pathsjhh1-6/+8
Issue-ID: POLICY-2615 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I43f2a684590c5427051fa03bdf9ab0f73dab7085 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-07-30Update info yaml in policy/apiRam Krishna Verma1-12/+16
Issue-ID: POLICY-2738 Change-Id: I3e576a066c3d23e3c353a4a9b9a84e72a50ee1b8 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-28Update lifecycle api postman collectionRam Krishna Verma1-792/+792
Issue-ID: POLICY-2585 Change-Id: I3488361099de026b2992fb25876df19576d921f7 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-24Add Ajith to policy-api infoJim Hahn1-17/+11
Issue-ID: POLICY-2738 Change-Id: I20b473ea0216f4b2cfcfc8853251486e023d6267 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-24Merge "Fetch and Delete policy API with PolicyName and PolicyVersion"Jim Hahn6-1018/+1664
2020-07-24Fetch and Delete policy API with PolicyName and PolicyVersionputhuparambil.aditya6-1018/+1664
Issue-ID: POLICY-2585 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: Icabde6463105ed382c1e32b6f7c1319490a385b2
2020-07-17point to SNAPSHOT for apiTaka Cho1-2/+2
Issue-ID: POLICY-2695 Change-Id: Ia2f53e074f4b91bcfa4386c10704a08710bae77f Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-07-10Bump api to 2.3.1-SNAPSHOTRam Krishna Verma9-9/+9
Issue-ID: POLICY-2695 Change-Id: Ic53e2b74f63962426fa8d91d1d85a82d80d7af60 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-09release docker 2.3.0jhh1-0/+8
Issue-ID: POLICY-2695 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib2e69de19d60c71acda97c697592373d4124a613
2020-07-09release maven 2.3.0jhh1-0/+5
Issue-ID: POLICY-2695 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iac53343d4363f2db1d345e897389432c303a8862
2020-07-09point to latest official models and commonsjhh1-3/+3
Issue-ID: POLICY-2695 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I66643d909e994228c69b906a633ff5e1ed8fd16a Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-06-29Fix issues in api for new sonar rulesJim Hahn4-14/+12
Addressed issues reported due to updates to the sonar rules: - use assertEquals, assertNull, etc. - use "<>" - use "{}" place-holder Issue-ID: POLICY-2680 Change-Id: I42d5e635e09bac6e520fc7aa386814ad617fc1f6 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-06-26Updating api to take jetty version from oparentRossC1-3/+2
Issue-ID: POLICY-2387 Change-Id: Ic3d6bf4396cc524dbdfa57352caaf77fc256c4ac Signed-off-by: RossC <ross.carter@est.tech>
2020-06-19Changes for Checkstyle 8.32liamfallon14-76/+25
Issue-ID: POLICY-2188 Change-Id: I8765849462cd866f2a3049a5a4a02bce17330e66 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-06-15Merge "get cert store passwords from env"Jorge Hernandez2-8/+2
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-15Removing duplicate yamls and jsonsaditya.puthuparambil3-440/+48
Issue-ID: POLICY-2052 Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech> Change-Id: Ib4125baa1415cdc7f8a34fabc21fa322bc9b82a1
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>