Age | Commit message (Collapse) | Author | Files | Lines |
|
Also changed supportedPolicyTypes to PfConceptKey.
Updated licenses.
Removed trailing whitespace from pom.
Provide default request id.
Rebased to fix merge conflict.
Added SupportedPolicyType class.
Renamed SupportedPolicyType to PolicyTypeIdent, and moved it to
models-base. Also updated models-pap to use it.
Deleted models-pdp Policy and replaced it with ToscaPolicy.
Updated test method name.
Change-Id: Id65f769c2f308c6b56e79978bd50b84f2e0b3d02
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Also added a method to PfUtils to simplify cloning lists.
Change-Id: Iae667be02cced57b0b9578e0a96c5cda38111b97
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Module will hold a common error message object used by
API's to clients for returning an overall error message
and list of detail messages and warnings.
Added an example and finished a JUnit test.
Changed to response code from HTTP
Added assertj and used StandardCoder
Issue-ID: POLICY-1195
Change-Id: Id0fcf4831b8d03223c590f8085f207dbbbe559b4
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Interface allows uniform geting of information from checked
and runtime model exceptions
Issue-ID: POLICY-1195
Change-Id: I913b98a4d4b705ed256714392cafc72d6a71877f
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
The unit test MonitoringPolicySerializationTest tests
persistence for policies and shows how persistence works.
Issue-ID: POLICY-1195
Change-Id: I933eb538238f9ccd41ce69614e0c9afcac869c29
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Change-Id: I59acfeeef5e2b93d7d16dbf5c26811a037e255c1
Issue-ID: POLICY-1541
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
Issue-ID: POLICY-1195
Change-Id: Id2dc5b5b490134648ca267e27b795f3f4c03bc7b
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
|
|
Includes:
a) Added serialization/deserialization for tosca policy
b) Added serialization/deserialization for tosca topology template
c) Added serialization/deserialization for tosca service template
More junit tests for serialization/deserialization are being added,
using the example input/output.
Issue-ID: POLICY-1441
Change-Id: I5ef6b5ede35cfb1e88619e92535393cf8056987b
Signed-off-by: Chenfei Gao <cgao@research.att.com>
|
|
Adding various decision models and their
serialization handler classes
Issue-ID: POLICY-1440
Change-Id: I35abfd9745a86b822f658ec3a512b7355cabf068
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
This first patch set is a rough first draft of how
translation will work.
Issue-ID: POLICY-1195
Change-Id: I4a57b049f5756dc6d1e2f4d458d9dd770f928eb2
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
|
|
Update missing information blocks and
indentation to pass verify job.
Change-Id: Ifeeca8d74f480abd56e011b8461dbb64c5fa0664
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
|
|
To match the model.
Issue-ID: POLICY-1195
Change-Id: I939d5080b31cf63cdf51602a9b7bdfa5ece716eb
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
|
|
|
|
Version 1.21 of snakeyaml is breaking junits in policy/pap.
Change-Id: Ic7716c49f7797b8461846f1c61717c620471a2b5
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Change-Id: Ie229b76fbd848811fe919d28eead19060a487157
Issue-ID: POLICY-1541
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
The PDP Group Deploy REST API should take a list of PdpGroup, not a
single PdpGroup.
Change-Id: I0d626ce16793f5bcb3d34b697116f8545861d9f6
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Fill in the bodies of the guard and operational
JSON models.
Issue-ID: POLICY-1195
Change-Id: If15dd8fa89e7a2b9d823eab51ac0b0f8819dd9d4
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
|
|
|
|
Added tests for Yaml policy monitoring
Added provider interface calls in provider and structure for handling legacy APIs.
Issue-ID: POLICY-1195
Change-Id: I4825272e0713b9e6a4b89753828de8905bcffbd1
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Change-Id: I81a624a9cfb93df488bbd447f3ee24d1880048d6
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Add DAO annotations to TOSCA model
Add keying between concepts and define
foreign keys in objects for translation to DB schema
Added provider interface, factory, and stubbed implementation.
Completed unit test for models-base
Completed unit test for models-dao
Completed unit test for models-tosca
Issue-ID: POLICY-1195
Change-Id: I53a0ba8b7a679b6887b38bdab184b60315e0cf5b
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Had already done this, but apparently it didn't make it into a review.
Change-Id: If4b8083ec0ea6286e6531b6f229405473a8d8430
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Change-Id: I16298228f9e390362d4783750274703a4db57811
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
1) Adding models-pap module to policy/models for storing models required
by PAP REST API's.
2) Adding test cases.
Change-Id: I4e8c38f1ebe96e7a50a188f19f4f4a5bed835f99
Issue-ID: POLICY-1541
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
This patch set fixes some typos and license headers.
Issue-ID: POLICY-1195
Change-Id: I2d15b00fcb50ea92746ab7c5a87b57efa07196fe
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Don't need lombok version and the other version tag is overriding
the root pom.xml. Which is the same anyway. Eclipse is good at
flagging these.
Issue-ID: POLICY-1547
Change-Id: I640b9e2e5abd6c88af6d1c63d491c5f2bd3e2ffa
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
|
|
est.tech
Issue-ID: POLICY-1556
Change-Id: If16fea0ec12e83a71fc84cd17997075f3bb135d2
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
This review introduces the basic concepts that all model objects
inherit from. Using this approach, all concepts that inherit from
these types can use standardized DAO handling and marrshal/unmarshal
handling
This approach is a more generic version of the approach used in the
APEX PDP for model handling. The APEX model handling will inherit this
module.
Issue-ID: POLICY-1264
Change-Id: I35b76659ab66cf3f33bee59a5528e49c7edf7796
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Changed to use 2.1.0-SNAPSHOT for policy/parent while keeping
2.0.0-SNAPSHOT for policy/models.
Issue-ID: POLICY-1515
Change-Id: Ia18a3bd5828540c0d9b6340a2493f84d5a27fa60
Signed-off-by: Chenfei Gao <cgao@research.att.com>
|
|
Includes:
a) Added POJOs for TOSCA policy type
b) Added POJOs for TOSCA policy
c) Added POJOs for TOSCA custom data type
d) Added junit tests for POJOs
Issue-ID: POLICY-1515
Change-Id: I230b32339c60b7cd3c0b66adfc3f2b1bb38265c5
Signed-off-by: Chenfei Gao <cgao@research.att.com>
|
|
Issue-ID: POLICY-1264
Change-Id: I9952fcd0e7219bde77c70ad77a982cead4aa15d7
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-1264
Change-Id: I105fd8816cdeaf3901b3f53682431e77edb2c081
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Upgrade to released artifact.
Issue-ID: POLICY-1213
Change-Id: Iac97ab8b1be6a4a46d30d85d02c8e902b5e0acae
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Remove redundant version.
Add checkstyle and code coverage declarations.
Add ignore of idea and checkstyle.
Change-Id: I136628900968cc8ddc0577eb24965d9a221dedf3
Issue-ID: POLICY-1136
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
ONAP sonar requires this naming convention.
Issue-ID: POLICY-805
Change-Id: I4d40fff79696ef4eeae0af0081862ce726e4c202
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Change-Id: I5d1133fc82b3a61cda10813b15223859e6135dfa
Issue-ID: POLICY-805
Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com>
|
|
Add the initialie .gitreview, .gitignore, README and License
Change-Id: Ib99da18f940cac035014872ae5c83df6bd93a3f2
Issue-ID: POLICY-771
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
|
|
Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information
Change-Id: Id45818e846cea36bef34a4f9129f0a51b9b36642
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
|
|
|