summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-11Add ability to turn off policy preloadPamela Dragosh5-2/+29
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>
2017-10-10Fixing the BRMS Param Rule TemplateTej, Tarun1-1223/+0
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>
2017-10-10Merge "Rename actor from MSO 2 SO in vDNS policy creation"Pamela Dragosh1-1/+1
2017-10-10Rename actor from MSO 2 SO in vDNS policy creationHockla, Ali (ah999m)1-1/+1
Issue-ID: POLICY-306 Change-Id: I9532da916198d56729a0bf9af71477a729bc6ccf Signed-off-by: Hockla, Ali (ah999m) <ah999m@att.com>
2017-10-10Fixing Guard Permit PolicyTej, Tarun1-2/+2
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>
2017-10-09ensure policies are not pushed until drools is upJorge Hernandez1-1/+2
Change-Id: I6706fb126ea60abdfb0c540d07b305b8305d0b65 Issue-ID: POLICY-295 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-10-03pdp-x default resolution of indeterminate responseJorge Hernandez2-0/+7
Change-Id: I7913a4e9fb2477c9ec891070cc4dedf71df9500b Issue-ID: POLICY-275 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-10-03Merge "increase script verbosity for "docker logs" output"Jorge Hernandez1-1/+1
2017-10-03Resolved the docker script issuerb71471-1/+1
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>
2017-10-03increase script verbosity for "docker logs" outputJorge Hernandez1-1/+1
Change-Id: I830b22f4407eb1acf9c23b944bd74d9a1b545a7d Issue-ID: POLICY-275 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-10-02retrieve latest drl template at load installationJorge Hernandez1-2/+4
Change-Id: I6de5bd9a72b32f34a350847cbfed8a993647212b Issue-ID: POLICY-275 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-10-02Fixing the BRMSGW versionTej, Tarun1-1/+1
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>
2017-09-28update to the latest drlJorge Hernandez1-20/+16
Change-Id: I80b53b794832f9f440d60b33ff3958553ef5591f Issue-ID: POLICY-264 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-09-28Added Guard Template to PushScriptrb71471-8/+42
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>
2017-09-28Merge "Updated the push policy script"Jorge Hernandez2-68/+1376
2017-09-27New controller changes to brmsgw confTej, Tarun1-5/+2
Issue-Id: POLICY-263 Change-Id: I9919e5e2dcd68264a7c39f3273423e00b2440a4f Signed-off-by: Tej, Tarun <tt3868@att.com>
2017-09-27Updated the push policy scriptrb71472-68/+1376
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>
2017-09-27Create docker compose script integrationPamela Dragosh1-0/+56
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>
2017-09-26remove chmod and filesystem syncingJorge Hernandez1-11/+0
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>
2017-09-26chmod + script execution issues in dockerJorge Hernandez2-3/+11
Change-Id: I96f942cab9d220418be6fe622c86b4bb3eb4e6c9 Issue-ID: POLICY-162 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-09-25install support for pdp-x client authenticationJorge Hernandez1-6/+3
Change-Id: Ic9d1a164975909261afd50965c0f2a6ab51ff035 Issue-ID: POLICY-260 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-09-21Upgrade to oparent release versionPamela Dragosh1-1/+1
Following independent release and versioning process guidelines. Change-Id: I394733f5f28931e0a77e6f2ecf97f905daaf6d8d Issue-ID: POLICY-225 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2017-09-19allow for install customizations for drools appsJorge Hernandez1-0/+10
Change-Id: Ifb68e27fd1cd2571ddaec38f5768db58c56b928e Issue-ID: POLICY-162 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-09-18install defaults for guard/so componentsJorge Hernandez1-3/+9
Change-Id: I6f8d60c4a8d018a692e371f3e614190392e0525d Issue-ID: POLICY-162 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-09-11Resolved Elastic Search Installation Issuerb71471-1/+1
Fixed the docker installation script. Issue-Id : POLICY-147 Change-Id: I39a183439054e96da7d4227d285f067f5577889e Signed-off-by: rb7147 <rb7147@att.com>
2017-09-06add installation files as environments for PDP-DJorge Hernandez3-3/+12
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>
2017-08-30AAI & MSO config + open port for functional testsJorge Hernandez2-1/+14
Change-Id: Iee658248e1617dedec5d3a8e9608a104ac696e29 Issue-ID: POLICY-162 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-08-28policy executable renaming + minor install changesJorge Hernandez2-12/+12
Issue-ID: POLICY-162 Change-Id: Iccbe9d8995be3f828e780a724dae1199c8aeb7c6 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-08-17remove DCAE custom config from drools-tweaks.shJorge Hernandez2-5/+21
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>
2017-08-16Merge "Update link to policy projects."Pamela Dragosh1-1/+1
2017-08-16Merge "fix policy build by vagrant"Pamela Dragosh1-0/+1
2017-08-16fix policy build by vagrantGuo Ruijing1-0/+1
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
2017-08-16Update link to policy projects.Pamela Dragosh1-1/+1
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>
2017-08-14Remove unnecessary install of open source packageJorge Hernandez1-6/+1
Change-Id: I22d20494a66704eae5be805369bc2c6928cd9497 Issue-ID: POLICY-96 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-08-08wget instead of ADD to get binary for dockerJorge Hernandez1-3/+5
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>
2017-08-08correct feature install procedure in docker/droolsKrzysztof Kwiecien3-2/+6
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>
2017-08-07Merge "[POLICY-153]policy-docker integration with oparent"Jorge Hernandez2-38/+9
2017-08-04[POLICY-145] sed failed expanding special charsJorge Hernandez1-5/+4
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>
2017-08-04Merge "[POLICY-145] global name/value should be local"Jorge Hernandez1-2/+22
2017-08-04[POLICY-145] global name/value should be localJorge Hernandez1-2/+22
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>
2017-08-03[POLICY-153]policy-docker integration with oparentGuo Ruijing2-38/+9
Change-Id: Ic06c8af07dda9151450aa863bc033400ff5971b3 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-08-02Merge "[POLICY-66] healtcheck feature config and db prep"Pamela Dragosh5-28/+78
2017-08-02[POLICY-66] healtcheck feature config and db prepJorge Hernandez5-28/+78
initial commit pre-introduction of db support on per feature basis Change-Id: Ie5aec06d38a84be849386fc76d8f1c804213c803 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-07-31[POLICY-86] replace openecomp for policy-dockerGuo Ruijing6-42/+42
Change-Id: I4db534a29c73a3cb2d70655ee54c856b83655fb2 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com> Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-07-19[POLICY-66] use features script to tweak configJorge Hernandez1-1/+1
instead of previous options script Change-Id: Icebbcea67a99bb202e50f224d5319a1a0d06f131 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-07-18[POLICY-66] self-contained features supportJorge Hernandez1-9/+29
feature unpackaging in feature directory structure Change-Id: Ifc2ef8a061ff2348d5ad7ddc98a183b7d31159e8 Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-07-16Merge "[POLICY-70] build/setup policy by vagrant"Jorge Hernandez3-0/+59
2017-07-14[POLICY-70] build/setup policy by vagrantGuo Ruijing3-0/+59
Change-Id: Id594293fe49b9beb6b78ceb21114d4c3f8df2077 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-07-13[POLICY-22] companion changes openecomp->onapJorge Hernandez2-2/+2
Change-Id: Id5a1fc117705851a9651395eb1335375e59873ac Signed-off-by: Jorge Hernandez <jh1730@att.com>
2017-06-30[POLICY-66] rename of policy-healthcheckJorge Hernandez2-2/+2
Change-Id: I7dd29eb3ad61be1b1d344a629cdcaae448c80290 Signed-off-by: Jorge Hernandez <jh1730@att.com>