Age | Commit message (Collapse) | Author | Files | Lines |
|
removed all files related
to policy csit.
already moved csit to policy project level
Issue-ID: POLICY-2895
Change-Id: I00312533e395a80972cf62da01a2a3723d5c9b8c
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
Xacml pdp-type is now configurable - added it to the config file.
Change-Id: I026f62efb8eb07b4e4ca42cf34f8ca2af9662df6
Issue-ID: POLICY-2526
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
bash package has been removed
found a related bash script is the cause
Issue-ID: POLICY-2847
Change-Id: Id4940324d939adea9135ae6f00d53d38ec05589c
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
removal any GPL-3.0 and plus license
Issue-ID: POLICY-2847
Change-Id: Ia79a1113073d596d92d78d72ce561f56be78434f
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
CSITs are failing regularly due to download rate limits that were
recently introduced on dockerhub. Modified the yaml to download mariadb
from nexus3 instead of dockerhub.
Issue-ID: POLICY-2895
Change-Id: I554a230d11533245a4fe987a2ac809ffc69affc7
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
This is a first cut at making it possible to easily run Policy
components within a stand-alone environment. Made the following
changes:
- enhanced wait_for_port.sh to accept a list of hosts/ports
- enhanced wait_for_port.sh to accept an optional command to execute
when the wait completes
- consolidated all of the yml files into a single file
- removed "extra" services from the yml so that a component and its
dependents can be brought up in a single invocation
- modified the component setup.sh
With these changes, a developer can clone the csit repo, run detmVers.sh
to set the docker image version env variables, and then bring up a
component (and its dependents) using:
docker-compose -f scripts/policy/docker-compose-all.yml
up --detach <component>
Note: this does not preload or deploy any policies; that must be done
manually via curl.
Modified to use new simulator docker image.
Also fixed drools-apps CSIT broken due to disabling frankfurt
controller.
Also removed operational.Apex policy. The csar file used in
policy-distribution test is also updated to reflect this change.
Issue-ID: POLICY-2742
Change-Id: I412dbd5db9219ad2cdece9693f0b4b9fe7b2eb69
Signed-off-by: Jim Hahn <jrh3@att.com>
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
|
|
Base64 encoding of db passwrod has been removed from policy components.
Hence, updating the custom pap config used for csit testing of drools-apps.
Issue-ID: POLICY-2550
Change-Id: I159e3c81d6c8f7485037f1fc71a82249bfb393b7
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Replaced tosca policies found in the test "data" directory with policies
from models-examples.
Also added the dmaap simulator to the pap CSIT to prevent the error log
from filling with dmaap errors while trying to debug the CSIT.
Issue-ID: POLICY-2813
Change-Id: I6bccffa41acd0fda0b945fe8e3cd6badde1ac4c1
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
after migrating to alpine, found permission
issue on user:policy.
Issue-ID: POLICY-2787
Change-Id: If78eed8771b93dd60dcca00d84e37391d916dc17
Signed-off-by: Taka Cho <takamune.cho@att.com>
|
|
Added "defaultbranch=master" to .gitreview file.
Also modified Policy CSITs to get the branch from the .gitreview
file instead of hard-coding it in a config file.
Issue-ID: POLICY-2597
Change-Id: I05e969d3efdaf09c4fca4012131983ca26423ab0
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-2560
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: If1c706dbb108ce3265dcab0da09fcf4081464c2a
|
|
Modified the CSIT for drools-apps to use more components:
- api to create policies
- pap to deploy policies
Also removed tabs.
Issue-ID: POLICY-2491
Change-Id: Iacd8d1953068bb718a63de8813dd1c307c21b1f8
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Runs xacml and drools, but does not currently run api or pap.
PAP actions are simulated by injecting messages onto the dmaap
topic read by xacml-pdp and drools-pdp.
All other systems (e.g., dmaap, aai) are simulated using
policy-models-simulators.
Issue-ID: POLICY-2491
Change-Id: Ic05e3a6514e84040f5a965aa8d2cac9ed2e9abc2
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-2474
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: If69a11c7c690d8a5ac2d3b2a5b81f9d7d5fe5197
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
Moved the policy preload for the PAP CSIT from setup.sh to
the robot script; policy type preload isn't needed, so it
was removed altogether.
Also cleaned up some unneeded entries related to networking
and ports in the docker yml files.
Issue-ID: POLICY-2464
Change-Id: I1794dd905f2dcbdbe5f8da8c106b43b98d9a97ea
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Also added various properties to drools/base.conf to keep it
consistent with drools-apps/base.conf, as much as possible.
I believe the old SO actor will break if we use the CONTEXT_URI,
thus I'm leaving the SO_URL intact for now.
Issue-ID: POLICY-2441
Change-Id: I1c4122ecec86ef1ef0e165560464e74ace2bdf34
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Aded new context URI properties to the config for use
with related changes in drools-apps. Left the XXX_URL properties
intact for removal later, once drools-apps changes have been
merged.
Issue-ID: POLICY-2441
Change-Id: Ia7ef38d8cf01e3189c7accc1affd7cbb2c3e1bd0
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
When the key name doesn't match with the name field in policy,
creation of policy is failing. Due to some recent changes in API and
models. So, correcting the policy in this review.
Change-Id: I8a57f734a25f46fef623edb078fabc2641722816
Issue-ID: POLICY-2438
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
|
|
Issue-ID: POLICY-2434
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I92ce55b8f024e6bb935b21812ceb633976b0ddf8
|
|
Issue-ID: POLICY-2434
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I2ef8317050f469afdbb2ae586b55d8bf9231a56e
|
|
Also making the apex test policy changes related to rhino migration.
Change-Id: I20f6c87bf6e2208840eb62a8109f8a98d67e0327
Issue-ID: POLICY-1402
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
|
|
CSITs as per the latest policy type validation changes.
Drools and drools apps fixes.
Removed policy-health.
Change-Id: I086bf747059435e12d15e0481b00c97c20eaadc1
Issue-ID: POLICY-1402
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
|
|
Currently APEX specific information is placed under properties|content in ToscaPolicy.
Avoid keeping under "content" and keep the information directly under properties.
Change-Id: Id322df2ae977d4901b81bb70e95ad7e55771869c
Issue-ID: POLICY-2332
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
|
|
Removes JAVA_HOME for drools pdp
Updates Policy API tests
Updates XACML-PDP database connection
Downloads dmaap simulator instead of compiling it for xacml-pdp,apex-pdp and distribution
Changes from Jim, Jorge and Chenfei
Issue-ID: POLICY-2325
Change-Id: I28ff3384f9ae9b7d1ce6940eb62aa87278e7a9c5
Signed-off-by: Bilal A <bilal@research.att.com>
|
|
according to IT-18669, one of the issue to commit an INFO.yaml is due to
the fact that the csar files include a CRLF
causing warning then the impossibility to commit the INFO.yaml
Issue-ID: INT-1386
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Ibaceef6a5278f9ba3e8f36eadabc0a14435b880a
|
|
These are the lines removed:
+ Proprietary information (Restricted)
+ For use only by authorized individuals and not for general distribution.
Issue-ID: POLICY-2107
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I1b68376ff61e16fb600dfb3656809680c92b81a7
|
|
Issue-ID: POLICY-2107
Change-Id: Ide08bad0982ea81ccd1db040f55f23db1741677b
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
Allow automatic selection of the best apache mirror server
to avoid hardcoded mirror server in apache-maven download
url. This change should increase reliability of POLICY CSIT
test plans in case that some mirror servers are experiencing
issues.
Originally used server is set as preferred, i.e. it still
will be used if it's available.
In case of failure of maven installation, test plan execution
will be terminated with failure.
Change-Id: Ia765652b42e6a20716f5e76304916602852b5654
Issue-ID: POLICY-2046
Signed-off-by: Martin Klozik <martin.klozik@tieto.com>
|
|
|
|
Change-Id: I261f94ca138e55346b4b2880f0be7b8259c8f1e7
Issue-ID: POLICY-2047
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
|
|
As per updated model, policy type & data type are represented as Map
directly instead of List of Map earlier. Updating the json files to
adapt to this change.
Issue-ID: POLICY-2047
Change-Id: Id46b6d20f3c1cb727909b0825066e4763120e46a
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
|
|
Change policy-distribution csit test cases to support ToscaPolicyType
and ToscaPolicy.
Change-Id: Ic6539a2c6f3d2a5b0a4a0b66ce456512d909a320
Issue-ID: POLICY-1893
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
|
|
Change-Id: Ic1e35a7672da4386c22c5a51d5f95c41c50784f0
Issue-ID: POLICY-1744
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
|
|
Enables Policy CSITs for API, PAP, Distribution, Drools-applications,
Apex-PDP and XACML-PDP to pull correct docker images based on the
code branch.
--------------
Updating the policy model json in apex-pdp csit
Changes were made to read the policy model as proper json instead of
json formatted string in APEX-PDP. With this fix in place, the policy
tosca json file need to be updated with the proper json.
Issue-ID: POLICY-1836
Issue-ID: POLICY-1796
Change-Id: I6b99c8ae9cb78dd8ebddc522bc2a7080ec6e5735
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
Signed-off-by: Bilal A <bilal@research.att.com>
|
|
In the end to end csit test cases of APEX, currently we are mounting the
config files for APEX and PAP. This is not necessary.
Change-Id: I10f9ed509e4bb537cc91f145dde34aeb8c0d9b99
Issue-ID: POLICY-1863
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
|
|
Only apex CSIT overrides PAP's defaultConfig.json, so only had
to add the new parameter to that one file.
Issue-ID: POLICY-1846
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: Iba15c1db0d03dc42c8f5c058b9bc8e9ff55c42b4
|
|
The other containers were starting before their user names had
been added to the DB. Consequently, they were aborting at start-up.
Modified the various setup.sh scripts to run the DB-init script
before starting the remaing containers.
Also add start_all to start the containers and wait for the ports
to start listening, eliminating the need for the "curl" tests in
the setup.sh scripts.
Also removed version numbers from some yml files.
Change-Id: Idd9ff81b3ab4a78926b644f22360c9222afe82d5
Issue-ID: POLICY-1829
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
1. Added test cases for creating policy, deploying policy, and getting a
decision for monitoring policies
2. Included statistics check between some tests
3. Modified to use dmaap simulator, policy-pap, and policy-api for end
to end tests
5. UPDATE: made changes per Ajith's review
6. Removed most config overrides and changed dmaap to message-router
where appropriate
Change-Id: Ia9935193f189f249e11f23b2ffe49f87090b7b54
Issue-ID: POLICY-1767
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
1) Adding test case to do health check of PDP-A.
2) Adding test case for end to end testing - create policy type and
policy using Policy API, deploy policy using PAP API and then execute
policy in APEX engine.
Change-Id: I97b208f4d7c319f993515719795d022ddfc429fa
Issue-ID: POLICY-1739
Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
|
|
Change-Id: I8a1bf5d44da267e58f26e877fc0eba7189166424
Issue-ID: POLICY-1712
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
This exercises all of the PAP REST APIs, except for the simple
policy "deploy" API.
Change-Id: I681c4c40f05f6e343a782e764f7f939ecbb31258
Issue-ID: POLICY-1672
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Basic health check for now. Need to have ci-management
jobs enabled for this to work on every merge.
Cleaning out unused scripts and mock server. Renaming
policy engine script so its obvious that is what it is for.
Issue-ID: POLICY-1651
Change-Id: I469823795d4a9f5531d150610ba2ed0b75585677
Signed-off-by: pdragosh <pdragosh@research.att.com>
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Signed-off-by: pdragosh <pdragosh@research.att.com>
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
|
|
1) Adds CSIT Test for API
2) Adds a mariadb container setup and configuration for API.
3) Adds a mariadb container setup and configuration for PAP.
Change-Id: I9beea4f2445215bc95962ebceb4ec626dd0d5521
Issue-ID: POLICY-1270
Signed-off-by: Bilal A <bilal@research.att.com>
|
|
Issue-ID: POLICY-1459
Signed-off-by: Bilal A <bilal@research.att.com>
Change-Id: I2e33e18feaff5882eb45012ffab16f47f3153c41
|
|
Also modified script to use a different mechanism to get
the host IP (copied from CSIT setup.sh), one that should work
in developer VMs as well as in the Jenkins environment.
Change-Id: Ide454ff827ebd90f55b699f16e5f7f6eb40bd1d1
Issue-ID: POLICY-885
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Change-Id: I4a5f5bb716a5acd0d823ca29d85defeebbcb55ef
Issue-ID: POLICY-1156
Signed-off-by: Jorge Hernandez <jh1730@att.com>
|
|
Remove leading test/csit/ from all relative paths to
accomodate the move into integration/csit repo.
Change-Id: Id9482b46df839f5eba28135e9f987a3eda1d7d94
Issue-ID: INT-671
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
|
|
To facilite branching of CSIT tests, all CSIT test
code and scripts are relocated to the integration/csit
repo.
Change-Id: I1e4c0eff44691f73f8098b3c52764107f6b8b8df
Issue-ID: INT-671
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
|