summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-09-22Release policy/models: 2.7.0liamfallon1-0/+5
This commit releases repo policy/models. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia11bbcf03bd395a09ca37b0ea30fcf7f198a7006
2022-09-22update parent,common references in policy/models pomliamfallon3-4/+4
updated the parent and common references in the policy/models pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Id8aa96be28172de724a2a106942a99f3494c24a3
2022-09-16Remove unused imports in modelsliamfallon9-10/+1
Issue-ID: POLICY-4045 Change-Id: Iae24996aa0b1047e993c1e08ae1265152a598ece Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-09Remove inactive committers from INFO.yamlliamfallon1-7/+5
Remove inactive committers from INFO.yaml *** This commit is generated by a PF release script *** Issue-ID: POLICY-4354 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Iff58c5e5ea517dfe5c24b0b1f282320404d6a51e
2022-09-06Minor changes 5G SON operational policy examplesjhh4-7/+7
Issue-ID: POLICY-4108 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2ceb258f94734e8b743a97862c4b3d40c768fa43
2022-09-02Allow setting external dockerfile for simulatordanielhanrahan1-1/+3
If building with an external dockerfile, e.g. using mvn clean install -Pdocker -DdockerFile=/path/to/dockerfile docker will look for project files in the same directory as the new dockerfile. A new property is added for setting the context path, to allow using existing project files in src/main/docker. Issue-ID: POLICY-4334 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I25a192d01583f1085055db08477e9be884512091
2022-08-30Sample 5G SON A1 and O1 policiesjhh4-0/+128
Issue-ID: POLICY-4108 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id8df70ab7405ee6225443f6d98de834582f8de5d
2022-08-17Added onap.policies.monitoring.tcagen2 version 2.0.0jhh5-26/+566
Issue-ID: POLICY-4317 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I34158cd21777b6127fd4a306b73fa3446e302c99 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2022-07-29Update docker base image to snapshotliamfallon2-2/+2
Update docker base image to snapshot *** This commit is generated by a PF release script *** Issue-ID: POLICY-4287 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I74a71ccd1034a0bce76237acfedb2fd53a2fd590
2022-07-13Reduce size of docker images for models-simulatordanielhanrahan2-17/+19
Avoid creating extra layers when extracting tarball Remove redundant chown/chmod commands Reduce size of Alpine image by 48% (593MB to 307MB) Reduce size of OpenSuse image by 38% (761MB to 470MB) Issue-ID: POLICY-4271 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I773c92fe64015f5de25d6152853529315df7ca30
2022-07-11Upgrade OpenSuse version to 15.4 for modelsdanielhanrahan1-1/+1
Issue-ID: POLICY-4278 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I4ad815eacef7d3120d8cc8666c57b85e826abd05
2022-07-01Merge "Fix simulator OpenSuse docker file"Jorge Hernandez1-22/+11
2022-07-01Fix simulator OpenSuse docker filedanielhanrahan1-22/+11
Follow the same conventions as other docker files and startup scripts Issue-ID: POLICY-4233 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I1a81864f430837e32eb8214e7862c0293b73e062
2022-07-01Fix CSIT build failurerameshiyer271-1/+1
Policy models simulator is not using the properties file from /etc/mounted/ directory that is provided from CSIT. SSL has been disabled in the default properties file which causes communication failure with other components. Issue-ID: POLICY-4270 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I37b158d37898eec7d0a07be76343469ebd4289f6
2022-06-30Fix simulator docker file and startup scriptliamfallon4-36/+157
The nmodels-simulator startup script is updated to: - enable logging - allow overriding of keystore and truststore - allow overriding of configuration parameters - Follow the same conventions as other docker files and startup scripts - Add labelling - Provide default configuration Issue-ID: POLICY-4233 Change-Id: I6c25dc77c510a52ec298883f2534428807b1c253 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-06-30Merge "OCI image spec labels for models-simulator"Liam Fallon3-0/+41
2022-06-29use url resource for docker-tag -- modelsdanielhanrahan1-18/+4
use groovy url resource from docker repo to identify the tag for docker. Issue-ID: POLICY-3378 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ie93decd775f7169bf9c1705c961f60c00acf7ecf
2022-06-28OCI image spec labels for models-simulatordanielhanrahan3-0/+41
Issue-ID: POLICY-4262 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I6b1fd846febd1e8fbd992254e2ea24d043ec3a4a
2022-06-27Add models-simulator release file to master branchliamfallon1-0/+5
We are not releasing anything with this addition. We are adding the yaml file from the Jakarta branch for releasing policy models 2.6.4. Issue-ID: POLICY-4233 Change-Id: Ib5bad96137c5f48c7c6eb8d5a9233e96ba11b80b Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-06-17Release docker images for policy/models: 2.6.4liamfallon1-0/+8
This commit releases docker images for repo policy/models. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4233 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic762db281750033f98537b4e4d490045f3d8b68a Signed-off-by: liamfallon <liam.fallon@est.tech> (cherry picked from commit ebf9e345929633d69786ab5ca653fb3f66e40b43)
2022-06-02Merge "Add Ramesh Murugan Iyer as a committer"Liam Fallon1-0/+8
2022-06-01Add Ramesh Murugan Iyer as a committerliamfallon1-0/+8
Issue-ID: POLICY-4228 Change-Id: I25cfb53b171a6d8201478809e6bac54ace00ddaa Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-05-31OpenSuse docker file for policy-models-simulatordanielhanrahan4-2/+80
Create OpenSuse docker file Add build profile for OpenSuse docker image Issue-ID: POLICY-4196 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ida526d2c1ca858e2b3c9791048f2dfc405931ca8
2022-05-03Set snapshot and/or references of policy/models for new releaseliamfallon44-47/+47
policy/models updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4073 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I0101973870c989f148e76c52c81fda410451d441 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-27Merge "Update snapshot and/or references of policy/models to latest snapshots"Liam Fallon44-46/+46
2022-04-27Update snapshot and/or references of policy/models to latest snapshotsliamfallon44-46/+46
policy/models updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I5851243a29a820aeab21525f3396752340d41a49
2022-04-27Fix the name of SO processing class in Policyzhaoyh63-3/+3
A new processing class of SO is added in policy, but the name of the processing class was written incorrectly before. Issue-ID: POLICY-4106 Signed-off-by: zhaoyh6 <zhaoyh6@asiainfo.com> Change-Id: Ibfea9f56ed8e2fdb87cd2113a477ff4bfaa0af71
2022-04-27Release policy/models: 2.6.3liamfallon1-0/+4
This commit releases repo policy/models. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ifc583b0eec60cfb6fa4cafb57c1d799332f30387
2022-04-27update parent,common references in policy/models pomliamfallon1-2/+2
updated the parent and common references in the policy/models pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I824f554fb5082adbf3075d190e1cdca8285e1203
2022-04-12Update snapshot and/or references of policy/models to latest snapshotsliamfallon44-46/+46
policy/models updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I9017a7f0c84d9981f49baab59744e8f273aa91df
2022-04-12Release policy/models: 2.6.2liamfallon1-0/+4
This commit releases repo policy/models. *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I43d283ffd745122c8a1be37e37d25b149c4570c0
2022-04-12update parent,common references in policy/models pomliamfallon1-2/+2
updated the parent and common references in the policy/models pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I02491b3aac1d0f53c2a0e5ee300f4712160a6c44
2022-03-21Merge "Fix metadataSet serialization for db persistence and retrieval."Liam Fallon2-2/+38
2022-03-14Fix metadataSet serialization for db persistence and retrieval.rameshiyer272-2/+38
PDP fails to parse metadataSet from PDP_UPDATE message. MetadataSet(Lob) needs to be serialized and de-serialized for storage/retrieval to preserve the format. Issue-ID: POLICY-3934 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I5f7a0649639f142c7afb4dd93cc8081ebaac4081
2022-03-10Closed loop operation guarantee for ccvpnzhaoyh610-0/+350
Issue-ID: REQ-1074 Signed-off-by: zhaoyh6 <zhaoyh6@asiainfo.com> Change-Id: Ib2c60a1e5ebd1fda5e04e75c265e863733caa278
2022-03-10Update snapshot and/or references of policy/models to latest snapshotsliamfallon44-46/+46
policy/models updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia409ca1501edff6e1014d06a7fdee805befc5e17
2022-03-09Release policy/models: 2.6.1liamfallon1-0/+4
This commit releases repo policy/models. *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I4504ead52ee7c219178dbd00a79b9229e99bf699
2022-03-09update parent,common references in policy/models pomliamfallon1-2/+2
updated the parent and common references in the policy/models pom *** This commit is generated by a PF release script *** Issue-ID: POLICY-3982 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I8cf6f4312c0c86d4710823ded53d5ffda2a1256a
2022-02-24Fix for ClassCastException on PfConceptContainer get method usagesRashmi Pujar1-8/+16
Typecasting Map to NavigableMap leads to ClassCastException. The usages of the get methods in delete policy, policyType endpoints in policy/api (using spring data jpa) cause the unchecked class-cast exception. Fix is to instead copy the Map entries into a newly created TreeMap instance. Issue-ID: POLICY-3924 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: I60625980d6f2692ffa7dd3bd9f53d10b43c13f4a
2022-02-16Fix return type of get node templates providerrameshiyer276-17/+10
The return type for fetching node templates can be just a List of ToscaNodetemplates. Removing the map with node template keys as it provides redundant keys in the output. Issue-ID: POLICY-3832 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I43d357fc24af9fd4d127cce139b6d21c53cc98d1
2022-02-16Fix issue with GeneratedValue in PfGeneratedIdKeya.sreekumar22-1984/+135
PfGeneratedIdKey class (which is used as a composite key in JpaPolicyAudit and JpaPdpStatistics) uses GeneratedValue in a wrong way and not according to the specification. This review fixes it. PfGeneratedIdKey class is removed, and the generatedId is directly specified in the JpaPolicyAudit and JpaPdpStatistics classes. Note: These classes are only used by PAP, so the related methods for db interaction is removed as PAP directly talks to DB using spring repository layer. Also the only end result this change brings is that the 'generatedId' alone will be used as the primary key instead of 'generatedId, name and version' together. Corresponding changes in DB Migrator: https://gerrit.onap.org/r/c/policy/docker/+/127139 PAP: https://gerrit.onap.org/r/c/policy/pap/+/127130 Change-Id: Ib4ea8b60ffe5c2480746569c0354bf474a6b7006 Issue-ID: POLICY-3897 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-02-10Add policy metadataSet handling as node templatesrameshiyer2723-14/+4460
Each metadataSet is represented as a 'node_template' in Tosca mapped to a specific node type. Support added for db operations of node templates as independent entities. Detailed documentation available here : https://wiki.onap.org/display/DW/Enable+Handling+of+Policy+Type+Metadata Issue-ID: POLICY-3832 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I6c189142b1778ba858aae27cd92d4f136d950208
2022-01-27Add postgres dependency to modelswaynedunican1-1/+6
Issue-ID: POLICY-2715 Change-Id: Id23cde33d8bafccc69f751491d90c0936d793b59 Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
2022-01-21Add configurable port and authentication to DMaaP simulatordc443y6-13/+163
Issue-ID: POLICY-3890 Signed-off-by: dc443y <dc443y@att.com> Change-Id: Idbeb3590a767e51aa0058a7a45d56a61e81301cb
2022-01-11Fix issues in existing entity classesa.sreekumar9-32/+32
Issues identified in the entity classes are fixed in this review. Some fixes doesn't affect the table structure at all. Tables actually affected by some of these fixes are not really used today, and doesn't contain any data. A separate review is raised for the db-migrator changes. Change-Id: I0efdf2c5f17e12225f1b443b5fe8e27c578229f7 Issue-ID: POLICY-3871 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2022-01-07extend vnf properties model for cds actorsjhh12-121/+684
CDS operations for VNFs default to vFirewall-like behavior for AAI queries where vserver and target resources are required. The properties refactoring allows for enriched vnf-id behavior (similar to vCPE) and provides some leg work for other extensions. Fix dmaap simulator sporadic test errors in junits Issue-ID: POLICY-3865 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iad35e4f2a9e10b1a49818c91b9fec7520e844b8c
2021-12-02Bump parent and common versiona.sreekumar1-2/+2
Change-Id: I3d528cb1086dd444c043fb54cbe0698729e6e1f2 Issue-ID: POLICY-3827 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-11-26Update snapshot of policy/models to 2.6.1-SNAPSHOTliamfallon44-44/+44
*** This commit is generated by a PF release script *** This commit updates the snapshot of the repo to the next patch version. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I7cdc8887455227b8315598add584593188332729
2021-11-25Release policy/models: 2.6.0liamfallon1-0/+4
*** Release Phase 6: This commit is generated by a PF release script *** This is the sixth phase in releasing images, it releases policy/models. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I6ef3c8df269cb1c315a12a0c0f7ed83c290341a0
2021-11-24Update parent and common referencesliamfallon1-2/+2
*** Release Phase 5: This commit is generated by a PF release script *** This is the fifth release phase, it updates parent and common references in policy/models. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic935d5f85db641416461f8cbc0afb5651a65b42c