Age | Commit message (Collapse) | Author | Files | Lines |
|
Removed policy, policyType providers along with models provider
configurations.
Issue-ID: POLICY-3923
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I696be6380758dbcc5b53cef635f3065eb0ce9a70
|
|
Instaed of altering the springboot default http
message converters, simply inject a GSON bean with
a custom type adapter with springfox Json serializer.
Issue-ID: POLICY-3753
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: I0eb3b7cba538e7fd569f1cba9d540a7108db93e9
|
|
PolicyProviders and PolicyTypeProvider will be removed
once the NodeTemplateController migration is complete.
Issue-ID: POLICY-3924
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: I01a7491c9a09d78a79a4c887f5a49024af648b8b
|
|
- Add the spring repository and service layers to policy-api.
- Unit tests are modified to use the spring service layers
Next-up: Migrate the usage of policy-models-provider in policy-api
to spring boot based services to talk to database (POLICY-3924)
Issue-ID: POLICY-3923
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: Ib6840040b32f24f019da802d3b246dab1bfccbe3
|
|
|
|
Statistics handling for the new Apis are not added
as it is going to be handled via spring actuators as part of spring
migration.Please suggest if manual stats handling is required.
Issue-ID: POLICY-3832
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I1eeaec9e617fd586238e7ff9e96d40a75c517885
|
|
Use YamlHttpMessageConverter provided by policy/common.
Fix few sonar issues.
Issue-ID: POLICY-3931
Change-Id: I3c093df059f4ff70e3f99669c2bdea7d84cefcc6
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3753
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: I4537ed49b7fc57683bfc487f0d212642b7e69f17
|
|
Issue-ID: POLICY-2086
Change-Id: I3c7d95863e1f46f5d0217bad6bd486de95e16b3a
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
|
|
*** This commit is generated by a PF release script ***
policy/api is update from 2.6.0-SNAPSHOT to 2.6.1-SNAPSHOT
Issue-ID: POLICY-3827
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I97fed624445ab4469af4fb700ec256639f529e62
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Use an account other than healthcheck in API for provisioning of policies.
Issue-ID: POLICY-2744
Change-Id: If41467531152a73ecda2756886914ba0a4c6d9b4
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
|
|
Change-Id: I94e617c835a2413350ca6c77f4ee19a35001946b
Issue-ID: POLICY-3696
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Change-Id: Ib1a2acd59f444b618ff20d293962aa1d5a6d5118
Issue-ID: POLICY-3696
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Issue-ID: POLICY-3587
Change-Id: Id1a7936fe6ac1769fb5c005a7a3c1a858dcf7104
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3611
Change-Id: Iadb64d651a2d75f1a2912e56af55ab70d912f8d0
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
Adding a method in policy/api HealthCheckProvider
to verify database connectivity.
The same can then be reported in policy consolidated heath check
done by PAP as well.
Issue-ID: POLICY-2896
Change-Id: Id80ade57829b37ace15ae19caeefd08af61aebd5
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3488
Change-Id: I704e8b10db6fb8b5c3df13f255fc2076df03f1a2
Signed-off-by: ktimoney <kevin.timoney@est.tech>
|
|
Reimplemented the statistics manager to use a singleton instead of
static fields.
Also changed some fields to "private".
Issue-ID: POLICY-3392
Change-Id: Ic708f7fa29cba795c47d387764267016163f679f
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Change-Id: I858b3bff44804f3bf0c04bd637fafa0c01af2e57
Issue-ID: POLICY-3392
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
The new version of checkstyle identified new issues. Fixed those.
Issue-ID: POLICY-3285
Change-Id: I47c7fe172d40ff5cd4b6309eeb1ed6ac5222240d
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Fixed sonars:
- use "var" instead of actual type name
Issue-ID: POLICY-3285
Change-Id: I349e57f7abe84138f5aa3478e22652a593b59845
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Removed GroupValidationResult, replacing it with BeanValidationResult.
Modified the ParameterGroup subclasses to use BeanValidator, adding
annotations where needed to trigger the validations that had been
automatically performed by GroupValidationResult.
Issue-ID: POLICY-2059
Change-Id: I774950e98c9421064bacf735e0f5a5ab18540570
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
CMD Class to use CMD Handler from Common.
Issue-ID: POLICY-3129
Change-Id: I7a1b960b1e3ecc6df0f7dde6b3301d640f4feb11
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
|
|
The Keystore is no longer needed in the tarball, as it is supplied
externally by the CSITs and Helm charts. Deleted that file.
Also modified the junits to use utils-test to generates keystores at
runtime, thus deleted the junit keystore file, too.
Issue-ID: POLICY-3143
Change-Id: Ib3e2001f2dc41a528d1be2e81091a278cc31dff8
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3139
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I08670a96d0d37e5eb906eace95f15e2a4dfa0887
|
|
Issue-ID: POLICY-3105
Change-Id: Ia2016f32738100e8c795b3045d5739a4985a97a1
Signed-off-by: pd1248 <pdragosh@research.att.com>
|
|
Issue-ID: POLICY-3127
Change-Id: I2abb531ed01043777888cbb4c7412f3ddf18397d
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3127
Change-Id: Ib0cad9bba202428374281b29e1768975fcb09374
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3088
Change-Id: I8be2082cbae2c462807baeba2cb33e64d819e4be
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
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>
|
|
Issue-ID: POLICY-2648
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I3a71de299009e61f805d8c48a57a3c34a3f3ae76
|
|
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>
|
|
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>
|
|
Issue-ID: POLICY-2900
Change-Id: I3c83f7580a683c22dd1edc46da029851f28d9e0d
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-2875
Change-Id: Ib4aadc085ba3be5e8dd0ca6ad63d46a64b3c886a
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-2869
Change-Id: Ie70eec72b830c81fb2ae518a7747f8d504b2e831
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Issue-ID: POLICY-2839
Change-Id: I7d35215e5b3dc404a6fbfcf45dee0735d74adfbb
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
|
|
Issue-ID: POLICY-2827
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I69958705d3b626410748fabf4d41aa4e682309c1
|
|
Moved from SDC.
Issue-ID: SDC-3229
Change-Id: I7e2b16e7190cfd4dd3a0c789fc8c8e85496863de
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
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>
|
|
Issue-ID: POLICY-2789
Change-Id: Ib834f2cc5eeedcca7e2cb0aaeaf7f6230570508f
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Preloads the Match Policy Type.
Issue-ID: POLICY-2596
Change-Id: I5e0843afb13c2ed9f8fcdefd44d9b7aede15fbcd
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
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>
|
|
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>
|
|
New guard filter should be pre-loaded.
Issue-ID: POLICY-2590
Change-Id: I4c7338400a05f9e766c14f2477e84b10ac0a7f06
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
|
|
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>
|
|
Change-Id: I9e46aa87bfefbd56ef0077017293df34b654e36f
Issue-ID: POLICY-2755
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Issue-ID: POLICY-2762
Change-Id: I8e4b3cb5968a691dd9ac3ad9a42ccd7d9fc7b963
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|