policy/common.git
7 years ago[POLICY-71] temp remove of site-manager 21/6421/1
Pamela Dragosh [Mon, 31 Jul 2017 14:53:07 +0000 (10:53 -0400)]
[POLICY-71] temp remove of site-manager

Change-Id: I2f5190eadbdd73683895f84f5a492bae536b6533
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
7 years ago[POLICY-71] replace openecomp for policy-common 81/5781/5
Guo Ruijing [Fri, 28 Jul 2017 08:21:14 +0000 (08:21 +0000)]
[POLICY-71] replace openecomp for policy-common

Change-Id: I3241f5d1f0234043b4dff718eda1ffdc48052276
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
7 years ago[POLICY-81] Modified site-manager pom.xml to prevent superfluous warnings during... 79/6279/1
Magnusen, Drew (dm741q) [Wed, 26 Jul 2017 19:01:25 +0000 (14:01 -0500)]
[POLICY-81] Modified site-manager pom.xml to prevent superfluous warnings 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>
7 years ago[POLICY-81] Code cleanup to eliminate the presence of warning messages in Eclipse. 37/6237/1
Magnusen, Drew (dm741q) [Tue, 25 Jul 2017 17:25:52 +0000 (12:25 -0500)]
[POLICY-81] Code cleanup to eliminate the presence of warning messages in Eclipse.

Change-Id: Id98fdf0241487d56707ac91cde47975c91225f3c
Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
7 years agoMerge "[POLICY-8] clean commons from sonar blockers"
Pamela Dragosh [Tue, 25 Jul 2017 14:50:12 +0000 (14:50 +0000)]
Merge "[POLICY-8] clean commons from sonar blockers"

7 years ago[POLICY-105] Modifications to RefreshStateAudit 97/6197/1
Kevin McKiou [Mon, 24 Jul 2017 22:52:01 +0000 (17:52 -0500)]
[POLICY-105] Modifications to RefreshStateAudit

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>
7 years ago[POLICY-8] clean commons from sonar blockers 83/6183/1
Jorge Hernandez [Mon, 24 Jul 2017 16:24:40 +0000 (11:24 -0500)]
[POLICY-8] clean commons from sonar blockers

Change-Id: Ibcc238b21d6ff860a3df80e8bd570a14f5367b5d
Signed-off-by: Jorge Hernandez <jh1730@att.com>
7 years ago[POLICY-8 POLICY-9] cleaning logging issues 43/4943/2
Jorge Hernandez [Fri, 9 Jun 2017 14:43:41 +0000 (09:43 -0500)]
[POLICY-8 POLICY-9] cleaning logging issues

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>
8 years agoBatch submit 03/4003/1
Ralph Straubs [Tue, 9 May 2017 08:17:21 +0000 (03:17 -0500)]
Batch submit

[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>
8 years ago[POLICY-10] remove external repo 45/3845/1
Pamela Dragosh [Wed, 3 May 2017 13:02:10 +0000 (09:02 -0400)]
[POLICY-10] remove external repo

Change-Id: I9aa00159579aa49c7b9e20415f3f76bdec8b4e27
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agoChange name to show Policy Engine for sonar. 55/3755/1
Pamela Dragosh [Fri, 28 Apr 2017 14:50:47 +0000 (10:50 -0400)]
Change name to show Policy Engine for sonar.

Change-Id: I03e282c1dc5f002cae2b862239f72afad23af0e6
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agoBatch submit 55/3555/1
Ralph Straubs [Thu, 20 Apr 2017 10:26:49 +0000 (05:26 -0500)]
Batch submit

[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>
8 years agoAllow push on custom repo 79/3379/1
Anaël Closson [Wed, 12 Apr 2017 10:38:57 +0000 (12:38 +0200)]
Allow push on custom repo

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>
8 years agojavadoc details 71/3271/1
Pamela Dragosh [Mon, 10 Apr 2017 17:32:38 +0000 (13:32 -0400)]
javadoc details

Change-Id: Ib9e96b7d388fbe6c2ce2564953fda735fb65042d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agoupdate to ONAP 35/2735/1
Pamela Dragosh [Thu, 30 Mar 2017 13:32:18 +0000 (09:32 -0400)]
update to ONAP

Change-Id: I193359ec88e361e3aee8316bca720f3ad5e80acb
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agoupgrade version.properties 01/2001/1
Pamela Dragosh [Fri, 10 Mar 2017 18:22:29 +0000 (13:22 -0500)]
upgrade version.properties

Change-Id: Id7ce741e0217a36bb7b8bc65c0af4b2e9657857d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agoupgrading to 1.1.0-SNAPSHOT 97/1997/1
Pamela Dragosh [Fri, 10 Mar 2017 18:01:28 +0000 (13:01 -0500)]
upgrading to 1.1.0-SNAPSHOT

Change-Id: I33d11e370801ff9d0f21339ccf953d29c872ff09
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agoMerge "weird version"
Pamela Dragosh [Fri, 10 Mar 2017 17:53:24 +0000 (17:53 +0000)]
Merge "weird version"

8 years agoweird version 93/1993/2
Pamela Dragosh [Fri, 10 Mar 2017 17:44:56 +0000 (12:44 -0500)]
weird version

Change-Id: I822d994cbedb196e9e5e03e94039f044ab9489ca
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agoMerge "change version to 1.0.0"
Pamela Dragosh [Fri, 10 Mar 2017 16:50:39 +0000 (16:50 +0000)]
Merge "change version to 1.0.0"

8 years agochange version to 1.0.0 81/1981/1
Pamela Dragosh [Fri, 10 Mar 2017 16:45:59 +0000 (11:45 -0500)]
change version to 1.0.0

Change-Id: I5c99ec86ddeabb6e03685a98e87c1a42a685fd3c
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agochange version to 1.0.0 79/1979/1
Pamela Dragosh [Fri, 10 Mar 2017 16:28:23 +0000 (11:28 -0500)]
change version to 1.0.0

Change-Id: I305363f5296904aea9147717198e0ea8433d4de8
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agoclean pom.xml fix 1.7 to 1.8 71/1271/1
Pamela Dragosh [Thu, 23 Feb 2017 10:56:25 +0000 (05:56 -0500)]
clean pom.xml fix 1.7 to 1.8

Change-Id: Id7332f7611f4247ba7df7a520aa22815275a1b30
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agocleaning up gitignore 39/1239/1
Pamela Dragosh [Wed, 22 Feb 2017 20:08:07 +0000 (15:08 -0500)]
cleaning up gitignore

Change-Id: Ie9b0398e4724a3cfea68203b13bc894245ee5b90
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agocleaning up gitignore 19/1219/1
Pamela Dragosh [Wed, 22 Feb 2017 17:13:26 +0000 (12:13 -0500)]
cleaning up gitignore

Change-Id: Ib5bb595e332561e2f70abf52a8f3ab72268640f9
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agoadding back in unit tests with ignore 31/831/1
Pamela Dragosh [Sun, 19 Feb 2017 21:40:30 +0000 (16:40 -0500)]
adding back in unit tests with ignore

Change-Id: Ib81e9a63869b8a97b858d204e38637acd5483083
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agoadd staging and fix version 47/647/1
Pamela Dragosh [Fri, 17 Feb 2017 16:29:43 +0000 (11:29 -0500)]
add staging and fix version

Change-Id: I2c12f6f9afc3bc6e41f887cc437cf819cbf93239
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agoRemoving JUnit tests 45/545/1
Pamela Dragosh [Thu, 16 Feb 2017 16:58:19 +0000 (11:58 -0500)]
Removing JUnit tests

Change-Id: I4df12acdca56955bc462c90b36791f7562be95ba
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agochange javadoc to point to policy 83/483/1
Pamela Dragosh [Thu, 16 Feb 2017 01:12:47 +0000 (20:12 -0500)]
change javadoc to point to policy

Change-Id: Id4fd446f4fe74206cd4eb56111b85793bccc9526
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agoAdded distribution configuration. 33/433/1
Pamela Dragosh [Wed, 15 Feb 2017 19:02:44 +0000 (14:02 -0500)]
Added distribution configuration.

Change-Id: I26dacd01e863288d4d2675e183fad08575264ee5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agoInitial OpenECOMP policy/common commit 55/355/1
Pamela Dragosh [Wed, 15 Feb 2017 00:31:53 +0000 (19:31 -0500)]
Initial OpenECOMP policy/common commit

Change-Id: I61cd29d6d8bf8702c1a66915895b519bf3484afa
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
8 years agoInitial empty repository
Andrew Grimberg [Tue, 14 Feb 2017 22:56:20 +0000 (22:56 +0000)]
Initial empty repository