summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-08-17Release policy/apex-pdp8.0.2-PF-I12.5.5jenkins-releng81-81/+81
2022-08-17Point to released dependenciesRam Krishna Verma1-3/+3
Issue-ID: POLICY-4295 Change-Id: I50d0cf45c4b5bf0a30aa522a97e902775c982602 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2022-08-03Upgrade oparent 3.2.1pdragosh19-57/+73
Issue-ID: POLICY-4211 Change-Id: I03def43ec2f027f276674af00d749018a951a05f Signed-off-by: pdragosh <pd1248@att.com>
2022-08-01Adding JSON Schema support in APEX-PDPa.sreekumar14-4/+821
More details can be found here: https://wiki.onap.org/display/DW/JSON+Schema+support+in+APEX-PDP A separate review will be raised as part of POLICY-4292 with a reference example on how to use the JSON Schema. Change-Id: I903d48969c6c5a24c63b8465b2412ed0b75b9351 Issue-ID: POLICY-4291 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> (cherry picked from commit c354fba3fb87ebe21a7fbb2a15268ccc9d033fbd)
2022-07-28Bump the version of kafka-clients dependency to 3.0.0Rashmi Pujar3-5/+23
The issue was observed when APEX fails to consume events from a Kafka topic when message compression is used specifically snappy. APEX KafkaConsumer uses snappy-java library (transitive dependency from kafka-clients) to consume events with snappy compression. The snappy-java jar packages the native library (built against glibc) which can be overwritten to use alpine compatible native library (built using musl). This means we will need to install the java-snappy-package in apex-pdp which is also added to the commit as an option. Alternatively, in later version of snappy-java dependency (1.1.8) there is an option to use Java implementation instead of native library as per: https://github.com/xerial/snappy-java#using-pure-java-snappy-implementation. This is a cleaner solution to fix the issue. Issue-ID: POLICY-4310 Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca> Change-Id: Ic92b1d429ca3ca0cd1cd7070cd8d102df58b1420
2022-07-11update policy models referencesliamfallon1-3/+3
updated policy models references *** This commit is generated by a PF release script *** Issue-ID: POLICY-4233 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I51c7d75c98643cf582c9723f2f1c0d75714890ea
2021-09-09Use managed version of commons-codecliamfallon1-6/+0
apex-pdp was using a very old version of commons-codec. This change enables it to use the version of commons-codec managed from policy parent. Issue-ID: POLICY-3590 Change-Id: Ic29e46b61107719df5aaad00ee923de056fe7bac Signed-off-by: liamfallon <liam.fallon@est.tech> (cherry picked from commit a45cf053402a862dbbb1b17cb4a1f974b1f53edc)
2021-08-05Bump apex-pdp to 2.5.5-SNAPSHOTRam Krishna Verma81-81/+81
Issue-ID: POLICY-3329 Change-Id: Iae6b3d356483398740da602d950879cf21d28a34 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-04Release apex-pdp 2.5.4 docker imageRam Krishna Verma1-0/+8
Issue-ID: POLICY-3329 Change-Id: Ibf33e52ba0583c1e21ffd0dc37c6c777c8adb8b5 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-04Release apex-pdp 2.5.4 versionRam Krishna Verma1-0/+5
Issue-ID: POLICY-3329 Change-Id: I1752a2cd0270f7eecfe5e8da8a395c82bd54c8c2 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-04Point to released dependenciesRam Krishna Verma1-3/+3
Issue-ID: POLICY-3329 Change-Id: I6866b9bef2f3dbf712780b7d1161126f716521c5 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-08-03Improve APEX logging for irrelevant eventsa.sreekumar4-3/+8
When multiple policies are expecting event on the same topic/endpoint, a lot of event parsing failure log messages are generated unnecessarily. With this change, only a 1 line message will be printed if an event cannot be parsed, and the detailed messages will be available at debug level. Change-Id: If1e7460ef5ed86fd470396f1e2ed8cc3c8af70c4 Issue-ID: POLICY-3499 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> (cherry picked from commit 1036206455218a4722079b749e628ca96825418d)
2021-07-22Point to snapshot dependenciesRam Krishna Verma1-3/+3
Issue-ID: POLICY-3507 Change-Id: Ie30a1b289fea24b641495148f371e16b1ea06690 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-06-25Bump apex-pdp to 2.5.4-SNAPSHOTRam Krishna Verma81-81/+81
Issue-ID: POLICY-3329 Change-Id: I86c81ddb4ba8e5961690c451e1dd5185ecf20d3b Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-06-25Release apex-pdp 2.5.3 docker imageRam Krishna Verma1-0/+8
Issue-ID: POLICY-3329 Change-Id: I0735113a8b0731850bbdd57a9b24680a8daa4b55 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-06-23Release apex-pdp 2.5.3 mvn artifactsRam Krishna Verma1-0/+5
Issue-ID: POLICY-3329 Change-Id: I05879dc7f9aabcdcb8fae1f9888d6be856435137 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-06-23Point to released dependenciesRam Krishna Verma1-3/+3
Issue-ID: POLICY-3329 Change-Id: I18687d4e36a47372ddafe29b3294f9d692f1e0cb Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-05-26Support ':' in Apex Event Avro schema fieldnamesJohnKeeney4-10/+124
Similar to '.' (_DoT_) and '-' (_Dash_), the ':' (_ColoN_) character can now be used in Apex Event Field names specified using Avro Schema Change-Id: I320058441a1a1a544b9f1619e45c96e71e5aa9e3 Signed-off-by: JohnKeeney <john.keeney@est.tech> Issue-ID: POLICY-3301 Signed-off-by: JohnKeeney <john.keeney@est.tech> (cherry picked from commit fe40844bba4a94e26efc0f1c57d62c97e35bfc79)
2021-05-21Remove csit folder from policy/apex-pdpRam Krishna Verma7-7644/+0
The csit test files for all repos have been consolidated in policy/docker to maintain them at single place and allow us to trigger verify jobs in gerrit reviews. Issue-ID: POLICY-3257 Change-Id: I26d281b75d91e7bf1250e97b22d0e7a303815ed6 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit c70c2179f1555e356794145956cbe32a3407e622)
2021-05-10Add testcases for policy status and pdp statisticsRam Krishna Verma1-10/+51
Adding testcases to validate policy status and pdp statistics api's. Issue-ID: POLICY-3257 Change-Id: I730451c4abb19bab6ddf10cba58f63ab5ca3a11a Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit 27d086bfa7a72f761204ad7a76068687f6f36f89)
2021-05-07Merge "Changes to retain executionProperties per event flow for better ↵Jim Hahn3-19/+6
context handling" into honolulu
2021-05-07Merge "Updating APEX base image from policy-jre-alpine to policy-jdk-alpine" ↵Ram Krishna Verma1-1/+1
into honolulu
2021-05-07Changes to retain executionProperties per event flow for better context handlinga.sreekumar3-19/+6
Change-Id: I11668e9222dd9c61cc3096fa5c754c8702a781bf Issue-ID: POLICY-3227 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> (cherry picked from commit 7bcbd221e350e45db5be0c4f1ceb2e4e1a418f63)
2021-05-07Changes to support Kafka over SSL in APEXa.sreekumar2-2/+17
The Kafka plugin in APEX-PDP already has a field "kafkaProperties" that can take in any properties required for the Kafka client. This is apt to store the SSL related properties as they could change based on the server implementation. To make the communication possible, the only change required in APEX is to allow a property to have an empty value. For e.g., to disable the server host name verification, ssl.endpoint.identification.algorithm must to be explicitly set to an empty string on the client. Change-Id: If3adaeaf11e5fbbd2aff582b5d4ba7824017ea8a Issue-ID: POLICY-3194 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> (cherry picked from commit bd21c78ed6953de4e8f9fd43311fd22bee7a5472)
2021-05-07Updating APEX base image from policy-jre-alpine to policy-jdk-alpinea.sreekumar1-1/+1
The stackoverflow issue is happening only in standalone mode when RestManager class is called from APEX Javascript logic to post a JSON body, that too 6-7 out of 10 times. To identify the exact root cause may need more investigation, but changing the base image from policy-jre-alpine to policy-jdk-alpine seems to have fixed the issue during local testing. (Issue didn't happen 10 out of 10 times) Change-Id: Ibe718294ff9ab04c70349b3bc52c3c66619f2093 Issue-ID: POLICY-3066 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> (cherry picked from commit f19e437f71b82507e406e96b99b56bb9fbb02b56)
2021-04-19Update jMeter test filesarkadiusz.adamski2-2256/+5175
- Update performance test file - Update stability test file Issue-ID: POLICY-3109 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: Ibcab9cd012ed9ea50cb389f45ae7d8149b850a2d (cherry picked from commit 4daab4def85bf5de00fb3d4cd01ebb38b61760be)
2021-04-12APEX-PDP incorrectly reports successful policy deployment to PAPa.sreekumar2-4/+7
Change-Id: I2fbf0303805b4c5feead522ad78fd4ef518659af Issue-ID: POLICY-3173 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> (cherry picked from commit ae01c8d07c3b62dd9b06958a62702816e2f7bfc1)
2021-04-06Update jMeter test filearkadiusz.adamski1-7/+7
Issue-ID: POLICY-3093 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: If9600785d46bed5596847991690fe1631b97bbf3 (cherry picked from commit 31a94576b1a60be11120deb202475850b8f83d3d)
2021-03-24Override to default entry point in apex-pdpRam Krishna Verma1-0/+1
Overriding to default entry point (/bin/sh) in apex-pdp docker file to support stand alone installations of docker image. Issue-ID: POLICY-3062 Change-Id: I100674cedf78f7221128bc87dd562835f297e0dd Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca> (cherry picked from commit 4d967d61cfb83802b5426d5fd818bcecf144d6e1)
2021-03-24Bump apex-pdp to 2.5.3-SNAPSHOTRam Krishna Verma81-81/+81
Issue-ID: POLICY-3150 Change-Id: I563f3f4f2d0d3355b6f683db5904bd2d339f6623 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-03-24Release apex-pdp 2.5.2 docker8.0.0-ONAPRam Krishna Verma1-0/+8
Issue-ID: POLICY-3150 Change-Id: Ic146feb53bfe042f2ba213a01279b8878f4f37c2 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-03-24Release apex-pdp 2.5.2 maven artifactsRam Krishna Verma1-0/+5
Issue-ID: POLICY-3150 Change-Id: I27c09b2cc644937fc7812ee0bbbb6cf9b9784a78 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-03-24Point to 2.4.2 modelsRam Krishna Verma1-1/+1
Issue-ID: POLICY-3150 Change-Id: I92dd8dd234820daa78de25c85276bb079282811c Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-03-23Fixing issues around deploying APEX policies with duplicate conceptsa.sreekumar1-25/+35
Deploying invalid APEX policies with duplicate concepts resulting in corrupting all the policies in memory. This is fixed here. This entire functionality handling multiple policies will be revisited as part of https://jira.onap.org/browse/POLICY-3018 Change-Id: I751102d5dddcb92cdcede8222855e2f467bb724d Issue-ID: POLICY-3141 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> (cherry picked from commit e3f1349915f425c2f0c09688a2cc6d8d246f4110)
2021-03-23Fixing parallel event execution problem in APEX-PDP REST layera.sreekumar6-135/+29
Parallel event execution in APEX was resulting in incorrect dynamic REST url. This issue is fixed in this review. Change-Id: Id8a28c001a7fd7915df1f5909109bb369667ab40 Issue-ID: POLICY-3019 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca> (cherry picked from commit 369a94a9fd626b35d52c2e7ee5f19e6ff6e1b9d8)
2021-03-16Update policy-keystore with newer certificatesjhh2-0/+0
Issue-ID: POLICY-3139 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ia67cb1486a5625385a710c5f6c2b4325ca108820
2021-03-10Default to honolulu branchJim Hahn1-1/+1
Issue-ID: POLICY-3105 Change-Id: I49d5c47b029d95664409f785dc3ed2e1229e9ed9 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-03-10Bump apex-pdp to 2.5.2-SNAPSHOTa.sreekumar81-81/+81
Change-Id: I291f968367b1f864bb417a72fd0bdb22a07ba0f7 Issue-ID: POLICY-3127 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-03-10Release apex-pdp 2.5.1 dockera.sreekumar1-0/+8
Change-Id: I9b5ee20c4760d4f9adcc28c708af62922d6952fa Issue-ID: POLICY-3127 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-03-10Release apex-pdp 2.5.1 maven artifactsa.sreekumar1-0/+5
Change-Id: Ib32e0a9dc3d3b9a27f712a02c0317bf7640bc12d Issue-ID: POLICY-3127 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-03-09Point to policy-models 2.4.1a.sreekumar1-1/+1
Change-Id: I142f196ddcd71048b6812af2d6af014ca42aa5a9 Issue-ID: POLICY-3127 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-02-24Update info.yaml in apex-pdpRam Krishna Verma1-2/+2
Issue-ID: POLICY-3028 Change-Id: Icf1319122ed19a0ba36b148bab7d77be626ba20e Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-24Bump apex-pdp to 2.5.1-SNAPSHOTa.sreekumar81-81/+81
Change-Id: I761ded255a97128f858d3a7ce95f2479b6208a4e Issue-ID: POLICY-3088 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-02-23Release apex-pdp 2.5.0 docker imageRam Krishna Verma1-0/+8
Issue-ID: POLICY-3088 Change-Id: Id5754dac1e8bab68cdb280800750ad98f14c76b1 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-23Merge "Fixing intermittent test failures in APEX"Ram Krishna Verma1-75/+58
2021-02-23Release apex-pdp 2.5.0 maven artifactsRam Krishna Verma1-0/+5
Issue-ID: POLICY-3088 Change-Id: Ifa746c534623e43f883f9101c4beb0f34dffbaac Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-02-23Fixing intermittent test failures in APEXa.sreekumar1-75/+58
This review should fix the intermittent test failures in TestExecutionPropertyRest class in APEX. Change-Id: I1871a3ac1a40985ad44bbd1433c54930793c7b3c Issue-ID: POLICY-3096 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-02-23Point to released version of docker, parent, common and modelsa.sreekumar2-5/+6
Change-Id: I17e2e093421733fc94a3de8f5946b867b3b73ba9 Issue-ID: POLICY-3088 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
2021-02-19Convert Date to Instant in statsliamfallon1-2/+2
Issue-ID: POLICY-3069 Change-Id: Ib30782485652ec693d2dbea79514183c7cfbb0c4 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-02-19Merge "Fix sonars in apex-pdp"Ram Krishna Verma58-720/+509