summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-02-23Release api docker 2.4.0 imagePamela Dragosh1-0/+8
Issue-ID: POLICY-3088 Change-Id: I98c6d58d500373fa6698454a08fcb358d09534e5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-23Release 2.4.0 api java artifactsPamela Dragosh1-0/+5
Issue-ID: POLICY-3088 Change-Id: Iab9a9f08e3ffa0215b069dd0151646db93ea0a39 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-23Point to released artifactsPamela Dragosh2-6/+6
policy-common 1.8.0 policy-models 2.4.0 policy-parent 3.3.0 docker image 2.2.1 Issue-ID: POLICY-3088 Change-Id: Id68459351878c5e3221c5b9044f3ccb40016e6f7 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2021-02-07Make filters on TOSCA entities genericliamfallon4-30/+33
The classes PolicyTypeFilter and PolicyFilter only work on Policy types and policies. However they just filter on name/version/type/typeversion so there is no reason that the filters could not be applied to other entities. This commit adapts the PolicyTypeFilter to EntityFilter and PolicyFilter to TypedEntityFilter, so the filters can be applied to collections of any ToscaEntity class. Issue-ID: POLICY-2995 Change-Id: Ibf12c757758d31ec3075119c56243e0abcf259bf Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-01-25add JpaPdpPolicyStatus to persistence.xmljhh2-1/+5
Issue-ID: POLICY-2648 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I3a71de299009e61f805d8c48a57a3c34a3f3ae76
2021-01-12move csit/plans, tests to api repoTaka Cho6-0/+709
on csit Repo, scripts moves to dockers repo tests and plans move to application repo aligning with new JJB template Issue-ID: POLICY-2895 Change-Id: I5fe5917458415db1524258d58ca5693bafb47957 Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-01-06Merge "Changed identifiers to concept identifiers"Jim Hahn2-16/+14
2021-01-05use jre base 2.2.0 - apiTaka Cho1-1/+1
use jre base 2.2.0 Issue-ID: POLICY-2917 Change-Id: Ie587b46ce53c223f73dde99ff42df56c034be2aa Signed-off-by: Taka Cho <takamune.cho@att.com>
2021-01-04Changed identifiers to concept identifiersliamfallon2-16/+14
The policy models tosca classes ToscaPolicyIdentifier and ToscaPolicyIdentifierOptVersion can be used to identify any TOSCA concept, not just TOSCA policies so they are renamed to ToscaConceptIdentifier and ToscaCinceptIdentifierOptVersion respectively. The class ToscaPolicyTypeIdentifier is redundant and is replaced by ToscaConceptIdentifier. Issue-ID: POLICY-2900 Change-Id: I9ba3deae8eb4a8e51df5a40cdb8be8d9d23c5990 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-12-22Update unit tests for new validation messagesliamfallon3-150/+143
The refactoring work in validation caused some validation messages to change. This review adapts the API unit tests for those changes. Issue-ID: POLICY-2900 Change-Id: Ifcd1b61488321c7d1cffa7d4ca50d016ab9787c7 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-12-17Update persistence.xml with new TOSCA classesliamfallon2-13/+42
Issue-ID: POLICY-2900 Change-Id: I3c83f7580a683c22dd1edc46da029851f28d9e0d Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-11-30move all bash to ash shell scripts - apiTaka Cho2-7/+6
bash scripts convert to ash Issue-ID: POLICY-2847 Change-Id: I1121f77d0bfb35152ba5474f5a592a57a1362822 Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-10-27Point to snapshot versionsRam Krishna Verma1-3/+3
Issue-ID: POLICY-2875 Change-Id: Ia30e872eea535f0a3916852163e52d8ae41268be Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-27Bump api master to 2.4.0-SNAPSHOTRam Krishna Verma9-10/+10
Issue-ID: POLICY-2875 Change-Id: Ib4aadc085ba3be5e8dd0ca6ad63d46a64b3c886a Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-10-20Bump api 2.3.4 SNAPSHOTPamela Dragosh9-9/+9
Issue-ID: POLICY-2869 Change-Id: Ie70eec72b830c81fb2ae518a7747f8d504b2e831 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-20Release api 2.3.3 dockerPamela Dragosh1-0/+8
Issue-ID: POLICY-2869 Change-Id: I1b2f1a601f1095274073325f7bc92769424e180e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-20Release api 2.3.3 javaPamela Dragosh1-0/+5
Issue-ID: POLICY-2869 Change-Id: I0e349ee3ebe5a245beb6a6aa489e69917d17d2b7 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-20Point api to models 2.3.5Pamela Dragosh1-1/+1
Issue-ID: POLICY-2869 Change-Id: Ib60e228b84d1813b135f6db50e04b942ca27ea74 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Bump api to 2.3.3-SNAPSHOTPamela Dragosh9-9/+9
Issue-ID: POLICY-2839 Change-Id: I7d35215e5b3dc404a6fbfcf45dee0735d74adfbb Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Release api 2.3.2 dockerPamela Dragosh1-0/+8
Issue-ID: POLICY-2839 Change-Id: Iacac87e25e7f62334356b5a781c9be532e8715fc Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Release api 2.3.2 java artifactsPamela Dragosh1-0/+5
Issue-ID: POLICY-2839 Change-Id: Ib4558f7346559606d03d4ba89349645a5e71b816 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-10-07Point to models 2.3.2 releasePamela Dragosh1-1/+1
Released models. Issue-ID: POLICY-2839 Change-Id: Ifbe235ecd0df9a484a2f3abbc63d912e3349bf7d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-09-25Merge "update default keystores"Jorge Hernandez2-0/+0
2020-09-24update default keystoresjhh2-0/+0
Issue-ID: POLICY-2827 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I69958705d3b626410748fabf4d41aa4e682309c1
2020-09-24Add DCAE legacy policy types for preloadPamela Dragosh3-0/+9
Moved from SDC. Issue-ID: SDC-3229 Change-Id: I7e2b16e7190cfd4dd3a0c789fc8c8e85496863de Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-09-16Remove base64 encoding of password from apiRam Krishna Verma7-12/+11
Remove base64 encoding of db password from policy-api component. Issue-ID: POLICY-2550 Change-Id: If395896f88f56f0284187f23d90ec5e0252ea17f Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-09-14Use alpine base image 2.1.1Jim Hahn1-1/+1
Issue-ID: POLICY-2819 Change-Id: I2f0342bdefafd33b46c36b3253e29d7b325de016 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-08Bump api to 2.3.2Jim Hahn9-9/+9
Issue-ID: POLICY-2789 Change-Id: Ib834f2cc5eeedcca7e2cb0aaeaf7f6230570508f Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-08Release 2.3.1 api docker imagesJim Hahn1-0/+8
Issue-ID: POLICY-2789 Change-Id: I6ad007c4536f11a1634cc6da03224b415f260413 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-08Release 2.3.1 api artifactsJim Hahn1-0/+5
Issue-ID: POLICY-2789 Change-Id: I5a466be40ecdbcb0c2c6ea64b1786822afea610b Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-08Use released versions in apiJim Hahn1-2/+2
Issue-ID: POLICY-2789 Change-Id: I63eecc90448e45e6eb0e99f1df71edfbbc6a9c36 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-04point to 2.1.0 policy-alpine base - apiTaka Cho1-1/+21
In G-rel, using 2.1.0 base. Issue-ID: POLICY-2789 Change-Id: I2ac6c7b2dad7e49ffcd88857399c7dd388e6fa2d Signed-off-by: Taka Cho <takamune.cho@att.com>
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