summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-06Fixed bug introduced by sql injeciton protection.Temoc Rodriguez3-62/+73
Added missing colon before the named parameters. Fixed a typo parameter name. Fixed bad cast by setParameter. This fixes issues encountered in the UI. Whenever a policy is moved, renamed, or deleted it makes a db call and that db call fails on setParameter method. This hibernate method is supposed to automatically detect the type of the object for the named parameters but it fails with type Long. It tries to convert to int and it fails. A check is now added for type Long. Issue-ID: POLICY-278 Change-Id: Idbb4067a5ec2cc9d9b040de9e574ba2564e1ee2c Signed-off-by: Temoc Rodriguez <cr056n@att.com>
2017-10-05changes to fix settings.xml and propertiesTej, Tarun3-3/+37
Changes to settings.xml file to point to ONAP repos and xacml pdp properties changes to point to proper class. Issue-Id: POLICY-295 Change-Id: I7d501fc76a457b513353e51287dd39302051ea22 Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-10-02Merge "Adding entries to .gitignore"Jorge Hernandez1-0/+24
2017-09-29Merge "Updates to policy documentation"Pamela Dragosh2-4/+11
2017-09-29Updates to policy documentationSaryu Shah2-4/+11
Included the table of contents in api and arch doc ------------------------------------------------------------- Change-Id: I50a977cd3c9781c1f2b5804d9043f097246e2528 Issue-Id: POLICY-241 Signed-off-by: Saryu Shah <ss3917@att.com>
2017-09-29Adding entries to .gitignorePamela Dragosh1-0/+24
When "mvn clean install" is run, the following is leftover: Your branch is up-to-date with 'origin/master'. Untracked files: (use "git add <file>..." to include in what will be committed) BRMSGateway/logs/ BRMSGateway/sql/ BRMSGateway/src/test/resources/META-INF/generatedCreate.ddl BRMSGateway/src/test/resources/META-INF/generatedDrop.ddl BRMSGateway/src/test/resources/failure.properties LogParser/logs/ ONAP-PAP-REST/catalina.base_IS_UNDEFINED/ ONAP-PAP-REST/pdps/ ONAP-PAP-REST/sql/ ONAP-PAP-REST/src/test/resources/generatedCreate.ddl ONAP-PAP-REST/src/test/resources/generatedDrop.ddl ONAP-PAP-REST/src/test/resources/webapps/ ONAP-PDP-REST/catalina.base_IS_UNDEFINED/ ONAP-PDP-REST/sql/ ONAP-PDP-REST/src/test/resources/config_testing/ ONAP-PDP-REST/src/test/resources/generatedCreate.ddl ONAP-PDP-REST/src/test/resources/generatedDrop.ddl ONAP-PDP-REST/topicBackup.txt ONAP-PDP/logs/ ONAP-XACML/logs/ ONAP-XACML/src/test/resources/pdpstest/ POLICY-SDK-APP/catalina.base_IS_UNDEFINED/ PolicyEngineAPI/logs/ PolicyEngineUtils/logs/ It is distracting when trying to "git add <Files>" to a new commit. Updating the .gitigore to ignore these so they are not listed anymore. Issue-ID: POLICY-274 Change-Id: Ib04c1903cd1ff00b3a1ab45e0c60af439737699d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-09-29Merge "Architecture documentation updates"Pamela Dragosh1-13/+13
2017-09-29Architecture documentation updatesSaryu Shah1-13/+13
Architecture updates after meeting with James and Jeff ------------------------------------------------------------- Change-Id: Ia8a70e7917a38f2ecda308b74f178160d9badbb8 Issue-Id: POLICY-244 Signed-off-by: Saryu Shah <ss3917@att.com>
2017-09-28Revert the SDK propertiesrb71474-8/+8
Changed the portal properties from onap to ecomp. Issue-Id: POLICY-273 Change-Id: I4c62bb1df2c181c6d506e4e4894b0f9e4a44e5cc Signed-off-by: rb7147 <rb7147@att.com>
2017-09-28Fix major sonar issuesshashikanth1-18/+16
Fix major sonar issues in policy/engine module https://sonar.onap.org/component_issues?id=org.onap.policy.engine%3APolicyEngineSuite#resolved=false|severities=MAJOR|rules=squid%3AS1132|fileUuids=AV2blNYr5bp_wwmIUP_g Move the "Duplicate" string literal on the left side of this string comparison. Issue-Id:POLICY-272 Change-Id: I78d4d627aa58fd90340c9e780728bae12a0b78bc Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-09-28Merge "Policy API support for Rainy Day Decision Policy"Jorge Hernandez13-20/+82
2017-09-27Added R1 MS Tosca templaterb714711-2722/+4
Added the MS Tosca template to db scripts and cleaned up old policies. Issue-Id: POLICY-264 Change-Id: I0ee5cffbb78d1f7df0379b71fe0f3368587aa9a6 Signed-off-by: rb7147 <rb7147@att.com>
2017-09-27Merge "New controller support from BRMSGW"Jorge Hernandez7-49/+184
2017-09-27Merge "Policy api documentation updates"Pamela Dragosh1-4/+14
2017-09-27New controller support from BRMSGWTej, Tarun7-49/+184
Amsterdam controller support from brmsgw persepective Issue-Id: POLICY-263 Change-Id: I6b28757128998d3dedb86abada02b1d1ea4d3a8a Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-27Policy api documentation updatesSaryu Shah1-4/+14
Policy api documentation updates ------------------------------------------------------------- Change-Id: If6f997ba1a14dbd0d42654993f444632ea4f6301 Issue-Id: POLICY-241 Signed-off-by: Saryu Shah <ss3917@att.com>
2017-09-27Merge "POLICY api documentation file updates"Pamela Dragosh1-4/+14
2017-09-27Merge "Policy Architecture documentation"Pamela Dragosh1-1/+88
2017-09-26POLICY api documentation file updatesSaryu Shah1-4/+14
POLICY api documentation file updates ------------------------------------------------------------- Change-Id: Ifaf9c34030e47311d5bb146a6ae9795321d3aaa3 Issue-Id: POLICY-241 Signed-off-by: Saryu Shah <ss3917@att.com>
2017-09-26Policy Architecture documentationSaryu Shah1-1/+88
Policy architecture documentation in RST ------------------------------------------------------------- Change-Id: Ibeb8d49d7241a1f76e8b3e5f4e12383f72da6fea Issue-Id: POLICY-244 Signed-off-by: Saryu Shah <ss3917@att.com>
2017-09-26Policy API support for Rainy Day Decision PolicyMichael Mokry13-20/+82
Enhances the Rainy Day Decision Policy by providing API support to manage Rainy Day Decision policies and dictionaries Change-Id: Ia7c49199ac057fa8bcc9de74f5e0b8dba395d43a Issue-ID: POLICY-269 Signed-off-by: Michael Mokry <mm117s@att.com>
2017-09-25Merge "Added api document"Pamela Dragosh1-2/+16
2017-09-25Merge "String literal comparision on left side"Jorge Hernandez2-9/+9
2017-09-25String literal comparision on left siderama-huawei2-9/+9
Used isEmpty instead of size method Issue-ID: POLICY-239 Change-Id: I9007fa99b40e53000a972147079ec6db4ecc7a66 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-24Added api documentSaryu Shah1-2/+16
Testing the api document for policy ------------------------------------------------------------- Issue-Id: POLICY-241 Change-Id: I7b943b147fb51805dbd6d38723d684817ac37912 Signed-off-by: Saryu Shah <ss3917@att.com>
2017-09-22Added api documentSaryu Shah1-16/+2
Testing the api document for policy Change-Id: Ic7d2bc57f1298354351e9c4aaf29984e7db06494 Issue-Id: POLICY-241 Signed-off-by: Saryu Shah <ss3917@att.com>
2017-09-22Merge "Adding documentation placeholders"Pamela Dragosh14-2/+134
2017-09-22Adding documentation placeholdersPamela Dragosh14-2/+134
Starting point for policy engine documentation Issue-ID: POLICY-190 Change-Id: I165bc9c709523e2b76890e6b8acd0b0c2a40625a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-09-22Merge "Add New Junit Tests For ONAP-XACML"Pamela Dragosh3-0/+546
2017-09-22Add New Junit Tests For ONAP-XACMLguangxingwang3-0/+546
Add three new java junit test files to ONAP-XACML Issue-ID: POLICY-52 Change-Id: I900f09c9baf773e46dadddf9d715af6033ffce0e Signed-off-by: guangxingwang <gw1218@att.com>
2017-09-22Merge "Additional Junit coverage for PAP REST"Pamela Dragosh5-4/+463
2017-09-22Additional Junit coverage for PAP RESTTej, Tarun5-4/+463
additional tests for Policy engine PAP project Issue-Id: POLICY-52 Change-Id: I9a23ca758783e8f370c82a56143b53e3c858051c Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-21Adding Junits for policy engine PDPuj426b5-17/+478
Additional coverage for Policy PDP Issue-Id: POLICY-52 Change-Id: I1d401a150359ddb15c48098d0bd1dbd11e4d2b44 Signed-off-by: uj426b <jauhari.utkarsh@gmail.com>
2017-09-21Merge "Added Junits for POLICY-SDK-APP"Pamela Dragosh30-95/+535
2017-09-21Added Junits for POLICY-SDK-APPrb714730-95/+535
Issue-Id: POLICY-52 Change-Id: I439c95736f50fe9140e71cad5a598c5b5239161b Signed-off-by: rb7147 <rb7147@att.com>
2017-09-21Merge "Redundant code removal and hadrcoded strings"Jorge Hernandez12-480/+470
2017-09-21Merge "Add New Junit For ONAP-XACML"Jorge Hernandez2-0/+644
2017-09-21Merge changes from topic '13891'Jorge Hernandez3-19/+22
* changes: String literal comparision on left side Used isEmpty to check collection is empty or not
2017-09-21Merge "Used entrySet instead of keySet"Jorge Hernandez2-18/+19
2017-09-21Add New Junit For ONAP-XACMLguangxingwang2-0/+644
Add new junit tests for ONAP-XAML Change-Id: I4b18b0ef7c693fed3848447d674321fb45437cb5 Issue-ID: POLICY-52 Signed-off-by: guangxingwang <gw1218@att.com>
2017-09-21Upgrade to release oparent versionPamela Dragosh1-1/+1
Following independent release and versioning process guidelines. Issue-ID: POLICY-225 Change-Id: I59ae6da324b000dd31d340cca27aa05e86acab94 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-09-21Redundant code removal and hadrcoded stringsBharat saraswal12-480/+470
Issue-Id:POLICY-252 Change-Id: Ifeadfe6dfd0d428a0580c627eeca1fc19b58c856 Signed-off-by: Bharat saraswal <bharat.saraswal@huawei.com>
2017-09-21String literal comparision on left siderama-huawei2-6/+12
Issue-ID: POLICY-239 Change-Id: Iee03160b28ffadb296f3926c7d7c5ac98fac535e Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-21Used isEmpty to check collection is empty or notrama-huawei1-13/+14
Issue-ID: POLICY-239 Change-Id: I5c6a43ac0f66e02b4f2f6644f0936a846708e2a5 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-21Used entrySet instead of keySetrama-huawei2-18/+19
Removed useless assignment to the local variables and useless parenthesis Moved string literal on the left side of the actual string comparison. Issue-ID: POLICY-239 Change-Id: Ie66c92dac548a17d73a976bf0bc57039fd99a5b6 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-20Merge "Modify pom to exclude 3rd party javascript"Jorge Hernandez2-0/+2
2017-09-20Merge "Added the "@Override" annotation"Pamela Dragosh4-2/+6
2017-09-20Merge "Fix for Sonar major issues"Pamela Dragosh8-1/+9
2017-09-20Merge "Fix for Sonar major issues"Pamela Dragosh3-26/+25
2017-09-20Modify pom to exclude 3rd party javascriptPamela Dragosh2-0/+2
The 3rd party javascript and css code is provided by portal team and should not be included in code coverage for sonar. Issue-ID: POLICY-253 Change-Id: I7a03dda032d06452f806dbb768338d6ca55b6375 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>