Dragosh, Pamela (pd1248) [Tue, 23 Mar 2021 22:07:21 +0000 (18:07 -0400)]
Release api 2.4.2 docker
Issue-ID: POLICY-3150
Change-Id: Ib755e319a15ea5747cc145742c6bc9d83b20b3be
Signed-off-by: Dragosh, Pamela (pd1248) <pdragosh@research.att.com>
Dragosh, Pamela (pd1248) [Tue, 23 Mar 2021 21:27:16 +0000 (17:27 -0400)]
Release api 2.4.2 java artifacts
Issue-ID: POLICY-3150
Change-Id: I361fe91d38c7643402e77e74f731bf8fc5ad9a01
Signed-off-by: Dragosh, Pamela (pd1248) <pdragosh@research.att.com>
Dragosh, Pamela (pd1248) [Tue, 23 Mar 2021 20:59:13 +0000 (16:59 -0400)]
Point api to models 2.4.2
Issue-ID: POLICY-3150
Change-Id: Ide2e004571807745d4846dacab9520516b1c2f45
Signed-off-by: Dragosh, Pamela (pd1248) <pdragosh@research.att.com>
jhh [Tue, 16 Mar 2021 15:31:30 +0000 (10:31 -0500)]
Update policy-keystore with newer certificates
Issue-ID: POLICY-3139
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I08670a96d0d37e5eb906eace95f15e2a4dfa0887
Jim Hahn [Wed, 10 Mar 2021 20:55:48 +0000 (15:55 -0500)]
Default to honolulu branch
Issue-ID: POLICY-3105
Change-Id: I28fabe694c5f6ec4ec7aed3dad69008384b3c7e3
Signed-off-by: Jim Hahn <jrh3@att.com>
Ram Krishna Verma [Wed, 10 Mar 2021 19:21:06 +0000 (14:21 -0500)]
Bump api to 2.4.2-SNAPSHOT
Issue-ID: POLICY-3127
Change-Id: I2abb531ed01043777888cbb4c7412f3ddf18397d
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Wed, 10 Mar 2021 18:04:45 +0000 (13:04 -0500)]
Release api 2.4.1 docker image
Issue-ID: POLICY-3127
Change-Id: I652a65a565358a04e55268990f23844776881e29
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Wed, 10 Mar 2021 16:31:44 +0000 (11:31 -0500)]
Release api 2.4.1 maven artifacts
Issue-ID: POLICY-3127
Change-Id: I9dd8119c02c96406c0918258206f78ffe2127bd6
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Tue, 9 Mar 2021 21:28:00 +0000 (16:28 -0500)]
Point to 2.4.1 models
Issue-ID: POLICY-3127
Change-Id: Ib0cad9bba202428374281b29e1768975fcb09374
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Wed, 24 Feb 2021 15:35:45 +0000 (10:35 -0500)]
Update info.yaml in api
Issue-ID: POLICY-3028
Change-Id: Ib87349119d04e1fb47a247cfe1b8cc2c4ecb6bc9
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Pamela Dragosh [Wed, 24 Feb 2021 12:16:07 +0000 (07:16 -0500)]
Bump api to 2.4.1-SNAPSHOT
Issue-ID: POLICY-3088
Change-Id: I8be2082cbae2c462807baeba2cb33e64d819e4be
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 23 Feb 2021 17:45:25 +0000 (12:45 -0500)]
Release api docker 2.4.0 image
Issue-ID: POLICY-3088
Change-Id: I98c6d58d500373fa6698454a08fcb358d09534e5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 23 Feb 2021 16:34:08 +0000 (11:34 -0500)]
Release 2.4.0 api java artifacts
Issue-ID: POLICY-3088
Change-Id: Iab9a9f08e3ffa0215b069dd0151646db93ea0a39
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 23 Feb 2021 16:00:15 +0000 (11:00 -0500)]
Point to released artifacts
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>
liamfallon [Sun, 7 Feb 2021 15:20:23 +0000 (15:20 +0000)]
Make filters on TOSCA entities generic
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>
jhh [Mon, 25 Jan 2021 21:09:31 +0000 (15:09 -0600)]
add JpaPdpPolicyStatus to persistence.xml
Issue-ID: POLICY-2648
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I3a71de299009e61f805d8c48a57a3c34a3f3ae76
Taka Cho [Mon, 11 Jan 2021 21:41:04 +0000 (16:41 -0500)]
move csit/plans, tests to api repo
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>
Jim Hahn [Wed, 6 Jan 2021 18:06:30 +0000 (18:06 +0000)]
Merge "Changed identifiers to concept identifiers"
Taka Cho [Tue, 5 Jan 2021 20:08:10 +0000 (15:08 -0500)]
use jre base 2.2.0 - api
use jre base 2.2.0
Issue-ID: POLICY-2917
Change-Id: Ie587b46ce53c223f73dde99ff42df56c034be2aa
Signed-off-by: Taka Cho <takamune.cho@att.com>
liamfallon [Mon, 4 Jan 2021 13:36:34 +0000 (13:36 +0000)]
Changed identifiers to concept identifiers
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>
liamfallon [Tue, 22 Dec 2020 11:21:15 +0000 (11:21 +0000)]
Update unit tests for new validation messages
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>
liamfallon [Thu, 17 Dec 2020 16:35:38 +0000 (16:35 +0000)]
Update persistence.xml with new TOSCA classes
Issue-ID: POLICY-2900
Change-Id: I3c83f7580a683c22dd1edc46da029851f28d9e0d
Signed-off-by: liamfallon <liam.fallon@est.tech>
Taka Cho [Mon, 30 Nov 2020 19:06:16 +0000 (14:06 -0500)]
move all bash to ash shell scripts - api
bash scripts convert to ash
Issue-ID: POLICY-2847
Change-Id: I1121f77d0bfb35152ba5474f5a592a57a1362822
Signed-off-by: Taka Cho <takamune.cho@att.com>
Ram Krishna Verma [Tue, 27 Oct 2020 19:02:54 +0000 (15:02 -0400)]
Point to snapshot versions
Issue-ID: POLICY-2875
Change-Id: Ia30e872eea535f0a3916852163e52d8ae41268be
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Tue, 27 Oct 2020 17:50:33 +0000 (13:50 -0400)]
Bump api master to 2.4.0-SNAPSHOT
Issue-ID: POLICY-2875
Change-Id: Ib4aadc085ba3be5e8dd0ca6ad63d46a64b3c886a
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Pamela Dragosh [Tue, 20 Oct 2020 14:47:48 +0000 (10:47 -0400)]
Bump api 2.3.4 SNAPSHOT
Issue-ID: POLICY-2869
Change-Id: Ie70eec72b830c81fb2ae518a7747f8d504b2e831
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 20 Oct 2020 14:21:27 +0000 (10:21 -0400)]
Release api 2.3.3 docker
Issue-ID: POLICY-2869
Change-Id: I1b2f1a601f1095274073325f7bc92769424e180e
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 20 Oct 2020 13:48:37 +0000 (09:48 -0400)]
Release api 2.3.3 java
Issue-ID: POLICY-2869
Change-Id: I0e349ee3ebe5a245beb6a6aa489e69917d17d2b7
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 20 Oct 2020 12:05:22 +0000 (08:05 -0400)]
Point api to models 2.3.5
Issue-ID: POLICY-2869
Change-Id: Ib60e228b84d1813b135f6db50e04b942ca27ea74
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Wed, 7 Oct 2020 20:23:51 +0000 (16:23 -0400)]
Bump api to 2.3.3-SNAPSHOT
Issue-ID: POLICY-2839
Change-Id: I7d35215e5b3dc404a6fbfcf45dee0735d74adfbb
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Wed, 7 Oct 2020 20:00:20 +0000 (16:00 -0400)]
Release api 2.3.2 docker
Issue-ID: POLICY-2839
Change-Id: Iacac87e25e7f62334356b5a781c9be532e8715fc
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Wed, 7 Oct 2020 19:40:45 +0000 (15:40 -0400)]
Release api 2.3.2 java artifacts
Issue-ID: POLICY-2839
Change-Id: Ib4558f7346559606d03d4ba89349645a5e71b816
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Wed, 7 Oct 2020 19:14:01 +0000 (15:14 -0400)]
Point to models 2.3.2 release
Released models.
Issue-ID: POLICY-2839
Change-Id: Ifbe235ecd0df9a484a2f3abbc63d912e3349bf7d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Jorge Hernandez [Fri, 25 Sep 2020 15:51:06 +0000 (15:51 +0000)]
Merge "update default keystores"
jhh [Thu, 24 Sep 2020 19:45:40 +0000 (14:45 -0500)]
update default keystores
Issue-ID: POLICY-2827
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I69958705d3b626410748fabf4d41aa4e682309c1
Pamela Dragosh [Thu, 24 Sep 2020 17:12:58 +0000 (13:12 -0400)]
Add DCAE legacy policy types for preload
Moved from SDC.
Issue-ID: SDC-3229
Change-Id: I7e2b16e7190cfd4dd3a0c789fc8c8e85496863de
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Ram Krishna Verma [Wed, 16 Sep 2020 14:44:03 +0000 (10:44 -0400)]
Remove base64 encoding of password from api
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>
Jim Hahn [Mon, 14 Sep 2020 22:01:31 +0000 (18:01 -0400)]
Use alpine base image 2.1.1
Issue-ID: POLICY-2819
Change-Id: I2f0342bdefafd33b46c36b3253e29d7b325de016
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Tue, 8 Sep 2020 21:49:53 +0000 (17:49 -0400)]
Bump api to 2.3.2
Issue-ID: POLICY-2789
Change-Id: Ib834f2cc5eeedcca7e2cb0aaeaf7f6230570508f
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Tue, 8 Sep 2020 20:31:27 +0000 (16:31 -0400)]
Release 2.3.1 api docker images
Issue-ID: POLICY-2789
Change-Id: I6ad007c4536f11a1634cc6da03224b415f260413
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Tue, 8 Sep 2020 20:03:44 +0000 (16:03 -0400)]
Release 2.3.1 api artifacts
Issue-ID: POLICY-2789
Change-Id: I5a466be40ecdbcb0c2c6ea64b1786822afea610b
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Tue, 8 Sep 2020 19:03:31 +0000 (15:03 -0400)]
Use released versions in api
Issue-ID: POLICY-2789
Change-Id: I63eecc90448e45e6eb0e99f1df71edfbbc6a9c36
Signed-off-by: Jim Hahn <jrh3@att.com>
Taka Cho [Fri, 4 Sep 2020 12:49:10 +0000 (08:49 -0400)]
point to 2.1.0 policy-alpine base - api
In G-rel, using 2.1.0 base.
Issue-ID: POLICY-2789
Change-Id: I2ac6c7b2dad7e49ffcd88857399c7dd388e6fa2d
Signed-off-by: Taka Cho <takamune.cho@att.com>
Pamela Dragosh [Mon, 24 Aug 2020 19:58:12 +0000 (15:58 -0400)]
Preload new Match Policy Type
Preloads the Match Policy Type.
Issue-ID: POLICY-2596
Change-Id: I5e0843afb13c2ed9f8fcdefd44d9b7aede15fbcd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Wed, 19 Aug 2020 22:39:14 +0000 (18:39 -0400)]
Updates tests for new tcagen2 policy type
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>
Pamela Dragosh [Wed, 19 Aug 2020 15:22:52 +0000 (11:22 -0400)]
Preload new tcagen2 policy type
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>
Pamela Dragosh [Mon, 17 Aug 2020 20:43:47 +0000 (16:43 -0400)]
Preload new guard Filter
New guard filter should be pre-loaded.
Issue-ID: POLICY-2590
Change-Id: I4c7338400a05f9e766c14f2477e84b10ac0a7f06
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Ram Krishna Verma [Mon, 17 Aug 2020 14:10:58 +0000 (14:10 +0000)]
Merge "Changes to make Policy-API container crash with non zero exitCode"
Ram Krishna Verma [Fri, 14 Aug 2020 15:08:37 +0000 (11:08 -0400)]
Remove legacy providers from api
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>
a.sreekumar [Wed, 12 Aug 2020 12:07:37 +0000 (13:07 +0100)]
Changes to make Policy-API container crash with non zero exitCode
Change-Id: I9e46aa87bfefbd56ef0077017293df34b654e36f
Issue-ID: POLICY-2755
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Ram Krishna Verma [Mon, 10 Aug 2020 18:37:52 +0000 (14:37 -0400)]
Remove legacy operational policy from api config
Issue-ID: POLICY-2762
Change-Id: I3aa89da0869d4b55fd1e02a1b84bd902f1d54e40
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Thu, 6 Aug 2020 20:10:01 +0000 (16:10 -0400)]
Remove legacy operational policy from api
Issue-ID: POLICY-2762
Change-Id: I8e4b3cb5968a691dd9ac3ad9a42ccd7d9fc7b963
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
jhh [Mon, 3 Aug 2020 19:55:46 +0000 (14:55 -0500)]
environment variables to support cert. store paths
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>
Ram Krishna Verma [Thu, 30 Jul 2020 19:47:12 +0000 (15:47 -0400)]
Update info yaml in policy/api
Issue-ID: POLICY-2738
Change-Id: I3e576a066c3d23e3c353a4a9b9a84e72a50ee1b8
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Tue, 28 Jul 2020 20:31:54 +0000 (16:31 -0400)]
Update lifecycle api postman collection
Issue-ID: POLICY-2585
Change-Id: I3488361099de026b2992fb25876df19576d921f7
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Jim Hahn [Fri, 24 Jul 2020 16:43:54 +0000 (12:43 -0400)]
Add Ajith to policy-api info
Issue-ID: POLICY-2738
Change-Id: I20b473ea0216f4b2cfcfc8853251486e023d6267
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Fri, 24 Jul 2020 16:41:28 +0000 (16:41 +0000)]
Merge "Fetch and Delete policy API with PolicyName and PolicyVersion"
puthuparambil.aditya [Fri, 17 Jul 2020 10:13:49 +0000 (11:13 +0100)]
Fetch and Delete policy API with PolicyName and PolicyVersion
Issue-ID: POLICY-2585
Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca>
Change-Id: Icabde6463105ed382c1e32b6f7c1319490a385b2
Taka Cho [Fri, 17 Jul 2020 15:28:57 +0000 (11:28 -0400)]
point to SNAPSHOT for api
Issue-ID: POLICY-2695
Change-Id: Ia2f53e074f4b91bcfa4386c10704a08710bae77f
Signed-off-by: Taka Cho <takamune.cho@att.com>
Ram Krishna Verma [Fri, 10 Jul 2020 22:30:10 +0000 (18:30 -0400)]
Bump api to 2.3.1-SNAPSHOT
Issue-ID: POLICY-2695
Change-Id: Ic53e2b74f63962426fa8d91d1d85a82d80d7af60
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
jhh [Thu, 9 Jul 2020 21:59:19 +0000 (16:59 -0500)]
release docker 2.3.0
Issue-ID: POLICY-2695
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ib2e69de19d60c71acda97c697592373d4124a613
jhh [Thu, 9 Jul 2020 20:58:49 +0000 (15:58 -0500)]
release maven 2.3.0
Issue-ID: POLICY-2695
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Iac53343d4363f2db1d345e897389432c303a8862
jhh [Thu, 9 Jul 2020 20:00:38 +0000 (15:00 -0500)]
point to latest official models and commons
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>
Jim Hahn [Mon, 29 Jun 2020 16:14:07 +0000 (12:14 -0400)]
Fix issues in api for new sonar rules
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>
RossC [Fri, 26 Jun 2020 14:31:59 +0000 (15:31 +0100)]
Updating api to take jetty version from oparent
Issue-ID: POLICY-2387
Change-Id: Ic3d6bf4396cc524dbdfa57352caaf77fc256c4ac
Signed-off-by: RossC <ross.carter@est.tech>
liamfallon [Fri, 19 Jun 2020 09:14:45 +0000 (10:14 +0100)]
Changes for Checkstyle 8.32
Issue-ID: POLICY-2188
Change-Id: I8765849462cd866f2a3049a5a4a02bce17330e66
Signed-off-by: liamfallon <liam.fallon@est.tech>
Jorge Hernandez [Mon, 15 Jun 2020 17:47:38 +0000 (17:47 +0000)]
Merge "get cert store passwords from env"
jhh [Mon, 15 Jun 2020 14:31:12 +0000 (09:31 -0500)]
get cert store passwords from env
Issue-ID: POLICY-2575
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Iba95d843d0cbf38e878915e6db742d5a74a03a5c
aditya.puthuparambil [Mon, 15 Jun 2020 11:13:49 +0000 (12:13 +0100)]
Removing duplicate yamls and jsons
Issue-ID: POLICY-2052
Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech>
Change-Id: Ib4125baa1415cdc7f8a34fabc21fa322bc9b82a1
Pamela Dragosh [Wed, 3 Jun 2020 16:10:11 +0000 (16:10 +0000)]
Merge "Create postman collection for lifecycle api's"
Ram Krishna Verma [Mon, 1 Jun 2020 22:03:21 +0000 (18:03 -0400)]
Create postman collection for lifecycle api's
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>
Chris Ramstad [Mon, 1 Jun 2020 21:35:32 +0000 (14:35 -0700)]
Log missing preloaded policy and continue
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
Pamela Dragosh [Thu, 28 May 2020 18:41:44 +0000 (14:41 -0400)]
Point to parent SNAPSHOT
Issue-ID: POLICY-2391
Change-Id: Ic96e3dad1ce28798a9da1ff6819a5a7fa32244ae
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Ram Krishna Verma [Wed, 20 May 2020 00:37:59 +0000 (00:37 +0000)]
Merge "Bump api master to 2.3.0-SNAPSHOT"
Pamela Dragosh [Tue, 19 May 2020 22:58:06 +0000 (22:58 +0000)]
Merge "Updated scripts and testplan for api (Frankfurt)"
Jim Hahn [Tue, 19 May 2020 22:13:26 +0000 (18:13 -0400)]
Bump api master to 2.3.0-SNAPSHOT
Issue-ID: POLICY-2514
Change-Id: I96a04bc18d92bf63e8fdf3a0b19a695d062633bb
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Tue, 19 May 2020 19:57:10 +0000 (15:57 -0400)]
Release api 2.2.4 docker
Issue-ID: POLICY-2514
Change-Id: I6f9abd6c4842778a3308f56ac653590754243da2
Signed-off-by: Jim Hahn <jrh3@att.com>
Chris Ramstad [Tue, 19 May 2020 18:15:30 +0000 (11:15 -0700)]
Updated scripts and testplan for api (Frankfurt)
Issue-ID: POLICY-2453
Signed-off-by: Chris Ramstad <cramstad@ciena.com>
Change-Id: I8ed5da7b5fa76a0265291dc97bf765987ea2c2fa
Jim Hahn [Tue, 19 May 2020 17:49:29 +0000 (13:49 -0400)]
Release api 2.2.4 artifacts
Issue-ID: POLICY-2514
Change-Id: Ib11c4a6ea5f115586056599af2e2521825c12b1e
Signed-off-by: Jim Hahn <jrh3@att.com>
Pamela Dragosh [Tue, 19 May 2020 16:19:39 +0000 (12:19 -0400)]
Point to released artifacts
Issue-ID: POLICY-1514
Change-Id: Ic5d57c446e9b246e9545b0c21d8aec8560cdb1cf
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
liamfallon [Sun, 10 May 2020 21:41:33 +0000 (22:41 +0100)]
Policy DB contents removed on DB deadlock
Unit test knock on from rework on Legacy policies.
Issue-ID: POLICY-2548
Change-Id: I1f3469fb1f3e63da192614226b6ba456da7c1d4b
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Wed, 6 May 2020 16:02:23 +0000 (17:02 +0100)]
Make type and type_version mandatory on policies
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>
Jim Hahn [Wed, 29 Apr 2020 15:28:03 +0000 (11:28 -0400)]
Update SNDC Naming policy in API
This fixes a broken junit test.
Issue-ID: POLICY-2525
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: If5b97d168944471413149f4244d59c7d85ec7f0c
Jim Hahn [Fri, 24 Apr 2020 20:27:47 +0000 (16:27 -0400)]
Point api to new parent
Issue-ID: POLICY-2510
Change-Id: Icc055f13ed43ade9c86d9402c1d27ea9ad3e4f9a
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Fri, 24 Apr 2020 19:54:22 +0000 (15:54 -0400)]
Release api 2.2.3 docker
Issue-ID: POLICY-2510
Change-Id: I69c818d6209e9d30caa2a9011ad49dd8246ba30a
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Fri, 24 Apr 2020 18:25:40 +0000 (14:25 -0400)]
Release api 2.2.3 artifacts
Issue-ID: POLICY-2510
Change-Id: Ida1fa08ac5836d2a7698f1a9e20e3ce852af3cd2
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Fri, 24 Apr 2020 16:18:50 +0000 (12:18 -0400)]
Point api to models release version
Issue-ID: POLICY-2521
Change-Id: Iaa7e1f7c6d19a71e89321fd568dc77310c374f26
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Fri, 24 Apr 2020 15:17:24 +0000 (11:17 -0400)]
Bump models version in policy-api
Issue-ID: POLICY-2510
Change-Id: I9a7fa1b39c0ebab8d35c7b604529562f3f971996
Signed-off-by: Jim Hahn <jrh3@att.com>
Jim Hahn [Wed, 22 Apr 2020 16:01:27 +0000 (12:01 -0400)]
Skip policy preload if DB already contains data
Issue-ID: POLICY-2517
Change-Id: I430eaed1dbc2f81aa2d15af0ced3e879349a8bea
Signed-off-by: Jim Hahn <jrh3@att.com>
Ram Krishna Verma [Wed, 15 Apr 2020 12:23:14 +0000 (08:23 -0400)]
Bump api to 2.2.3-SNAPSHOT
Issue-ID: POLICY-2378
Change-Id: I9b20aa5dcdb6517b1abfba2725a19a77e98bb217
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Tue, 14 Apr 2020 21:03:00 +0000 (17:03 -0400)]
Release api 2.2.2 docker image
Issue-ID: POLICY-2378
Change-Id: Ie7536e0562dca9a8491cf01463a05ddb1fef1fb6
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Tue, 14 Apr 2020 19:55:28 +0000 (15:55 -0400)]
Release api 2.2.2 artifacts
Issue-ID: POLICY-2378
Change-Id: I4b69ce348edb7e7ee1fd88c5e535217b46333494
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Ram Krishna Verma [Tue, 14 Apr 2020 19:27:43 +0000 (15:27 -0400)]
Bump api to 2.2.2-SNAPSHOT
Issue-ID: POLICY-2378
Change-Id: I29affc99176950f463f7bb8fc41af883e709c4ca
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Pamela Dragosh [Tue, 14 Apr 2020 18:50:07 +0000 (14:50 -0400)]
Point to released common/models
Issue-ID: POLICY-2378
Change-Id: I59b4769e65d230dc0fc2e520d94fbc07bf0e38b2
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Mon, 13 Apr 2020 19:54:50 +0000 (15:54 -0400)]
Point to models/common fixes
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>
Pamela Dragosh [Fri, 10 Apr 2020 21:43:17 +0000 (17:43 -0400)]
Point to released parent, common, models
Issue-ID: POLICY-2378
Change-Id: If3883aacd99d515d3409d57c508330b7c7c4341f
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Tue, 7 Apr 2020 12:48:45 +0000 (08:48 -0400)]
Point to parent SNAPSHOT
Issue-ID: POLICY-2378
Change-Id: I75a0bac797ea059553602538fd16b44f37e38708
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
liamfallon [Mon, 30 Mar 2020 12:28:20 +0000 (13:28 +0100)]
Add BARE and REFERENCED mode to policy fetches
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>
Pamela Dragosh [Fri, 27 Mar 2020 16:57:12 +0000 (12:57 -0400)]
Point to latest snapshots
Issue-ID: POLICY-2378
Change-Id: I1f98713b431bbae69c9ff39f75b93468a28e3540
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Pamela Dragosh [Wed, 25 Mar 2020 21:29:55 +0000 (17:29 -0400)]
Release api 2.2.1 docker
Issue-ID: POLICY-2378
Change-Id: I63550795e447782c94ac3b9feee2523f47ed912b
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>