aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-05-20Bump Apex to 2.3.3RossC89-89/+89
Issue-ID: POLICY-2514 Change-Id: I5b130b052150eb0e51759c751b83ab9d6f199759 Signed-off-by: RossC <ross.carter@est.tech>
2020-05-20Release apex 2.3.2 docker6.0.0-ONAPRossC1-0/+8
Issue-ID: POLICY-2514 Change-Id: I6dbdc5057a944792372ebcd02fe30f97fe7b6686 Signed-off-by: RossC <ross.carter@est.tech>
2020-05-20Release apex 2.3.2 java artifactsRossC1-0/+4
Issue-ID: POLICY-2514 Change-Id: If247d2ea6d7aabe5c82776ddf46ddf623247cc13 Signed-off-by: RossC <ross.carter@est.tech>
2020-05-19Merge "Point to released artifacts"Ram Krishna Verma1-3/+3
2020-05-19Point to released artifactsPamela Dragosh1-3/+3
Issue-ID: POLICY-2514 Change-Id: I76b58cd69dcba6010867a583edb1b844eeec20d4 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-05-15Fix Web Socket server connection failureliamfallon4-7/+32
In the Web Socket unit test, sometimes the server does not start quickly enough and is not available when the wek socket client connects. This review changes the unit test to wait for up to 2 seconds for the web socket server to come up. Issue-ID: POLICY-2571 Change-Id: I0c970783f368d691d07683bad0cdc28b681e5334 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-05-15Unit test fails when port number occupiedliamfallon1-7/+10
If the port specified in the allocateAddress() is occupied, the method returns the next highest available port. The unit test is changed to reflect this behaviour. Issue-ID: POLICY-1916 Change-Id: I02f63476d5f8f3ef2b2363afb3e23de04264e810 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-05-08Unit tests for various classesRossC8-6/+490
Issue-ID: POLICY-1916 Change-Id: Ie7cafa16ce12ca542a4e76307caddb36b7753990 Signed-off-by: RossC <ross.carter@est.tech>
2020-05-01Minor fixes in examples-vcpeRam Krishna Verma2-271/+5
Issue-ID: POLICY-1916 Change-Id: Ie3d1c33648e7996ac063bbaac6ea11f3df03564b Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-05-01Minor fixes in examples-grpcRam Krishna Verma2-264/+5
Issue-ID: POLICY-1916 Change-Id: I4bd93d72f234e1ce572b11bcb0621078480e061b Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-04-27Point to latest SNAPSHOTsPamela Dragosh1-3/+3
Glassfish security fix in parent, also fixes in common/models Issue-ID: POLICY-2510 Change-Id: Id5186d4e2610a56db6ef66be62b4cc5177018c68 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-17Merge "Fix sonar issues"Pamela Dragosh4-30/+24
2020-04-15Bump policy-apex-pdp to 2.3.2-SNAPSHOTa.sreekumar89-89/+89
Change-Id: Ic668ab20498bdc41edc78f52c7ce9d89a1385f19 Issue-ID: POLICY-2378 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-04-15Release 2.3.1 apex docker imagePamela Dragosh1-0/+8
Issue-ID: POLICY-2378 Change-Id: I0d3d2733083b50dc4b0f5e8126e7014d4ef97a4d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-15Fix sonar issueshuaxing4-30/+24
Issue-ID: POLICY-1913 Signed-off-by: huaxing <huaxing.jin@est.tech> Change-Id: Id1a9a6b6f7a9c8c74dd69bd0d30af05162a92cd1
2020-04-14Release apex 2.3.1Pamela Dragosh1-0/+4
Issue-ID: POLICY-2378 Change-Id: I7b966eca01f8baf0be3461b33efb8faaf12eb29c Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-14Merge "Point to released common/models"Ram Krishna Verma1-2/+2
2020-04-14Point to released common/modelsPamela Dragosh1-2/+2
Issue-ID: POLICY-2378 Change-Id: I3d4ef6b6b8f61c0af23676189c9bf6eec529e3f3 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-14SONAR issue fixaditya.puthuparambil3-51/+59
Issue-ID: POLICY-1913 Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech> Change-Id: Ie6dccc50ad63c5fdca1e79d7985aec2455041b56
2020-04-13Point common/models fixPamela Dragosh1-2/+2
Fix for naming policy and yaml string conversion. Issue-ID: POLICY-2486 Change-Id: I1fc63ab7fdde63c5555d0bae784aee1309f7f8c3 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-11Point to released parent, common modelsPamela Dragosh1-3/+3
Issue-ID: POLICY-2378 Change-Id: I219f1ba6c816166c98346df47a68d21b9736b6b5 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-07Make sure Editor's css overrides common csshuaxing1-0/+8
Issue-ID: POLICY-2446 Signed-off-by: huaxing <huaxing.jin@est.tech> Change-Id: I1bc45367884ec78436a97256ac4286ab79c8a6b7
2020-04-06Fix intermittent unit test failures WebSocketliamfallon4-15/+25
The Web Socket server is marked as started before the start process has complted. This change fixes that issue. Issue-ID: POLICY-1470 Change-Id: I5b5ef5832893d884a6551b0516df91cb71d6c622 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-04-05Fix intermittent unit test failures reseterquestorliamfallon9-310/+232
When consumers and producers are paired as in the case of the REST Rquestor, both sides must come up and be wired together in the initiation phase of apex-pdp before the consumers and producers start handling envents. In the ApexActivator class, the consumers were started immediately after they were initialized meaning that a consumer could return events to a producer that had not started yet. This change fixes the ApexActivator so that it waits until all consumers and producers are initialized before starting event handling. It also fixes the timings on RestRequestor tests and tidies up the unit tests. Issue-ID: POLICY-2469 Change-Id: Ib66d9531bf21f2a879ab33795aded4f48e7bfbc6 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-04-04Merge "Refer io.netty from policy/parent"Liam Fallon4-2/+26
2020-04-03Refer io.netty from policy/parentRam Krishna Verma4-2/+26
Issue-ID: POLICY-2467 Change-Id: Iea562574f466775f4dd443fc4ef9ecaa6ba610fd Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-04-03Fix failing Kafka testsliamfallon8-109/+127
All the Kafka components need something near 10 seconds to come up completely. This review tweaks the timing to allow the test Kafka server to come up and to allow the consumers to connect to it. Issue-ID: POLICY-2106 Change-Id: I6dd8ace0848bdc2549e658ef8908b4d85d5ea789 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-04-02Merge "Fix hanging timeout on Executor test"Jim Hahn24-143/+190
2020-04-02Merge "Fix UUID missing in policy editor"Liam Fallon8-44/+70
2020-04-02Fix hanging timeout on Executor testliamfallon24-143/+190
Issue-ID: POLICY-2106 Change-Id: I7bd44f8dfe349d73a4c8c4f978a30b455c45b2c7 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-04-02Fix UUID missing in policy editorhuaxing8-44/+70
Issue-ID: POLICY-2445 Signed-off-by: huaxing <huaxing.jin@est.tech> Change-Id: I7fda1961e95b1f18da6c0e22c7799195fc511443
2020-04-01My First Policy State Finalizer Exampleaditya.puthuparambil17-163/+875
Issue-ID: POLICY-1122 Signed-off-by: aditya.puthuparambil <aditya.puthuparambil@est.tech> Change-Id: I552b58f39325982f1e26e59b352dfbe70cf35e7c
2020-03-31Merge "Fix State Finalizer Prepare and Cleanup"Jim Hahn5-65/+75
2020-03-31Fix State Finalizer Prepare and Cleanupliamfallon5-65/+75
The prepare() and cleanup() method were not called on state finalizers for states. This review adds calls for them. Issue-ID: POLICY-2450 Change-Id: I27aec4dea51f3e22b5922c04c7b7b974fca24292 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-03-31Bump version of Infinispan for securityliamfallon1-2/+3
Change-Id: Ie01b221e182dd43e85e3e7277bb55169f85a1460 Signed-off-by: liamfallon <liam.fallon@est.tech> Issue-ID: POLICY-2449 Change-Id: Icbb7a769eb8f0d9ef278d222ab007f330576abb3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-03-30Merge "Fix hanging tests in JavascritExecutor"Ram Krishna Verma6-66/+419
2020-03-30Fix hanging tests in JavascritExecutorliamfallon6-66/+419
Added tests to check threads start, execute, and stop correctly and fixed JavescriptExecutor class to handle startup and shutdown correctly without hanging. Issue-ID: POLICY-2106 Change-Id: I9ab41023aae2ab1cbcaea53fdf5d48eccd90a2f1 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-03-30Fix timeout issues in gRPC testsliamfallon3-12/+29
When running the gRPC tests in a slow or overloaded environment, the timeupts must be set longer. Issue-ID: POLICY-2106 Change-Id: Id152f1f82ef47f646c7b0488b4486425c6816e31 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-03-27Point to latest snapshotsPamela Dragosh1-2/+2
Issue-ID: POLICY-2378 Change-Id: Ie85ef583e8f0732a3b716b9e9b8947fb349522c7 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-26Merge "Point to models 2.2.2"Jorge Hernandez1-1/+1
2020-03-25Point to models 2.2.2Pamela Dragosh1-1/+1
Issue-ID: POLICY-2378 Change-Id: Iffbed4a039e9a645cc081f09997aeedf0dba4056 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-25Bump policy-apex-pdp to 2.3.1-SNAPSHOTa.sreekumar89-119/+119
Change-Id: I59b93fccb0f3a41f8db753d1e8e2978bbb51e9a0 Issue-ID: POLICY-2378 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-03-25Release policy-apex-pdp 2.3.0 docker imagea.sreekumar1-0/+8
Change-Id: I7ad38253cab457f92912e17ea9eaf8300347f62e Issue-ID: POLICY-2378 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-03-25Release policy-apex-pdp 2.3.0 artifactsa.sreekumar1-0/+4
Change-Id: Id23e5c848b6a338f09bbaecbf89e184e4e9f4e4f Issue-ID: POLICY-2378 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>
2020-03-25Ignore JUnit tests that hang on awaitliamfallon4-2/+11
This change ignores the tests that are hanging in Jenkins until the Apex images are released. Once the images are released we'll fix these tests. Issue-ID: POLICY-2106 Change-Id: I6a733896da044d3f24443ac202d6122a341db135 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-03-25Add timeout on Javascript latch awaitsliamfallon1-2/+7
It is possible that the initiation and especially shutdown happens so fast that the execution thread counts down the latch before the caller calls await(), in which case the Javascript Rhino thread will hang. This review adds a timeout on the await calls. Issue-ID: POLICY-2106 Change-Id: Icfc6d4b478cca62522461c25d61ce9ee7328684a Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-03-25Reduce size of client artifactsliamfallon10-510/+77
This change: - Removes separate packaging of the three clients - Reduces the size of the combined client by suppressing unused dependencies - Removes the Servlet code from the Docker packaging - Removes the client WARs from the docker package Issue-ID: POLICY-2443 Change-Id: If0a0c2dddc3f05f2815b84ae04fcc029b1c4fe08 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-03-24Launch separate threads for Javascript task executionliamfallon10-96/+346
When a policy is loaded, a separate thread is spawned for each Javascript script executor. This allows us to precompile the Javascript scripts and also to have a larger stack available for script execution. Issue-ID: POLICY-2106 Change-Id: I97323aafb623ba537ac1889b3c9504b345b4f67e Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-03-23Point to released artifactsPamela Dragosh1-3/+3
Issue-ID: POLICY-2378 Change-Id: Ie1803786c6bbc636ef0f98a1c158aa17b6292e84 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-23Adding example for APEX gRPC plugin for CDS interactiona.sreekumar31-4/+2021
Change-Id: I8361eb0cbe74c3548ca98f3005bc37f5a1f91747 Issue-ID: POLICY-2436 Signed-off-by: a.sreekumar <ajith.sreekumar@est.tech>