summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-08-11Sonar cleanup for integrity-auditMagnusen, Drew (dm741q)11-36/+67
Modified classes in integrity-audit module to resolve major sonar issues. Issue-ID: [POLICY-96] Change-Id: I5ef0abb8d2a3ea1ae93edc00363c4d2bea1747e2 Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
2017-08-08Merge "[POLICY-96] Resolved sonar blockers in im/ia."Pamela Dragosh2-40/+95
2017-08-07Merge "[POLICY-149]policy-common integration with oparent"Jorge Hernandez2-74/+13
2017-08-04[POLICY-96] Resolved sonar blockers in im/ia.Magnusen, Drew (dm741q)2-40/+95
Resolved 7 sonar blockers in the integrity monitor and integrity audit projects. Change-Id: I7bba7619d3b71f7aebcc2642d07a64876ee7aea0 Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
2017-08-04[POLICY-149]policy-common integration with oparentGuo Ruijing2-74/+13
Change-Id: I63ae06a4ed4d9f327a75da021d710da6616465c8 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-08-04[POLICY-98] Code cleanup for sonar issues.Magnusen, Drew (dm741q)15-161/+87
Modified code in ECOMP-Logging to resolve critical/major sonar issues. Not all issues were resolved as some guidance needs to be provided for specific cases. Restored config/policyLogger.properties file. It was modified by a junit test. Change-Id: I49fee98b2497d9d503d81bbbacbb1b416e1058a7 Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
2017-08-01Merge "[POLICY-134] Fixed bug in PolicyLogger."Pamela Dragosh1-9/+1
2017-08-01[POLICY-134] Fixed bug in PolicyLogger.Magnusen, Drew (dm741q)1-9/+1
PolicyLogger.info(Object arg0) calls itself recursively until it eventually causes a stack overflow error. Fix is to call debugLogger.info(MessageCodes, String) from within PolicyLogger.info(Object). Additionally, PolicyLogger.info(String arg0) was removed as debugLogger.info(MessageCodes, String) can be called directly. Change-Id: Id141027b544efa06b79f54a6726843b2a47481b9 Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
2017-07-31[POLICY-71] forgot one onap-stagingPamela Dragosh1-1/+1
Change-Id: If1edee2823e1edc83781b2e757364b62cb9b6d36 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-07-31[POLICY-71] revert serverIDsPamela Dragosh1-6/+6
Change-Id: I9a9b2ba08d4570c1782914fbc087e9c0d6328ed2 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-07-31[POLICY-71] adding back site-managerPamela Dragosh1-1/+1
The error for merging is permissions issue. Helpdesk #43714 Change-Id: Ifc641b630b023defc56da42aa3359ad330361395 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-07-31[POLICY-71] temp remove of site-managerPamela Dragosh1-1/+1
Change-Id: I2f5190eadbdd73683895f84f5a492bae536b6533 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-07-31[POLICY-71] replace openecomp for policy-commonGuo Ruijing80-296/+298
Change-Id: I3241f5d1f0234043b4dff718eda1ffdc48052276 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-07-26[POLICY-81] Modified site-manager pom.xml to prevent superfluous warnings ↵Magnusen, Drew (dm741q)1-0/+7
during maven build. The addition of a <configuration> stub was added to the site-manager pom.xml. The stub excludes the org.eclipse.persitence:javax.persistence artifact from the uber-jar created by the maven-shade-plugin. The artifact was a duplicate and maven was throwing an excessive amount of warnings. Change-Id: I1eaeeb569f67aea5578af68d277f44577a20b379 Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
2017-07-25[POLICY-81] Code cleanup to eliminate the presence of warning messages in ↵Magnusen, Drew (dm741q)29-138/+53
Eclipse. Change-Id: Id98fdf0241487d56707ac91cde47975c91225f3c Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
2017-07-25Merge "[POLICY-8] clean commons from sonar blockers"Pamela Dragosh2-11/+26
2017-07-24[POLICY-105] Modifications to RefreshStateAuditKevin McKiou3-11/+26
Made the refreshStateAudit configurable and changed the default interval to 10 minutes from 1 minute. Added a check to fpCheck to check the state of the dependent before setting the opstate to disabled. Added a refresh to the forwardprogressentity object in stateAudit() so that we are not reading stale timestamp data. Change-Id: I394feca083fc1fb356d11b9f6886e566c31f248a Signed-off-by: Kevin McKiou <km097d@att.com>
2017-07-24[POLICY-8] clean commons from sonar blockersJorge Hernandez2-11/+26
Change-Id: Ibcc238b21d6ff860a3df80e8bd570a14f5367b5d Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-06-09[POLICY-8 POLICY-9] cleaning logging issuesJorge Hernandez3-88/+51
A bit of a messy area to clean up without redoing. This is an attempt to clean warnings and being a little more friendly to the callers. policy-9: sonar blocker with dereferencing null pointers in flex logger. policy-8: clean up other warnings from eclipse and sonar. Change-Id: I7aa175673c22490909ae6b40a911a03931961ae3 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-05-09Batch submitRalph Straubs3-6/+580
[ECOMPD2TD-000] Update version.properties for iter 41 [US866186 1707] Adding methods to IntegrityMonitor to support state audit. [US866186 1710] Made more progress on teh stateAudit method of IntegritryMontor. Completed all except the addition of properties. [US866186 1710] Addition of IntegrityMonitorProperties.STATE_AUDIT_INTERVAL_MS and logic to stateAudit to determine whether or not to run [US866186 1710] Created a JUnit for getAllForwardProgressEntity() method and debugged and fixed it. [US866186 1710] Making progress on the testStateAudit() JUnit. Was able to create forward progress entries and manually change the lastUpdated date on an entry using a persistence update query. [US866186 1710] First cut of stateAudit JUnit test. Still need to test more cases, but I got it working so far. [US866186 1710] Completed the JUnit for stateAudit. Added 5 new scenarios. Conflicts: version.properties Change-Id: I7b5622a27021cf01b5d916b75824d8e51b5252eb Signed-off-by: Ralph Straubs <rs8887@att.com>
2017-05-03[POLICY-10] remove external repoPamela Dragosh1-3/+3
Change-Id: I9aa00159579aa49c7b9e20415f3f76bdec8b4e27 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-04-28Change name to show Policy Engine for sonar.Pamela Dragosh1-1/+1
Change-Id: I03e282c1dc5f002cae2b862239f72afad23af0e6 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-04-20Batch submitRalph Straubs18-241/+593
[ECOMPD2TD-1073 1707] Removal of extra flush statements and addition of rollbacks in catch blocks instead of commits. [ECOMPD2TD-1073 1707] Adding some needed synchronized statements to IntegrityMonitor. [ECOMPD2TD-1159] - Loggers should be Serializable By making loggers Serializable, they can be included in Drools persistent data. 'EelfLogger' and 'SystemOutLogger' can do this trivially, but 'Logger4J' needed some additional work, because it has a non-serializable field 'log'. [ECOMPD2TD-000] Fix versioning of org.openecomp.policy.* dependencies [US866186 1707] First cut of stateCheck mod and non-working JUnit [US866186 1707] Completed the coding for the task TA1998344 which adds a check of forward progress for dependencies. [US866186 1707] Completed updates to IntegrityMonitor.stateCheck and IntegrityMonitorTest which includes addition of a JUnit for stateCheck and control of the order of JUnit execution. [US865296] ECOMP Policy Logging Compliance, add TargetEntity and TargetServiceName, remove unit from ElapsedTime [US865296] ECOMP Policy Logging Compliance, set audit log statuscode to 'COMPLETE' instead of N/A [US865296] ECOMP Policy Logging Compliance, remove time unit (seconds and milliseconds) from ElapsedTime for logging compliance [US866186 1707] Cleaned up IntegrityAudit JUnit tests. [US866186 1707] IntegrityMonitor JUnit clean up [US866186 1707] Re-added missing classes that were erroneously deleted. [US865296] - add get/setters and inits for required log fields Change-Id: I76ef4606ed6832ed48eaca68e72839a05c8bc3a8 Signed-off-by: Ralph Straubs <rs8887@att.com>
2017-04-12Allow push on custom repoAnaël Closson1-4/+7
Current configuration doesn't give the possibility to fully change where the artifacts should be pushed. This blocks the possibility to push artifacts to a custom repository outside of the LF Change-Id: I0a0f02ec72c06ffe3d41d25538072c0db0e99317 Signed-off-by: Anaël Closson <ac2550@intl.att.com>
2017-04-10javadoc detailsPamela Dragosh1-2/+35
Change-Id: Ib9e96b7d388fbe6c2ce2564953fda735fb65042d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-03-30update to ONAPPamela Dragosh2-2/+2
Change-Id: I193359ec88e361e3aee8316bca720f3ad5e80acb Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-03-10upgrade version.propertiesPamela Dragosh1-1/+1
Change-Id: Id7ce741e0217a36bb7b8bc65c0af4b2e9657857d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-03-10upgrading to 1.1.0-SNAPSHOTPamela Dragosh5-5/+5
Change-Id: I33d11e370801ff9d0f21339ccf953d29c872ff09 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-03-10Merge "weird version"Pamela Dragosh1-5/+0
2017-03-10weird versionPamela Dragosh1-5/+0
Change-Id: I822d994cbedb196e9e5e03e94039f044ab9489ca Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-03-10Merge "change version to 1.0.0"Pamela Dragosh0-0/+0
2017-03-10change version to 1.0.0Pamela Dragosh5-28/+10
Change-Id: I5c99ec86ddeabb6e03685a98e87c1a42a685fd3c Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-03-10change version to 1.0.0Pamela Dragosh5-28/+10
Change-Id: I305363f5296904aea9147717198e0ea8433d4de8 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-23clean pom.xml fix 1.7 to 1.8Pamela Dragosh4-9/+1
Change-Id: Id7332f7611f4247ba7df7a520aa22815275a1b30 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-22cleaning up gitignorePamela Dragosh1-0/+1
Change-Id: Ie9b0398e4724a3cfea68203b13bc894245ee5b90 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-22cleaning up gitignorePamela Dragosh1-13/+2
Change-Id: Ib5bb595e332561e2f70abf52a8f3ab72268640f9 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-19adding back in unit tests with ignorePamela Dragosh11-0/+7349
Change-Id: Ib81e9a63869b8a97b858d204e38637acd5483083 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-17add staging and fix versionPamela Dragosh2-36/+21
Change-Id: I2c12f6f9afc3bc6e41f887cc437cf819cbf93239 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-16Removing JUnit testsPamela Dragosh11-7331/+0
Change-Id: I4df12acdca56955bc462c90b36791f7562be95ba Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-15change javadoc to point to policyPamela Dragosh1-1/+1
Change-Id: Id4fd446f4fe74206cd4eb56111b85793bccc9526 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-15Added distribution configuration.Pamela Dragosh1-0/+28
Change-Id: I26dacd01e863288d4d2675e183fad08575264ee5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-14Initial OpenECOMP policy/common commitPamela Dragosh96-0/+23259
Change-Id: I61cd29d6d8bf8702c1a66915895b519bf3484afa Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-02-14Initial empty repositoryAndrew Grimberg0-0/+0