policy/docker.git
5 years agopick up drl from beijing branch 59/49859/1 beijing
Jorge Hernandez [Thu, 31 May 2018 21:01:37 +0000 (16:01 -0500)]
pick up drl from beijing branch

Change-Id: Ibeda43bc7e3c89ab36e0416bd9cde7c21ed7191d
Issue-ID: POLICY-877
Signed-off-by: Jorge Hernandez <jh1730@att.com>
5 years agominor cosmetic tweaks for 1.2.3 35/49835/1
Jorge Hernandez [Thu, 31 May 2018 17:54:16 +0000 (12:54 -0500)]
minor cosmetic tweaks for 1.2.3

The changes are cosmetics to leave the docker repo
a bit more tidy for release.

The switch from openecom.org to onap.org is
functionally noop .conf files as both domain names are
supported.

The BRMS_DEPENDENCY_VERSION is noop as it will
be properly substituted by the underlying docker-install.sh
invocation during docker brmsgw container instantation
bringup.

Change-Id: I154a1e1560dd7083609080d8f56e47e4d62b99eb
Issue-ID: POLICY-877
Signed-off-by: Jorge Hernandez <jh1730@att.com>
5 years agoAdjust conf files for logger 07/48807/1 2.0.0-ONAP 2.0.0-ONAP v1.2.3
Jim Hahn [Wed, 23 May 2018 19:47:28 +0000 (15:47 -0400)]
Adjust conf files for logger

Because this shares the log4j.properties embedded within policy/common,
the target for the IntegrityMonitor.log cannot be changed.  Thus the
PARSERLOGPATH was modified to point to that location.

Change-Id: Ib68ddb327aa9ef7520314dad354d52c2f409d42e
Issue-ID: POLICY-759
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoUse hard-coded path in conf files 51/48551/1
Jim Hahn [Tue, 22 May 2018 18:38:20 +0000 (14:38 -0400)]
Use hard-coded path in conf files

Replace ${{POLICY_LOGS}} with hard-coded path in conf
files, as the former does not get expanded.

Change-Id: I7686ba75656086ffccb714289b927cf75f8b3e72
Issue-ID: POLICY-759
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoheat install - update to use onap.org 29/48529/1
Jorge Hernandez [Tue, 22 May 2018 16:59:36 +0000 (11:59 -0500)]
heat install - update to use onap.org

Cosmetic in heat install as openecom.org still works.
Better to use onap.org domain moving forward though.

Change-Id: Ic3f843beb7c58326c5d6db1d8cba70c6e43a65db
Issue-ID: POLICY-853
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoUse preinstall hook in docker image to get CL app 21/47721/1
Jorge Hernandez [Tue, 15 May 2018 21:32:20 +0000 (16:32 -0500)]
Use preinstall hook in docker image to get CL app

Change-Id: Id096c43bb3cb7e88ba1ec2e3ca1a788bd01847a4
Issue-ID: POLICY-797
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoallow db non-root access to 35/47335/1
Jorge Hernandez [Mon, 14 May 2018 03:54:59 +0000 (22:54 -0500)]
allow db non-root access to

The databases to which the non-root policy user are
granted access are: operationshistory10 (guard) and
pooling (pooling feature).

Change-Id: Id8653e872a7750fe9e037ad2872b5541241ef4e7
Issue-ID: POLICY-788
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoallow non-root user to access migration database 41/46941/1
Jorge Hernandez [Thu, 10 May 2018 02:58:52 +0000 (21:58 -0500)]
allow non-root user to access migration database

Change-Id: I890daecb9b24bbc21c989f4e3c5fe9c4d1aa2005
Issue-ID: POLICY-788
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoAdd pooling topic 89/46689/2
Jim Hahn [Tue, 8 May 2018 20:30:43 +0000 (16:30 -0400)]
Add pooling topic

Added pooling topic for amsterdam-closed-loop feature.  Only used
when pooling is enabled.
Moved property to feature-specific conf file and renamed the
property so it isn't specific to amsterdam-cl.

Change-Id: I98ad8ca5bbcf910d204b460cadd15345a1d71370
Issue-ID: POLICY-782
Signed-off-by: Jim Hahn <jrh3@att.com>
6 years agodefault dcae consumer group configuration 61/46661/1
Jorge Hernandez [Tue, 8 May 2018 16:49:51 +0000 (11:49 -0500)]
default dcae consumer group configuration

The idea is that by default all pdp-ds will share the
same dcae topic, therefore load-balanced in onsets.

Change-Id: Id92906f123c4b8b21f84629bdf0a7fe03dc70aa1
Issue-ID: POLICY-766
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agofix PE DB transaction lock timeouts. 13/46513/2
Jorge Hernandez [Tue, 8 May 2018 01:10:45 +0000 (20:10 -0500)]
fix PE DB transaction lock timeouts.

I hope this fixes all DB related issues that
are being seen by integration teams.

The failOver jdbc parameters + perhaps some changes in underlying
code and persistence libraries may have been causing the
PAP to become useless.   A thread dump shows that a significant
number of threads were in timed-wait state, waiting on a lock
trying to acquire a connection.   In SB07, the system became
useless in terms wouldn't accept any transaction.

These changes to the PE provided jdbc parameters seems
to be behaving in the expected way, and the expectation is
that fixes the problems (behavior is good in own OOM lab).

It is thought that this may perhaps solve
POLICY-773, POLICY-775, POLICY-779, and perhaps POLICY-776.

Change-Id: Ib2319b68b5a503f61c2cb04998c549b7b97f9f31
Issue-ID: POLICY-777
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoupgrade mariadb version 43/46343/1
Jorge Hernandez [Mon, 7 May 2018 04:03:13 +0000 (23:03 -0500)]
upgrade mariadb version

this was an exercise to see if it helps with
the pessimistic lock exceptions on PE side.
The problem still persists, in any case,
the database was outdated, and better to
run with a more up to date one.

Change-Id: I8e51617fde6c1ac9870d1680ebe81e039a333489
Issue-ID: POLICY-777
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoMerge "Add INFO.yaml file"
Pamela Dragosh [Tue, 1 May 2018 12:09:22 +0000 (12:09 +0000)]
Merge "Add INFO.yaml file"

6 years agoAdd INFO.yaml file 59/45359/2
Jessica Wagantall [Tue, 1 May 2018 03:08:01 +0000 (20:08 -0700)]
Add INFO.yaml file

Add INFO.yaml to list:
- Project description
- Properties
- PTL information
- Meeting information
- Committer information

Change-Id: Ibfc6f602281665eedb8d75d2ab3f165a15bb3ec4
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoremove keystores from docker-compose project 95/44695/2
Jorge Hernandez [Wed, 25 Apr 2018 15:56:42 +0000 (10:56 -0500)]
remove keystores from docker-compose project

These are companion changes to
https://gerrit.onap.org/r/#/c/44687/
https://gerrit.onap.org/r/#/c/44715/

The docker-compose instance still could add
a policy-keystore of its liking here, in which
case it will be honored and replaced the default
one cooked in the image.

Change-Id: I9f8aba7bdeb232a38b971ea60d7b88c135d08a7d
Issue-ID: POLICY-747
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoremoving policy nexus build 85/43585/3
Jorge Hernandez [Wed, 18 Apr 2018 17:47:08 +0000 (12:47 -0500)]
removing policy nexus build

remove unnecessary build of policy-nexus
fix version number of dockerhub nexus image.
update pom file with current master version

Issue-ID: POLICY-737
Change-Id: I929ea8bf1c0f115e12d6be23e90e727f3c6f7264
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoUse AAF root certificates 97/43597/1
Jorge Hernandez [Wed, 18 Apr 2018 18:37:03 +0000 (13:37 -0500)]
Use AAF root certificates

swap truststore with AAF provided one,
changed the password from the default jdk
one to the default one used in policy installations

Change-Id: I106408e7fdbf87e3bd2a4822387db05c79a0524c
Issue-ID: POLICY-747
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoAdd missing license headers 13/43113/1
Pamela Dragosh [Mon, 16 Apr 2018 18:15:46 +0000 (14:15 -0400)]
Add missing license headers

I know some of these files should be removed, but let's
do that in a different JIRa.

Issue-ID: POLICY-741
Change-Id: Id974ff1bcfa9d34d8828e644dce337d8cdc056eb
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoScript to make an application to drools docker 89/41389/3
Jorge Hernandez [Fri, 6 Apr 2018 15:14:12 +0000 (10:14 -0500)]
Script to make an application to drools docker

Change-Id: I25cdf1bb728c381395e5531913be6f51979dfb20
Issue-ID: POLICY-735
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoMerge "Update docker tag convention"
Pamela Dragosh [Thu, 29 Mar 2018 14:32:09 +0000 (14:32 +0000)]
Merge "Update docker tag convention"

6 years agoUpdate docker tag convention 35/37535/2
Jessica Wagantall [Wed, 21 Mar 2018 17:38:42 +0000 (10:38 -0700)]
Update docker tag convention

Update docker tagging script used by daily
release builds:

$VERSION-STAGING-YYYYMMDDTHHMMSSZ

Change-Id: Ib3207f175fd41a8e90664bb1a139d4e0a3fcf259
Issue-ID: CIMAN-132
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agomake drools and nexus containers restartable 87/39887/2
Jorge Hernandez [Wed, 28 Mar 2018 22:39:51 +0000 (17:39 -0500)]
make drools and nexus containers restartable

use dockerhub image for nexus instead of producing our
own.   9081 is exposed in the host.

Issue-ID: POLICY-575
Change-Id: Ia72303507aee071e0f12e9a77b3ce03bae8b3ed7
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoRemove ECOMP trademark 77/39777/1
Pamela Dragosh [Wed, 28 Mar 2018 18:26:08 +0000 (11:26 -0700)]
Remove ECOMP trademark

Issue-ID: POLICY-696
Change-Id: I39a1008ab8083d2594d02781d717ad7f0d1cc0fe
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agochange logging location default for PE 87/39087/1
Jorge Hernandez [Tue, 27 Mar 2018 13:04:44 +0000 (08:04 -0500)]
change logging location default for PE

Change-Id: I21e71cd635b32186a507f9ba9e40fc85aa413339
Issue-ID: POLICY-533
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoMerge "Renamed docker images"
Pamela Dragosh [Fri, 16 Mar 2018 12:46:16 +0000 (12:46 +0000)]
Merge "Renamed docker images"

6 years agoUpdate oparent version to 1.1.0 33/35833/1
liamfallon [Wed, 14 Mar 2018 21:39:28 +0000 (21:39 +0000)]
Update oparent version to 1.1.0

Directive from ONAP project that all repos should be
updated. Change vierified with a build with .m2 /org/onap
cleared.

Change-Id: Iec111c8442d219071339530a7ef891ff532928b9
Issue-ID: POLICY-693
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
6 years agoRenamed docker images 79/35779/1
mmis [Wed, 14 Mar 2018 12:35:35 +0000 (12:35 +0000)]
Renamed docker images

Renamed from:
onap/policy/policy-nexus
to
onap/policy-nexus
and updated references to renamed onap/policy-pe and onap/policy-drools.
This enables consistent naming across nexus and docker hub

Issue-ID: POLICY-674
Change-Id: Id28ea0db973b58582bc368b0a6f92c552c54c2db
Signed-off-by: mmis <michael.morris@ericsson.com>
6 years agoChange default log location per logging guidelines 35/34835/1
Jorge Hernandez [Thu, 8 Mar 2018 19:06:07 +0000 (13:06 -0600)]
Change default log location per logging guidelines

Change-Id: Idada49011808038a195ef2c499688d0e88b301cd
Issue-ID: POLICY-554
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoconfiguration option for log location 79/34679/2
Jorge Hernandez [Thu, 8 Mar 2018 06:19:29 +0000 (00:19 -0600)]
configuration option for log location

Change-Id: I083c09054916655bdbaeb50414b76f821fcd579a
Issue-ID: POLICY-554
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoRemove policy-os and policy-base images 07/34107/2
mmis [Mon, 5 Mar 2018 18:23:39 +0000 (18:23 +0000)]
Remove policy-os and policy-base images

Remove the policy-os and policy-base images in favour of including their contents directly in the policy-pdp and policy-pe images

Issue-ID: POLICY-624
Change-Id: Ie4ef62d5a7fc0edb481be13891ee12cf9271674c
Signed-off-by: mmis <michael.morris@ericsson.com>
6 years agoMerge "Modify docker to build base only"
Jorge Hernandez [Fri, 2 Mar 2018 18:17:33 +0000 (18:17 +0000)]
Merge "Modify docker to build base only"

6 years agoModify docker to build base only 59/33659/2
Pamela Dragosh [Thu, 1 Mar 2018 19:25:19 +0000 (14:25 -0500)]
Modify docker to build base only

Adding in push of policy-base so we can test the new
docker image builds for policy/engine and policy/drools-pdp

Issue-ID: POLICY-623
Change-Id: I0d4c94f559c6c06e88d97e3e2c53859c0f36afaa
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agomissed env vars in docker-compose for mariadb 85/33485/1
Jorge Hernandez [Wed, 28 Feb 2018 23:22:45 +0000 (17:22 -0600)]
missed env vars in docker-compose for mariadb

Change-Id: Iecd208d8c85aac010f80f6a7e3c8f64a0c018d21
Issue-ID: POLICY-650
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agodocker db image simplification 53/33253/1
Jorge Hernandez [Tue, 27 Feb 2018 17:41:54 +0000 (11:41 -0600)]
docker db image simplification

1. use mariadb image from docker registry to simplify set up.
2. remove harcoded root and user mariadb accounts
3. restrict access to user account to just specific databases.

Change-Id: Iaa916dbf2de2474fcc483a4be6167b4b92a2de61
Issue-ID: POLICY-650
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoRename maven modules in drools-applications 11/31711/4
liamfallon [Wed, 14 Feb 2018 12:11:30 +0000 (12:11 +0000)]
Rename maven modules in drools-applications

The dependency on drools-applications "apps" module
changes name to "controlloop.common.apps"

See
https://gerrit.onap.org/r/#/c/31593/2

Change-Id: Iaf8b791f015ff50664c194976a9a2c84453e6e7b
Issue-ID: POLICY-238
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
6 years agoChange keystore paswords 49/29549/2
Temoc Rodriguez [Mon, 22 Jan 2018 20:59:23 +0000 (12:59 -0800)]
Change keystore paswords

Changed the keystore password on both drools and pe keystores to match the
changed default given in base.conf file.

Issue-ID: POLICY-520
Change-Id: Id052815f8bd84e866042eb93a1d2901d279d5115
Signed-off-by: Temoc Rodriguez <cr056n@att.com>
6 years agoCopy Keystore to PE for TLS Support 13/28813/2
Temoc Rodriguez [Mon, 22 Jan 2018 20:59:23 +0000 (12:59 -0800)]
Copy Keystore to PE for TLS Support

Added copy of drools keystore to config/pe so that container has
a copy of the self-signed cert to enable TLS encrpytion with automatic
install process. Added copy to do-start.sh to install keystore in final
destination in pap container.

Issue-ID: POLICY-520
Change-Id: Ie6394b5b79ec98cfa6231c46b21a0b4bfb20869a
Signed-off-by: Temoc Rodriguez <cr056n@att.com>
6 years agoBump minor version 89/24289/2
Jessica Wagantall [Sun, 19 Nov 2017 02:38:53 +0000 (18:38 -0800)]
Bump minor version

Bump minor version in preparation for Amsterdam
branching.

Change-Id: I95eba101b459e466bebca385c7a5ea1b686da0bb
Issue-ID: CIMAN-120
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
6 years agoUpdate to use 1.1.2-SNAPSHOT 51/23651/1
Pamela Dragosh [Wed, 15 Nov 2017 17:04:20 +0000 (12:04 -0500)]
Update to use 1.1.2-SNAPSHOT

Release 1.1.1, update to 1.1.2

Issue-ID: POLICY-436
Change-Id: I516e4644e759dc96712b5d7444ae700a21544592
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoFix release job 11/23211/1
Pamela Dragosh [Sat, 11 Nov 2017 01:45:15 +0000 (20:45 -0500)]
Fix release job

Missing staging repository

Issue-ID: POLICY-441
Change-Id: I0565c5464f21ee06c34c3de416514181227a803d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agobrmsgw 1.1.0 dependencies instead of 1.1.1 87/22987/2
Jorge Hernandez [Thu, 9 Nov 2017 17:20:06 +0000 (11:20 -0600)]
brmsgw 1.1.0 dependencies instead of 1.1.1

Change-Id: I4356091f168a9bb9ada7756611728e04f68e2a3e
Issue-ID: POLICY-436
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoUpdate SNAPSHOT version 31/22631/1
Pamela Dragosh [Wed, 8 Nov 2017 02:16:15 +0000 (21:16 -0500)]
Update SNAPSHOT version

Release v1.1.0 so need to update SNAPSHOT to 1.1.1

Issue-ID: POLICY-436
Change-Id: I4d02fceaeccdbb1e10710bff5c0c0270f765f56f
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agonon onap jars converted to onap version 13/22113/1 1.0.0-Amsterdam 1.0.0-ONAP v1.1.0
Jorge Hernandez [Sat, 4 Nov 2017 20:17:29 +0000 (15:17 -0500)]
non onap jars converted to onap version

xacml-att is a 3rd party library that should
not ve expanded to the onap version in
brms gw

Issue-ID: POLICY-406
Change-Id: Ifddcedd482094ba3cff5d21c8e6b327efc408fb9
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoUpdated the MicroService Polices 53/20853/1
rb7147 [Thu, 26 Oct 2017 18:42:29 +0000 (14:42 -0400)]
Updated the MicroService Polices

Issue-ID: POLICY-373
Change-Id: I7526a5a8f6a93587a9be4aacc4b8c596da8b0122
Signed-off-by: rb7147 <rb7147@att.com>
6 years agochange default DCAE_SERVERS default configuration 25/19925/1
Jorge Hernandez [Fri, 20 Oct 2017 19:06:27 +0000 (14:06 -0500)]
change default DCAE_SERVERS default configuration

new default is vm1.mr.simpledemo.openecomp.org for
Amsterdam release.

Issue-ID: POLICY-363
Change-Id: I88f63058831a92e4c385743e85fcefaffd0bebbd
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoUpdated the Portal Properties 75/19575/1
rb7147 [Wed, 18 Oct 2017 18:39:59 +0000 (14:39 -0400)]
Updated the Portal Properties

Issue-ID: POLICY-354
Change-Id: I7451ed24988952eb387384fd52bfbb884493640b
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoUpdated Operational Policy payload 87/19287/2
rb7147 [Tue, 17 Oct 2017 13:29:49 +0000 (09:29 -0400)]
Updated Operational Policy payload

Issue-ID: POLICY-342
Change-Id: Ia5c0c25cc15a4f6f2d5b7cb10b27729b9968d127
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoUpdated Push Script to Match ComtroloopName 93/18793/1
rb7147 [Fri, 13 Oct 2017 17:28:23 +0000 (13:28 -0400)]
Updated Push Script to Match ComtroloopName

Updated the config policies to match operational policy controlloopname.

Issue-Id: POLICY-342
Change-Id: I1fd94efb43895bdee7d179644c1cbfb6f0725241
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoModify Default DCAE Config Policies and Topic 25/18425/1
Jorge Hernandez [Thu, 12 Oct 2017 03:08:37 +0000 (22:08 -0500)]
Modify Default DCAE Config Policies and Topic

Change-Id: I99e55aa59018abeab1fe4fe77c35df724e4b5a92
Issue-ID: POLICY-313
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoMerge "Updated MS vCPE Config Policy"
Pamela Dragosh [Wed, 11 Oct 2017 23:14:54 +0000 (23:14 +0000)]
Merge "Updated MS vCPE Config Policy"

6 years agoChange back docker version to 2 69/18369/1
Pamela Dragosh [Wed, 11 Oct 2017 20:54:49 +0000 (16:54 -0400)]
Change back docker version to 2

It never needed to get upgraded to version 3.

Issue-ID: POLICY-315
Change-Id: Ic1ccd72e16acce5815c0a6d0faef673a974dc73b
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoUpdated MS vCPE Config Policy 59/18359/1
rb7147 [Wed, 11 Oct 2017 20:18:25 +0000 (16:18 -0400)]
Updated MS vCPE Config Policy

Issue-Id: POLICY-313
Change-Id: Ie82a7b1ec92dc5b41d3a0deff54235fa7084126c
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoAdd ability to turn off policy preload 89/18089/2
Pamela Dragosh [Tue, 10 Oct 2017 20:18:27 +0000 (16:18 -0400)]
Add ability to turn off policy preload

You can now set environment variable to override whether or not the
policies are pre-loaded by the engines during docker image startup.

The README.md is updated with instructions. Each docker-compose has
a different default set.

The .env file is set to load policies by default to true. You can override
by either changing this file or setting the environment:

export PRELOAD_POLICIES=false

Issue-ID: POLICY-304
Change-Id: Ia96788ac3b8d47814eea1046d96c4e3e4a0b9664
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoFixing the BRMS Param Rule Template 59/18059/2
Tej, Tarun [Tue, 10 Oct 2017 21:14:43 +0000 (17:14 -0400)]
Fixing the BRMS Param Rule Template

Fixing the rule template to use PapParams instead of Params as new changes
from policy/engine

Issue-Id: POLICY-302
Change-Id: Iabb01f065645983bd8010337deabe3007dd93c5c
Signed-off-by: Tej, Tarun <tt3868@att.com>
6 years agoMerge "Rename actor from MSO 2 SO in vDNS policy creation"
Pamela Dragosh [Tue, 10 Oct 2017 19:34:55 +0000 (19:34 +0000)]
Merge "Rename actor from MSO 2 SO in vDNS policy creation"

6 years agoRename actor from MSO 2 SO in vDNS policy creation 27/18027/2
Hockla, Ali (ah999m) [Tue, 10 Oct 2017 18:32:30 +0000 (13:32 -0500)]
Rename actor from MSO 2 SO in vDNS policy creation

Issue-ID: POLICY-306
Change-Id: I9532da916198d56729a0bf9af71477a729bc6ccf
Signed-off-by: Hockla, Ali (ah999m) <ah999m@att.com>
6 years agoFixing Guard Permit Policy 19/18019/1
Tej, Tarun [Tue, 10 Oct 2017 17:18:39 +0000 (13:18 -0400)]
Fixing Guard Permit Policy

Fixing the all permit guard policy to PERMIT using invalid time which always
permits.

Issue-Id: POLICY-305
Change-Id: If5fcde83b51f5e3a925fa03a8262eec3b390b8b5
Signed-off-by: Tej, Tarun <tt3868@att.com>
6 years agoensure policies are not pushed until drools is up 79/17779/1
Jorge Hernandez [Tue, 10 Oct 2017 02:26:57 +0000 (21:26 -0500)]
ensure policies are not pushed until drools is up

Change-Id: I6706fb126ea60abdfb0c540d07b305b8305d0b65
Issue-ID: POLICY-295
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agopdp-x default resolution of indeterminate response 43/17143/1
Jorge Hernandez [Tue, 3 Oct 2017 23:40:43 +0000 (18:40 -0500)]
pdp-x default resolution of indeterminate response

Change-Id: I7913a4e9fb2477c9ec891070cc4dedf71df9500b
Issue-ID: POLICY-275
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoMerge "increase script verbosity for "docker logs" output"
Jorge Hernandez [Tue, 3 Oct 2017 23:35:04 +0000 (23:35 +0000)]
Merge "increase script verbosity for "docker logs" output"

6 years agoResolved the docker script issue 03/17103/2
rb7147 [Tue, 3 Oct 2017 17:37:05 +0000 (13:37 -0400)]
Resolved the docker script issue

Executed the import function from onap swagger and replaced the curl
command.

Issue-Id: POLICY-275
Change-Id: I96e66c0787063de6e6f9739ffdadf12785f30dae
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoincrease script verbosity for "docker logs" output 91/17091/1
Jorge Hernandez [Tue, 3 Oct 2017 16:02:06 +0000 (11:02 -0500)]
increase script verbosity for "docker logs" output

Change-Id: I830b22f4407eb1acf9c23b944bd74d9a1b545a7d
Issue-ID: POLICY-275
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoretrieve latest drl template at load installation 29/16929/1
Jorge Hernandez [Mon, 2 Oct 2017 21:26:13 +0000 (16:26 -0500)]
retrieve latest drl template at load installation

Change-Id: I6de5bd9a72b32f34a350847cbfed8a993647212b
Issue-ID: POLICY-275
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoFixing the BRMSGW version 47/16847/1
Tej, Tarun [Mon, 2 Oct 2017 13:05:03 +0000 (09:05 -0400)]
Fixing the BRMSGW version

Fixing the BRMSGW dependencies version to 1.1.0 instaed of SNAPSHOT version.

Issue-Id: POLICY-276
Change-Id: I6ef6a8e8e0347a8b5dbbdea807186bae165d95e2
Signed-off-by: Tej, Tarun <tt3868@att.com>
6 years agoupdate to the latest drl 41/16541/2
Jorge Hernandez [Fri, 29 Sep 2017 00:43:03 +0000 (19:43 -0500)]
update to the latest drl

Change-Id: I80b53b794832f9f440d60b33ff3958553ef5591f
Issue-ID: POLICY-264
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoAdded Guard Template to PushScript 09/16509/3
rb7147 [Thu, 28 Sep 2017 20:30:47 +0000 (16:30 -0400)]
Added Guard Template to PushScript

Changed Line delimiters to LF
Added Guard Policy creation to script.

Issue-Id: POLICY-264
Change-Id: Ib93b383ae59b4eacfce6953bffdf52bab15f385c
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoMerge "Updated the push policy script"
Jorge Hernandez [Thu, 28 Sep 2017 02:46:33 +0000 (02:46 +0000)]
Merge "Updated the push policy script"

6 years agoNew controller changes to brmsgw conf 91/16091/1
Tej, Tarun [Wed, 27 Sep 2017 20:16:31 +0000 (16:16 -0400)]
New controller changes to brmsgw conf

Issue-Id: POLICY-263
Change-Id: I9919e5e2dcd68264a7c39f3273423e00b2440a4f
Signed-off-by: Tej, Tarun <tt3868@att.com>
6 years agoUpdated the push policy script 89/16089/1
rb7147 [Wed, 27 Sep 2017 20:13:50 +0000 (16:13 -0400)]
Updated the push policy script

Script Contains:
 1. Upload the BRMS template.
 2. Create BRMS and MS R1 policies.
 3. Push the policy to PDP.

Issue-Id: POLICY-264
Change-Id: I2106e2b28bb5d38aab904277c8c302fb0170976b
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoCreate docker compose script integration 43/15943/1
Pamela Dragosh [Wed, 27 Sep 2017 12:03:30 +0000 (14:03 +0200)]
Create docker compose script integration

Use a different docker compose script for integration CSIT
tests.

Issue-ID: POLICY-77
Change-Id: I103f02ef12a4c2f3bfdc6924391ccf195d4e93ff
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoremove chmod and filesystem syncing 63/15763/1
Jorge Hernandez [Wed, 27 Sep 2017 02:22:35 +0000 (21:22 -0500)]
remove chmod and filesystem syncing

drools-apps packaging made it executable to avoid docker issues

Change-Id: I0d78432a0d50c2daa0a9a98ce032865d3b917595
Issue-ID: POLICY-162
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agochmod + script execution issues in docker 81/15681/1
Jorge Hernandez [Tue, 26 Sep 2017 19:57:27 +0000 (14:57 -0500)]
chmod + script execution issues in docker

Change-Id: I96f942cab9d220418be6fe622c86b4bb3eb4e6c9
Issue-ID: POLICY-162
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoinstall support for pdp-x client authentication 43/15143/1
Jorge Hernandez [Mon, 25 Sep 2017 16:18:19 +0000 (11:18 -0500)]
install support for pdp-x client authentication

Change-Id: Ic9d1a164975909261afd50965c0f2a6ab51ff035
Issue-ID: POLICY-260
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoUpgrade to oparent release version 07/14307/1
Pamela Dragosh [Thu, 21 Sep 2017 15:28:44 +0000 (11:28 -0400)]
Upgrade to oparent release version

Following independent release and versioning process guidelines.

Change-Id: I394733f5f28931e0a77e6f2ecf97f905daaf6d8d
Issue-ID: POLICY-225
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoallow for install customizations for drools apps 63/13463/1
Jorge Hernandez [Tue, 19 Sep 2017 12:41:39 +0000 (07:41 -0500)]
allow for install customizations for drools apps

Change-Id: Ifb68e27fd1cd2571ddaec38f5768db58c56b928e
Issue-ID: POLICY-162
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoinstall defaults for guard/so components 69/13169/1
Jorge Hernandez [Mon, 18 Sep 2017 15:20:14 +0000 (10:20 -0500)]
install defaults for guard/so components

Change-Id: I6f8d60c4a8d018a692e371f3e614190392e0525d
Issue-ID: POLICY-162
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoResolved Elastic Search Installation Issue 35/11735/1
rb7147 [Mon, 11 Sep 2017 19:02:42 +0000 (15:02 -0400)]
Resolved Elastic Search Installation Issue

Fixed the docker installation script.

Issue-Id : POLICY-147

Change-Id: I39a183439054e96da7d4227d285f067f5577889e
Signed-off-by: rb7147 <rb7147@att.com>
6 years agoadd installation files as environments for PDP-D 57/10657/3
Jorge Hernandez [Thu, 7 Sep 2017 00:42:47 +0000 (19:42 -0500)]
add installation files as environments for PDP-D

see counterpart drools-pdp review.

this will make installation files available
to PDP-D and its drools applications

Change-Id: Ib06820136b5a93eb0adfcb43216666bcc2677de4
Issue-ID: POLICY-162
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoAAI & MSO config + open port for functional tests 79/9379/1
Jorge Hernandez [Wed, 30 Aug 2017 11:09:32 +0000 (06:09 -0500)]
AAI & MSO config + open port for functional tests

Change-Id: Iee658248e1617dedec5d3a8e9608a104ac696e29
Issue-ID: POLICY-162
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agopolicy executable renaming + minor install changes 89/8989/2
Jorge Hernandez [Mon, 28 Aug 2017 23:25:23 +0000 (18:25 -0500)]
policy executable renaming + minor install changes

Issue-ID: POLICY-162
Change-Id: Iccbe9d8995be3f828e780a724dae1199c8aeb7c6
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoremove DCAE custom config from drools-tweaks.sh 29/7929/3
Jorge Hernandez [Thu, 17 Aug 2017 20:16:53 +0000 (15:16 -0500)]
remove DCAE custom config from drools-tweaks.sh

It has become unnessary since drools-tweaks since the drools-applications
side is changing to use configurable values from base.conf

Change-Id: I1a601b27a3acbd3b4d90e5a023c2f2fe8b0861d0
Issue-ID: POLICY-159
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoMerge "Update link to policy projects."
Pamela Dragosh [Wed, 16 Aug 2017 16:49:55 +0000 (16:49 +0000)]
Merge "Update link to policy projects."

6 years agoMerge "fix policy build by vagrant"
Pamela Dragosh [Wed, 16 Aug 2017 13:29:48 +0000 (13:29 +0000)]
Merge "fix policy build by vagrant"

6 years agofix policy build by vagrant 19/7719/2
Guo Ruijing [Wed, 16 Aug 2017 19:30:00 +0000 (12:30 -0700)]
fix policy build by vagrant

policy build by vagrant fails due to wrong m2 settings

Change-Id: I29df14ab4325349a5814d6f58e6e056c2fa5c9b6
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Issue-Id: POLICY-170

6 years agoUpdate link to policy projects. 27/7727/1
Pamela Dragosh [Wed, 16 Aug 2017 12:59:03 +0000 (08:59 -0400)]
Update link to policy projects.

The current readme references policy projects that don't exist anymore.

Issue-Id: POLICY-171
Change-Id: I501735086da2ecd8cf2164e740c7fc1145ddb144
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
6 years agoRemove unnecessary install of open source package 15/7515/1
Jorge Hernandez [Mon, 14 Aug 2017 23:00:18 +0000 (18:00 -0500)]
Remove unnecessary install  of open source package

Change-Id: I22d20494a66704eae5be805369bc2c6928cd9497
Issue-ID: POLICY-96
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agowget instead of ADD to get binary for docker 07/7007/1
Jorge Hernandez [Tue, 8 Aug 2017 17:31:18 +0000 (12:31 -0500)]
wget instead of ADD to get binary for docker

get flyway binaries through wget in Dockerfile
vs using ADD construct

Change-Id: I4f6c014f4ede6394fd8cbb55fbfb6dfc7e7b1667
Issue-ID: POLICY-66
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agocorrect feature install procedure in docker/drools 23/6923/2
Krzysztof Kwiecien [Tue, 8 Aug 2017 09:44:36 +0000 (11:44 +0200)]
correct feature install procedure in docker/drools

change FEATURES_HOME variable assigment to allow
feature install (including healthcheck feature) in
docker image, change credential to be in line with
robot

Issue: POLICY-145
Change-Id: Ib7640e3947dab280f368531b693dc26e09fa6f21
Signed-off-by: Krzysztof Kwiecien <krzysztof.kwiecien1@orange.com>
6 years agoMerge "[POLICY-153]policy-docker integration with oparent"
Jorge Hernandez [Mon, 7 Aug 2017 20:09:49 +0000 (20:09 +0000)]
Merge "[POLICY-153]policy-docker integration with oparent"

6 years ago[POLICY-145] sed failed expanding special chars 55/6755/1
Jorge Hernandez [Fri, 4 Aug 2017 21:26:24 +0000 (16:26 -0500)]
[POLICY-145] sed failed expanding special chars

The install script fails when expanding configuration variables
with special characters, for example the delimiter.

This fix' scope is for the replacement string escaping.

Change-Id: Icfe8d89b46c7720bf5effaa2f3add6a19e2af2d2
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoMerge "[POLICY-145] global name/value should be local"
Jorge Hernandez [Fri, 4 Aug 2017 21:16:11 +0000 (21:16 +0000)]
Merge "[POLICY-145] global name/value should be local"

6 years ago[POLICY-145] global name/value should be local 13/6713/1
Jorge Hernandez [Fri, 4 Aug 2017 06:13:56 +0000 (01:13 -0500)]
[POLICY-145] global name/value should be local

name/value is used in multiple places in installation script
with global scope since they are not tagged as local in
functions that manipulate it.   A name value from another
called function causes a bad sideeffect in the healthcheck
module preventing from being expanded correctly.

Change-Id: I8ae092f421b79609b2eb7a3a55b4880e5d525a8d
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years ago[POLICY-153]policy-docker integration with oparent 13/6613/1
Guo Ruijing [Thu, 3 Aug 2017 12:02:57 +0000 (12:02 +0000)]
[POLICY-153]policy-docker integration with oparent

Change-Id: Ic06c8af07dda9151450aa863bc033400ff5971b3
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
6 years agoMerge "[POLICY-66] healtcheck feature config and db prep"
Pamela Dragosh [Wed, 2 Aug 2017 16:15:57 +0000 (16:15 +0000)]
Merge "[POLICY-66] healtcheck feature config and db prep"

6 years ago[POLICY-66] healtcheck feature config and db prep 47/6547/2
Jorge Hernandez [Wed, 2 Aug 2017 14:58:13 +0000 (09:58 -0500)]
[POLICY-66] healtcheck feature config and db prep

initial commit pre-introduction of db support on per feature basis

Change-Id: Ie5aec06d38a84be849386fc76d8f1c804213c803
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years ago[POLICY-86] replace openecomp for policy-docker 79/6079/3
Guo Ruijing [Fri, 21 Jul 2017 12:13:56 +0000 (12:13 +0000)]
[POLICY-86] replace openecomp for policy-docker

Change-Id: I4db534a29c73a3cb2d70655ee54c856b83655fb2
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years ago[POLICY-66] use features script to tweak config 69/6069/1
Jorge Hernandez [Wed, 19 Jul 2017 22:11:44 +0000 (17:11 -0500)]
[POLICY-66] use features script to tweak config

instead of previous options script

Change-Id: Icebbcea67a99bb202e50f224d5319a1a0d06f131
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years ago[POLICY-66] self-contained features support 01/5901/1
Jorge Hernandez [Tue, 18 Jul 2017 06:26:12 +0000 (01:26 -0500)]
[POLICY-66] self-contained features support

feature unpackaging in feature directory structure

Change-Id: Ifc2ef8a061ff2348d5ad7ddc98a183b7d31159e8
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agoMerge "[POLICY-70] build/setup policy by vagrant"
Jorge Hernandez [Sun, 16 Jul 2017 06:26:12 +0000 (06:26 +0000)]
Merge "[POLICY-70] build/setup policy by vagrant"

6 years ago[POLICY-70] build/setup policy by vagrant 53/5753/3
Guo Ruijing [Tue, 11 Jul 2017 19:19:14 +0000 (03:19 +0800)]
[POLICY-70] build/setup policy by vagrant

Change-Id: Id594293fe49b9beb6b78ceb21114d4c3f8df2077
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>