policy/docker.git
5 years agoRemove unsupported vagrant and update README 86/88986/3
jhh [Fri, 31 May 2019 00:59:07 +0000 (19:59 -0500)]
Remove unsupported vagrant and update README

Change-Id: I1f2c9723a3dae88da524ff4ec5b2b5c0aad813c5
Issue-ID: POLICY-1816
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
5 years agoUpdate to released 83/88383/2
Pamela Dragosh [Thu, 23 May 2019 15:47:24 +0000 (11:47 -0400)]
Update to released

Released drools-applications and models.

Issue-ID: POLICY-1700
Change-Id: I24b044cfd72a77514e8f07cdd8f61ebee165fc00
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoUpdate INFO.yaml 71/88371/2
Pamela Dragosh [Thu, 23 May 2019 15:24:28 +0000 (11:24 -0400)]
Update INFO.yaml

Add ram and Jim

Issue-ID: POLICY-1775
Change-Id: Ia1ef6afb2ad7b901cf0bff849167120af1fa4105
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoUpgrade to release drools-apps 22/87822/1
Pamela Dragosh [Wed, 15 May 2019 23:44:32 +0000 (19:44 -0400)]
Upgrade to release drools-apps

Point to latest drools-applications release

Issue-ID: POLICY-1630
Change-Id: I8732445928530ea6eb70b2465025f713d47f2f6d
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoUpdate to release policy/models 62/87762/1
Pamela Dragosh [Wed, 15 May 2019 11:54:41 +0000 (07:54 -0400)]
Update to release policy/models

Point to release version as the SNAPSHOT will disappear in
about 2-3 weeks.

Issue-ID: POLICY-1630
Change-Id: If1ffa5703b5647588806538609d72bf927c1d7db
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoUpgrade parent and bump snapshot 24/86724/1
Pamela Dragosh [Wed, 1 May 2019 15:26:58 +0000 (11:26 -0400)]
Upgrade parent and bump snapshot

The version for this wasn't quite correct either. Fixed to
ensure follows the 1.4.x as defined in version.properties.

Updated to point to policy/parent release version and remove
warning for relative path.

Issue-ID: POLICY-1700
Change-Id: I6772a272f3f291af5fd6ee9efc3f10b0ac3edfd1
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoNo fetching applications load 84/86584/2
jhh [Tue, 30 Apr 2019 03:04:12 +0000 (22:04 -0500)]
No fetching applications load

drools-pdp in docker when it sees this configuration files,
it will try to execute them.   Since the alpine common
image has an immutable BUILD_VERSION that does not refer
to the actual drools build, it will not find it.

Two solutions: (a) update the scripts to look for the newly
added BUILD_VERSION_DROOLS to counter the presence of that
variable, or (b) remove them altogether since the control loop
application being the only one that is used will have the control
loop applications image cooked.

Change-Id: Ie8adb4b50565601b09e1100578458e3071ee6e54
Issue-ID: POLICY-1712
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
5 years agoNo dependency.json manipulation in brmsgw 72/86572/1
jhh [Mon, 29 Apr 2019 23:45:55 +0000 (18:45 -0500)]
No dependency.json manipulation in brmsgw

There are multiple VERSIONS that make it to
the dependency.json since some libraries are
coming from models and others from drools-applications.

Change-Id: Ide1764962531e09ed5fc733cd18d22550d53c7da
Issue-ID: POLICY-1712
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
5 years agoUse policy-pdpd-cl image for drools 23/85723/2
jhh [Thu, 18 Apr 2019 21:40:58 +0000 (16:40 -0500)]
Use policy-pdpd-cl image for drools

Change-Id: I233d2da28fea73bd594ee25cba8cd5740aa9236a
Issue-ID: POLICY-1664
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
5 years agoFix pom.xml parent, add artifact version 66/85566/1 1.4.0 4.0.0-ONAP
Dmitry Puzikov [Wed, 17 Apr 2019 12:25:46 +0000 (14:25 +0200)]
Fix pom.xml parent, add artifact version

Change-Id: Icd321dcc6f2ed3578e63f9712bf8ab923b9b7861
Issue-ID: INT-996
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
5 years agoFix lost version.properties file 88/85288/1
Dmitry Puzikov [Mon, 15 Apr 2019 07:17:57 +0000 (09:17 +0200)]
Fix lost version.properties file

Lost version.properites file causes
build failure.

Version set for 1.4.0

Change-Id: I58d6150a08da1432c5eca4f66397d7f51f730ca4
Issue-ID: INT-996
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
5 years agoAdd licence headers, fix notes 32/83932/1
Dmitry Puzikov [Tue, 2 Apr 2019 08:05:05 +0000 (10:05 +0200)]
Add licence headers, fix notes

Change-Id: I7664605a55554caad347c13d159908537b7c4fb0
Issue-ID: INT-996
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
5 years agoBase and common images for Policy apps 84/83484/1
Dmitry Puzikov [Wed, 27 Mar 2019 12:55:13 +0000 (13:55 +0100)]
Base and common images for Policy apps

Alpine based base and common images to use
across Policy project

Change-Id: I01d504b48ee361d1751dfa982e1515705b9e343e
Issue-ID: INT-996
Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
5 years agoUpdate INFO.yaml file 90/82490/1
Jessica Wagantall [Fri, 15 Mar 2019 20:53:45 +0000 (13:53 -0700)]
Update INFO.yaml file

Update missing information blocks and
indentation to pass verify job.

Change-Id: I5fe22533c9d493e957fc483aa265d0f26acf79df
Issue-ID: CIMAN-134
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
5 years agoCompanion changes to Alpine move 33/79933/1
Jorge Hernandez [Thu, 7 Mar 2019 18:56:00 +0000 (12:56 -0600)]
Companion changes to Alpine move

Change-Id: I4b237c91b0c7e24804bc7f28af24e1600e2333f6
Issue-ID: POLICY-1551
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
5 years agoNew install/env variables for docker improvements 28/79428/1
Jorge Hernandez [Fri, 1 Mar 2019 06:36:42 +0000 (00:36 -0600)]
New install/env variables for docker improvements

Change-Id: I88c4174b0cef304fec125d92b7633475190701a6
Issue-ID: POLICY-1557
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
5 years agoUpdate INFO.yaml Liam's email 76/79376/1
Pamela Dragosh [Thu, 28 Feb 2019 16:08:21 +0000 (11:08 -0500)]
Update INFO.yaml Liam's email

est.tech

Issue-ID: POLICY-1556
Change-Id: I9a6f52f436102b0c8c596da265918ca12fa591e5
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
5 years agoConsistent naming convention of install variables 70/75370/1
Jorge Hernandez [Mon, 7 Jan 2019 14:48:24 +0000 (08:48 -0600)]
Consistent naming convention of install variables

Change-Id: I4ff249d4a74ce808d81420be1b79f6752d1d6e53
Issue-ID: POLICY-1367
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
5 years agoAdd CCVPN policy in push-policies.sh script 25/73925/1
Vidyashree Rama [Thu, 29 Nov 2018 13:28:26 +0000 (18:58 +0530)]
Add CCVPN policy in push-policies.sh script

Add CCVPN policy in push-policies.sh script

Issue-ID: POLICY-1356

Change-Id: I36d22904750a4c371e5c404022b7b59d58402eb8
Signed-off-by: Vidyashree Rama <vidyashree.rama@huawei.com>
5 years agoFix bug in Guard policies for Docker 52/72552/2
Michael Mokry [Tue, 13 Nov 2018 15:33:51 +0000 (09:33 -0600)]
Fix bug in Guard policies for Docker

Modified push-policies.sh to fix pre-loaded guard policies

Change-Id: I8716079d6abb0b1ac2872c55b4450bf69842c163
Issue-ID: POLICY-1257
Signed-off-by: Michael Mokry <michael.mokry@att.com>
5 years agoRe-added requestParams to vDNS policy 67/71767/1
Jim Hahn [Fri, 2 Nov 2018 18:20:10 +0000 (14:20 -0400)]
Re-added requestParams to vDNS policy

Change-Id: Ie6d4ba979d0608b97a7dfddb41afa33a584fbf1f
Issue-ID: POLICY-1240
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoReplaced single quotes with %27 06/71606/1
Jim Hahn [Thu, 1 Nov 2018 01:27:54 +0000 (21:27 -0400)]
Replaced single quotes with %27

Change-Id: I66a26da2a7b5779d1391d227379fa3ff820a110b
Issue-ID: POLICY-1240
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoMerge "Added config params to scale-out policy"
Pamela Dragosh [Thu, 1 Nov 2018 00:46:10 +0000 (00:46 +0000)]
Merge "Added config params to scale-out policy"

5 years agoAdded config params to scale-out policy 97/71597/2
Jim Hahn [Wed, 31 Oct 2018 22:42:50 +0000 (18:42 -0400)]
Added config params to scale-out policy

Removed requestParameters and reverted name.

Change-Id: Ife2f6855a1f9977d06a881e9b243226aed99a53d
Issue-ID: POLICY-1240
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoReplaced /ecomp/mso with /onap/so in URL 83/71583/1
Jim Hahn [Wed, 31 Oct 2018 21:10:36 +0000 (17:10 -0400)]
Replaced /ecomp/mso with /onap/so in URL

Change-Id: I8bac1c98b46cf11cabec4831358a14fe1cc3d7b7
Issue-ID: POLICY-1238
Signed-off-by: Jim Hahn <jrh3@att.com>
5 years agoAAF Heat installation configuration 90/71290/1 3.0.0-ONAP
Jorge Hernandez [Fri, 26 Oct 2018 03:19:40 +0000 (22:19 -0500)]
AAF Heat installation configuration

The docker repo (for heat) by default will come with
AAF configuration flag set to false.   An installer
could simply set it to true to enable AAF.

The main reason for this default in heat installs
is to not deal with routinely failures of CSIT tests
(as they will need either an AAF running or divergent
installations scripts).

OOM installations instead will have AAF enabled by default.

Change-Id: I2014877285ea776b057b45cf8875d4da6a6730a9
Issue-ID: POLICY-1216
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
5 years agoChange DMaaP hostnames 96/70096/1 1.3.0
Jorge Hernandez [Tue, 9 Oct 2018 17:14:14 +0000 (12:14 -0500)]
Change DMaaP hostnames

Change-Id: I7efadaf3f8230a8433ea7a6fe8367459581043e5
Issue-ID: POLICY-1194
Signed-off-by: Jorge Hernandez <jh1730@att.com>
5 years agoONAP Heat Install support for SDNC 21/69921/1
Jorge Hernandez [Fri, 5 Oct 2018 15:37:07 +0000 (10:37 -0500)]
ONAP Heat Install support for SDNC

Change-Id: I113094a4357ad1e9678f297054f31d4e02cfffe7
Issue-ID: POLICY-1183
Signed-off-by: Jorge Hernandez <jh1730@att.com>
5 years agodefault passwords to aaf default one 17/69517/2
Jorge Hernandez [Fri, 28 Sep 2018 18:51:09 +0000 (13:51 -0500)]
default passwords to aaf default one

Default heat installation credentials to be the same regardless
aaf is in use or not.   This will allow transparent
switching from AAF to non-AAF support without requiring
clients (robot, consul, etc ..) reconfiguring themselves
regardless of what we are using.

Change-Id: I2f3c0cbf93d6369168fb0317ff78a13e35c08c12
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Issue-ID: POLICY-1156
Signed-off-by: Jorge Hernandez <jh1730@att.com>
5 years agoCADI AAF changes for policy/docker 97/68497/2
Michael Mokry [Fri, 21 Sep 2018 21:27:36 +0000 (16:27 -0500)]
CADI AAF changes for policy/docker

Added variables for cadi properties

Changed property values based on comments and removed resource property

Change-Id: I5d7ea2383e306c251f129625b9e9a671c2704ed5
Issue-ID: POLICY-913
Signed-off-by: Michael Mokry <mm117s@att.com>
5 years agoaaf related install configuration 75/67875/1
Jorge Hernandez [Wed, 19 Sep 2018 20:10:29 +0000 (15:10 -0500)]
aaf related install configuration

Change-Id: If5f1344cb0e9468fe8a807bd4dc7cb205d3f1bb1
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Issue-ID: POLICY-1043

5 years agoPreload Guard Policies 97/67797/2
Michael Mokry [Wed, 19 Sep 2018 16:28:27 +0000 (11:28 -0500)]
Preload Guard Policies

Modified push_policies.sh to create and push Guard Min/Max and Frequency
Limiter policies

I also converted tabs to spaces throughout the file while I was in
there

Change-Id: Idcf5059988c9f291e6be44a069894fd2b864436f
Issue-ID: POLICY-968
Signed-off-by: Michael Mokry <mm117s@att.com>
5 years agoAdd Config and CL policies for OOF PCI use case 15/67715/2
Saravanan A [Tue, 18 Sep 2018 09:23:45 +0000 (14:53 +0530)]
Add Config and CL policies for OOF PCI use case

Following config policies to be defined for
OOF PCI use case for Casablanca:
  PCI-Handler MS config policy
  OOF config policy
  Control loop policy

Change-Id: I0e6e0370a875dbd8eb4857d0c15e4219c252efac
Issue-ID: POLICY-1086
Signed-off-by: Saravanan A<saravanan.a75@wipro.com>
5 years agoAdd Config and CL policies for OOF PCI use case 41/67241/1
Saravanan A [Tue, 18 Sep 2018 09:23:45 +0000 (14:53 +0530)]
Add Config and CL policies for OOF PCI use case

Following config policies to be defined for
OOF PCI use case for Casablanca:
  PCI-Handler MS config policy
  OOF config policy
  Control loop policy

Change-Id: I2cd0c2221ee0b950463ab939b6426def14c8b69a
Issue-ID: POLICY-1086
Signed-off-by: Saravanan A<saravanan.a75@wipro.com>
5 years agoProvide pre-loaded SDNC Naming policies 07/66407/2
Michael Mokry [Thu, 13 Sep 2018 16:03:24 +0000 (11:03 -0500)]
Provide pre-loaded SDNC Naming policies

Added curl commands to created and push SDNC vFW and vPG Naming policies
during installation

Change-Id: I01b1254199b96dbea5558a31ba8900d76c655ded
Issue-ID: POLICY-983
Signed-off-by: Michael Mokry <mm117s@att.com>
5 years agoFix cert issue with push-policies script 17/63617/1
Michael Mokry [Wed, 29 Aug 2018 21:43:17 +0000 (16:43 -0500)]
Fix cert issue with push-policies script

This should also fix the issues with the CSIT tests.  I made changes to
the push-policies.sh script to add option -k and bypass certificate
errors

Change-Id: I5b8bdc1161bc0bc88122884eedd7e63042d9ba42
Issue-ID: POLICY-781
Signed-off-by: Michael Mokry <mm117s@att.com>
5 years agopolicy/docker changes to support PE https 63/61863/1
Michael Mokry [Wed, 22 Aug 2018 15:39:12 +0000 (10:39 -0500)]
policy/docker changes to support PE https

Made changes to conf files and push-policies.sh to set variables and use
https in urls

Change-Id: I319e800a33756e771f57a8ef8bd611925fdd9299
Issue-ID: POLICY-781
Signed-off-by: Michael Mokry <mm117s@att.com>
5 years agodefault install passwords for Policy keystores 77/60977/1
Jorge Hernandez [Thu, 16 Aug 2018 21:16:01 +0000 (16:16 -0500)]
default install passwords for Policy keystores

Change-Id: I5402135e561477522aa23ec0551bcd24dad60120
Issue-ID: POLICY-1057
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agomatch brmsgw.conf dependency with dev branch 63/49863/1
Jorge Hernandez [Thu, 31 May 2018 21:12:16 +0000 (16:12 -0500)]
match brmsgw.conf dependency with dev branch

Change-Id: Ia5ae42f19930e34bac49b556e3217988e613bcb0
Issue-ID: POLICY-877
Signed-off-by: Jorge Hernandez <jh1730@att.com>
6 years agominor cosmetic tweaks for 1.2.3 09/49809/2
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>
6 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>
6 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>
6 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>