summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-05-21Insert pending record when operation startsJim Hahn4-37/+139
Modified code to insert a pending record when an operation starts. Also modified it to update the existing record when the operation completes, rather than adding a new record. Note: the "outcome" for a "pending" record is left unset (i.e., it is null). Issue-ID: POLICY-2581 Change-Id: Ia1a02ed5a16b8af1328a49b22478fd57c4b9aca0 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-20release 1.6.4 docker container6.0.0-ONAPjhh1-0/+8
Issue-ID: POLICY-2514 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I76daf2eb6ce0526f8295b182b69b59dd23d3b17d Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-05-20release maven artifactsjhh1-0/+5
Issue-ID: POLICY-2514 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8d16b1c761e60da4906f5fe9a76fc69a65aa0054
2020-05-20Point to released drools-pdpPamela Dragosh1-1/+1
Issue-ID: POLICY-2514 Change-Id: I3d40c6016b9ce4adc95ed7a4e59719e94f9f5b26 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-05-19Merge "add stability test scripts"Pamela Dragosh2-0/+3210
2020-05-19add stability test scriptsjhh2-0/+3210
Issue-ID: POLICY-2456 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I89a325cfc2dedd10936c28176a0e11e5c54f24b4 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-05-19Merge "Add getter for ControlLoopPolicy instance in ControlLoopProcessor"Jorge Hernandez1-0/+1
2020-05-19Point to released artifactsPamela Dragosh1-4/+4
Issue-ID: POLICY-2514 Change-Id: I10aea2d45c9dae37d7c3c14a82a34da661c3ea60 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-05-18Add getter for ControlLoopPolicy instance in ControlLoopProcessordc443y1-0/+1
This is to allow other frameworks, such as M2, to obtain the ControlLoopPolicy instance after the raw ToscaPolicy has been adapted. Issue-ID: POLICY-2574 Change-Id: I003e60991f6e4007bd30f0e9392f6fa8bf21733a Signed-off-by: dc443y <dc443y@att.com>
2020-05-14Do not encode null fields in SO requestJim Hahn2-0/+2
Currently, the default serialization provider for HTTP clients is jackson, which encodes null fields in requests. Unfortunately, SO does not like the null fields. Fixed this by modifying the SO config parameters to use the GSON serialization provider. Issue-ID: POLICY-2568 Change-Id: I6c2e7c985f23e09940d89409c2a84303bfd54b8a Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-13Merge "Handle duplicate events in drools-apps"Jorge Hernandez5-16/+43
2020-05-13Handle duplicate events in drools-appsJim Hahn5-16/+43
Modified the frankfurt rules to compare the event objects instead of comparing the request ID when determining if an event is new. The event object's equals() method ignores the request ID when doing the comparison, thus it will treat an event as a duplicate even if the request ID is different, which is the behavior we want. Also removed the @Ignore from the junit that tests for duplicate events in the hope that this change will fix it. If the docker build still breaks, then @Ignore can be added back in. Issue-ID: POLICY-2557 Change-Id: If2b9fd26473d78a356218b951bfe160f93daeb32 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-05-13Make that SO actor uses http by defaultjhh1-1/+1
Issue-ID: POLICY-2560 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6cd3de9238793fef671c9e058c494c179d4cb25c
2020-05-08delete dependency section in junit test op.pomjhh1-8/+0
This is to correct junit failures Issue-ID: POLICY-2551 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I4522f01a8ed8a66ddcb09549d4281adbcd644ab7
2020-04-29change the @api path in rest transactions apijhh2-12/+15
Issue-ID: POLICY-2530 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: If21e0607edcf75f491be61012779ddfa5d880105 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-04-28Merge "Plain move from test dir to src"Jorge Hernandez1-0/+0
2020-04-28Bump drools-apps to 1.6.4-SNAPSHOTPamela Dragosh33-36/+36
Issue-ID: POLICY-2510 Change-Id: Ic431fa80f7b389c84b799f8662df81b4f0ea124f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-27Plain move from test dir to srcjhh1-0/+0
The file was placed there by mistake. Issue-ID: POLICY-2456 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I37a0bad7963aa9fe2931d68f5779355471cda345 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-04-27Release drools-apps 1.6.3 docker imagesPamela Dragosh1-0/+8
Issue-ID: POLICY-2510 Change-Id: I1be48970e10b9b536740e98f3d16961e3abb6584 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-27Release drools-apps 1.6.3 javaPamela Dragosh1-0/+5
Issue-ID: POLICY-2510 Change-Id: Ie1be4eca3007ab05a613e60235797a5648857fc7 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-27Bump drools-apps 1.6.3-SNAPSHOTPamela Dragosh33-33/+33
Before I can re-release, the patch needs to be bumped. Issue-ID: POLICY-2510 Change-Id: Ib868d0d72cd28f87b5eb7c233f239d219f699954 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-27Point to released policy/parentPamela Dragosh1-1/+1
Pointing to an unavailable SNAPSHOT Issue-ID: POLICY-2510 Change-Id: Ibc9743908cf67b58db25dadfa1d2151dd72ace57 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-24Release drools-apps 1.6.2 docker imagePamela Dragosh1-0/+8
Issue-ID: POLICY-2510 Change-Id: I10b78ee3a07f13cdbcf9e7216c927d4b66fdf14f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-24Release droosl-apps 1.6.2 javaPamela Dragosh1-0/+4
Issue-ID: POLICY-2510 Change-Id: I69552a7989d1af08d4345c2b901a9ba4acd28514 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-24Point to released artifactsPamela Dragosh1-2/+2
Issue-ID: POLICY-2510 Change-Id: Ie1c77339f42d990dcd608b8afad7153b04fa24f9 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-23transaction tracking improvements with telemetryjhh11-74/+726
Issue-ID: POLICY-2456 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I75b7e8e787d567cf120d7ae7d65d1bff12e8e24e Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-04-20Add properties needed by A&AI PNF OperationJim Hahn2-0/+2
Added properties needed by A&AI PNF Operation. Issue-ID: POLICY-2505 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I58966faf9eb9900123a085bf8093050440c15170
2020-04-16Change CDS operation name to generic "any"Jim Hahn2-10/+10
Issue-ID: POLICY-2504 Change-Id: I4dec3dfd62fa230ad8f0de66c0d1b71e5393bcbd Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-16Fix CDS actor propertiesJim Hahn3-15/+11
CDS actor properties in drools-apps did not match the properties in the actor, itself. Fixed them (as best I could be inspection). Issue-ID: POLICY-2501 Change-Id: Ibb4ac5ee59762bd740342c1d54fc472a9fca8968 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-15bump to 1.6.2-SNAPSHOTjhh33-33/+33
Issue-ID: POLICY-2378 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I8feb308f90755a078d0b35e0d8742e385916c225
2020-04-14release 1.6.1 docker imagejhh1-0/+8
Issue-ID: POLICY-2378 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ic1bbfa4faea580a1fca7fd7104f5c062d19a3e25
2020-04-14Release 1.6.1 artifactsjhh1-0/+4
Issue-ID: POLICY-2378 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6cb53e24996486e98535cdeb99ac0e610d696723 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
2020-04-14Point to released common/models/droolsjhh1-3/+3
Issue-ID: POLICY-2378 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I65f59ca624865d6738ff32657e27ad05a35f3eb8
2020-04-13Point to common/models fixPamela Dragosh1-2/+2
Fix in naming policy and common yaml string fix Issue-ID: POLICY-2486 Change-Id: I311ec07f58c5dd6fe17d8b5e9368e3b78b73e894 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-10Added vpci and vsonh testspramod.jamkhedkar12-6/+347
Added test cases for vpci and vsonh usecases Issue-ID: POLICY-2162 Change-Id: Ia69b16e74b82b92366b5065eeccab8d35f647742 Signed-off-by: pramod.jamkhedkar <pramod@research.att.com> Signed-off-by: Jim Hahn <jrh3@att.com> Signed-off-by: pramod.jamkhedkar <pramod@research.att.com>
2020-04-08Add SDNR notifications to frankfurt rulesJim Hahn6-3/+36
Issue-ID: POLICY-2468 Change-Id: Ibf4d3e5f62fa3106028dcf85050c270b8eab0a89 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-04-07Point to parent SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-2378 Change-Id: I1cb44b953e82e73dc35e5568b2df5ef31484a4fd Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-03Merge "disable but not removed usecases"Jorge Hernandez1-1/+1
2020-04-02remove drools-pdp parent from junit testjhh1-6/+1
parent was wrong an was running into build problems. Issue-ID: POLICY-2459 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I502c85934d8d7f88321805f540448c6d280d856b
2020-04-02disable but not removed usecasesjhh1-1/+1
integration testing to be focused on the new frankfurt controller Issue-ID: POLICY-2465 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I2a15c300bba4647ef613c49a4985f22c5936d00e
2020-04-02Synchronize methods for rulesJim Hahn1-9/+9
Added "synchronized" to a few more methods in the event manager class, just to be safe, as they view/modify data that may be viewed/modified by other threads. Issue-ID: POLICY-2385 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Ia8404fd3fd53b0de95f939dfff2088867e0f3b24
2020-03-30Update path properties for new actorsJim Hahn2-6/+12
Some of the new actors were modified to get their path prefixes from the property files. In addition, the models code was modified to allow an empty "path", so that is now used, where appropriate. Issue-ID: POLICY-2441 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I4573c5e2a506fb67be9bd040ce047612007fd969 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-03-27Point to latest snapshotsPamela Dragosh1-1/+1
Issue-ID: POLICY-2378 Change-Id: Idcc8a7117c7ff898558e7efce6b51c8ebb4ad7be Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-26Fix userName property for http clientsJim Hahn7-9/+9
The http client property files had "username", but the correct property name is "userName". Fixed. Also updated the models version to the latest snapshot to pick up the fix to the APPC actor. Issue-ID: POLICY-2441 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I4d64efcb5b639526beb145ee0231c6d650098d0f
2020-03-26Expand env variables in frankfurt propertiesJim Hahn3-33/+14
Issue-ID: POLICY-2434 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: I1109a053e46dc8201ff9676da0c9ff93d8b631d5 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-03-25Merge "Fix db exception in frankfurt junit"Jorge Hernandez7-27/+41
2020-03-25Merge "Fix db exception in usecases junit"Jorge Hernandez2-1/+49
2020-03-25Merge "Restore SO_URL to usecases controller"Jorge Hernandez1-1/+1
2020-03-25Merge "Bump drools-applications to 1.6.1-SNAPSHOT"Pamela Dragosh34-36/+36
2020-03-25Restore SO_URL to usecases controllerJim Hahn1-1/+1
When a trailing "/" is added to the CONTEXT_URI, it will likely break the usecases SO operations. Thus the SO_URL is being reinstituted for this one actor. Issue-ID: POLICY-2441 Change-Id: I360d1701a0615309a27afbdf7da83f68505626d4 Signed-off-by: Jim Hahn <jrh3@att.com>