summaryrefslogtreecommitdiffstats
path: root/models-examples
AgeCommit message (Collapse)AuthorFilesLines
2021-02-16Fix the Naming policy examplesebdet1-2/+2
Change the attribute derived_from of the policy.data.increment-sequence attribute in the Naming policy example. It should inherit from tosca.datatypes.Root Issue-ID: POLICY-3067 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: I7a62b8c662b90a8481bb609d6a39e33ab9e7dada
2020-10-27Bump models master to 2.4.0 SNAPSHOTJim Hahn1-1/+1
Bumping minor version now that guilin branch has been created. Issue-ID: POLICY-2875 Change-Id: Iec7868062610a3acca6f883f999615ccc109f850 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-19Bump models to 2.3.6 snapshotJim Hahn1-1/+1
Issue-ID: POLICY-2869 Change-Id: I98223c20d6d1d6d9bf5bd958d9d3ed4aacdf17e6 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-09Bump models to 2.3.5Jim Hahn1-1/+1
Issue-ID: POLICY-2863 Change-Id: Iba0dfe78576a2ad1551c165e3b9f53fa3c55259a Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-09Bump models to 2.3.4 snapshotJim Hahn1-1/+1
Issue-ID: POLICY-2863 Change-Id: I9d764a0cd695aa95a5880fd20b594e465d14c658 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-07Bump models to 2.3.3Jim Hahn1-1/+1
Issue-ID: POLICY-2839 Change-Id: Ifd7f45854904545b4f2973e1429cb791ac00b600 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-10-06rename controller.controllerName to controller.namejhh1-1/+1
Issue-ID: POLICY-2860 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I097e15f5e6343b26bfb1afe69c530ce3142e18ec Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-09-24Add DCAE policy typesPamela Dragosh3-0/+307
These policy types were removed from SDC and added into policy. They are legacy and will be determined later if they should be permanently deleted or moved into use case code. The default fields need to be changed because our TOSCA code expects a string and does not recognize list. Issue-ID: SDC-3229 Change-Id: I36a03032134d6d320d1a459cfe1d56ce6a702d5d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-09-08Bump models to 2.3.2Jim Hahn1-1/+1
Issue-ID: POLICY-2789 Change-Id: I19b397ecb165bea30059142d9d4c5357ceba9825 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-08-28Default policies to usecases controllerJim Hahn9-9/+9
The example operation policies specify the "frankfurt" controller. Modified them to specify the "usecases" controller instead. Issue-ID: POLICY-2748 Change-Id: I468b43a80e09dd054ba3b8fa8dbc47c8d7efd548 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-08-25Merge "Add new match Policy Type"Ram Krishna Verma1-0/+7
2020-08-24Add new match Policy TypePamela Dragosh1-0/+7
Allows Policy Designers to design their own matchable Policy Type out-of-the-box with ONAP. Issue-ID: POLICY-2596 Change-Id: I632201f50b565d5a558f8a773bf658407bedbfe6 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-08-24Merge "Remove legacy operational policy from models"Jim Hahn7-39/+0
2020-08-19Upgrade new tcagen2 policy typePamela Dragosh10-21/+21
The old cdap policy type is deprecated by DCAE. Thus, we are simply replacing with the new tcagen2 policy type. Issue-ID: POLICY-2772 Change-Id: I1442340729b5f820f2e265b9b86f6f6f84f49bca Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-08-17Add new guard filter policy typePamela Dragosh1-0/+65
New policy type for testing and preloading. Issue-ID: POLICY-2590 Change-Id: Ic542c61bd402387870306fce9a1977b169052ef9 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-08-14Remove legacy operational policy from modelsRam Krishna Verma7-39/+0
Removing all the legacy operational policy related concepts, providers, examples etc from models repo. Issue-ID: POLICY-2764 Change-Id: Ie820271381674ccc4eaef0bd6379f673f67701e7 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-09Bump policy/models to 2.3.1-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2695 Change-Id: I64473cc81ae48942010472f15faac75c13cb0b7d Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-06-18make vDNS example use modelVersion stringjhh4-4/+4
Issue-ID: POLICY-2652 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2b632b8380f32715d1e0b526445f445cae79e90d Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-06-12Adding 'name' to yamls and json in modeladitya.puthuparambil53-6/+97
Issue-ID: POLICY-2052 Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech> Change-Id: I3629a2b6f9e93f6d8166e63862d15dd0198865af
2020-05-19Bump models master to 2.3.0-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2514 Change-Id: I6a3d4e588a0ff0d15fccf49de66c51ea7d709b4b Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-05-19Bump models to 2.2.7-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2514 Change-Id: Ie482926a56a5250be5d78a97aa7c1c19311a292c Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-05-10Merge "Add another blacklist entry for testing"Liam Fallon1-1/+2
2020-05-08Add another blacklist entry for testingPamela Dragosh1-1/+2
So I can adequately test blacklist. Issue-ID: POLICY-2490 Change-Id: I60c9a0fb0d597c1517a756b96dfcc32fcd39dd37 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-05-08Add missing payload section in vFW examplesjhh3-1/+8
Issue-ID: POLICY-2552 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I7acc7a7771ded3bc76c3fe420c93c077d84f0d31
2020-04-28modifications in example sdnc naming policyjhh1-6/+9
Issue-ID: POLICY-2525 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I7c6880b63b3ff8f986fb0de27656eda8f6e596a2 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-04-24Bump models patch 2.2.6-SNAPSHOTPamela Dragosh1-1/+1
Also point to parent, common snapshots Issue-ID: POLICY-2510 Change-Id: Iad79c341bcfb8cb6bb828ee71e199ba3bb9a838b Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-17Update monitoring policies to match DCAEPamela Dragosh6-77/+51
From testing last Wednesday 4/15. Update our policies to match what DCAE is loading and is used for Integration E2E testing. https://git.onap.org/dcaegen2/platform/blueprints/tree/blueprints/k8s-tca.yaml Issue-ID: POLICY-2507 Change-Id: I2492e214625099884113ac0bc76e26181f992f0e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-16Merge "Add version to example yaml files"Pamela Dragosh9-10/+19
2020-04-16Add version to example yaml filesJim Hahn9-10/+19
Determined that some of the yaml files were not suitable for use in the CSITs, because they were missing the "version" property. Added it where needed. Also added type_version where it was missing, as well. Issue-ID: POLICY-2491 Change-Id: I47bf0ec2b99d29580390a6e90512dfd903b042d6 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-15Add example drools native artifact policiesjhh4-2/+47
Issue-ID: POLICY-2378 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iab36c4b3214bef90dfe4a6f00ff68df04e3de203 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-04-14Bump models to 2.2.5-SNAPSHOTRam Krishna Verma1-1/+1
Issue-ID: POLICY-2378 Change-Id: I5461bafd3c2d19f4f457da0816bba117a2d8b550 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-04-14Merge "Example usecases as controller native policy"Ram Krishna Verma2-0/+211
2020-04-14Example usecases as controller native policyjhh2-0/+211
Issue-ID: POLICY-2489 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I94f8761982a6f257081a06667fccf9e089a9640e
2020-04-14Change length to a stringPamela Dragosh2-3/+3
This field is now a string. Issue-ID: POLICY-2486 Change-Id: Ie6707e29f2b069e3938897b62bd0591fd023016e Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-13Fix strings in naming policyPamela Dragosh1-4/+4
Issue-ID: POLICY-2486 Change-Id: I89b2bfd2ac00c407aa90c34e898e9701cca54925 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-11Bump models patch 2.2.4-SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-2378 Change-Id: I51c6c57bdcc0299c25b5ee05f47c20f4542bc02d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-02change drools op. policies controller namejhh11-14/+14
Issue-ID: POLICY-2465 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I4f6cc6e7d40eb362374e0bef33772ab894b915fb
2020-03-31Fix the policy model metadata for CLAMPsebdet1-1/+1
Fix the metadata section for CDS/operation, there was a mistake in the parameter value Issue-ID: CLAMP-801 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ic25173dc24874d0877969872f20ad4d8df0703fd
2020-03-25Bump models 2.2.3-SNAPSHOTPamela Dragosh1-1/+1
Released 2.2.2 Issue-ID: POLICY-2378 Change-Id: I829f0dfc88aeaf1f9b7efad91c983628f2a5d706 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-25Change metadata for clampsebdet1-4/+8
Update metadata form clamp in the operational common model, so that it helps the user in the UI. Issue-ID: CLAMP-786 Signed-off-by: sebdet <sebastien.determe@intl.att.com> Change-Id: Ib44391bd58a478558c3881243839b65cf2b1846d
2020-03-24Bump policy-models to version 2.2.2-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-2378 Change-Id: I644e45822154f57d2bf6a81e55df07e2e4ca6966 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-03-23Add version to compliant operational policiesjhh2-2/+4
Issue-ID: POLICY-2356 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I5636ec4e92ff87fdefb9a6372a150ad021aeec16 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-03-13Adding APEX example to policy modelsa.sreekumar1-0/+2896
Change-Id: Idc3da44d99d8d8228a9bc6be49039c2fa02b350e Issue-ID: POLICY-2424 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-03-09Merge "Add optional controllerName in Op. Legacy Policies"Jorge Hernandez2-2/+4
2020-03-09Add optional controllerName in Op. Legacy Policiesjhh2-2/+4
Optional controllerName has been added to Legacy Operational policies to be able to route Operational Policies to an specific drools controller. Currently, the policies are deployed to all controllers that support a policy type. In the case, that there are multiple controllers set, and the policy is only to be routed to one of them, this field should be populated. Issue-ID: POLICY-2388 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I7288ce0069a723b8e6ec535331dc9cda56fbf130
2020-03-09Fix guard policy types and policiesPamela Dragosh5-17/+39
Ensured the correct properties are available for each guard Policy Type. Added vDNS blacklist policy for testing. Issue-ID: POLICY-2243 Change-Id: I1cdcd3810f226446cd12f2123f8a9f41e6b5b4b2 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-06TOSCA Compliant Guard PoliciesPamela Dragosh65-358/+160
Fixing the legacy guard policies and renaming them so we are able to differentiate them. Adding newer, cleaner TOSCA Guard Policies that match the operational guard policies. Removing legacy guard policies. Fixing JUnit so that they don't use indexes to test whether versions are changed correctly. Added back in new guard policies. Fixed the guard policy types to use camel case. Issue-ID: POLICY-2243 Change-Id: Ie611f26f73f41e64c0b467f524f470739158f437 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-05Make Controller policy type derived from nativejhh2-71/+71
onap.policies.drools.Controller has been made to be derived from native, and it has been consolidated under the onap.policies.native.Drools.yaml. Additionallly some renaming of fields has been done in an attempt to be more representative of its content. Issue-ID: POLICY-2388 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I5b1cf04f36db01b917b77eff4ab5254073be9b0c Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-03-04Fix tca monitoring tca_policy typePamela Dragosh1-3/+1
Should not use map or entry_schema Issue-ID: POLICY-2408 Change-Id: Ieebe625676edab6c44323b7c69a50cc22099235f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-02-27Remove controllerVersion (no use at this point).jhh1-4/+0
It is not clear what would be the controller version for at this point. We could add back if we find a good use for this field. Issue-ID: POLICY-2388 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ic5dfeb1f39172550c7a0bda538992b0c64d1c71e