summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-12-24Upversion to 1.8.0-SNAPSHOTHEADmasterHarish Venkata Kajur2-2/+2
Issue-ID: AAI-3222 Change-Id: I30421510f6bdf685a837cf2cf5a54a4081ff4c56 Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
2020-11-20Upgrade of the parent to aai-parent:1.7.3Igor Dysko1-1/+2
Upgrade of the parent to the newest aai-parent release Issue-ID: AAI-2641 Signed-off-by: Igor Dysko <igor1.dysko@orange.com> Change-Id: Ib899aa30c07784b574b44adf75231bf680e33ede
2020-08-25Update to spring boot 2guilinIgor Dysko19-139/+126
Update of dependencies and source code to spring boot 2 Issue-ID: AAI-3106 Signed-off-by: Igor Dysko <igor1.dysko@orange.com> Change-Id: Ie12c330af37d3cc841913c22a3703bcc3ae8a5d5
2020-07-31Merge "Update Lifecycle state to mature"Venkata Harish Kajur1-1/+1
2020-07-30Update Lifecycle state to maturewr148d1-1/+1
Issue-ID: AAI-3101 Signed-off-by: wr148d <wr148d@att.com> Change-Id: If77dd0dce1833c1c40bdf63ed36a0903032ec736
2020-07-02Promote Bill Reehil as AAI PTLJimmy Forsyth1-8/+8
Issue-ID: AAI-2967 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I0dbc2586550564f1c39dcb30710144be2ae59f4d
2020-06-12Added William Reehil as committerwr148d1-0/+8
Issue-ID: AAI-2928 Signed-off-by: wr148d <wr148d@att.com> Change-Id: I6f8691cba5824ef0aa7a405b93fbcb657fc6e8d3
2020-05-11Remove Tian Lee from committers and update TSC sectionwr148d1-39/+6
Issue-ID: AAI-2898 Change-Id: I42c96feedd030029a3a6961e4c7eb844496f229e Signed-off-by: wr148d <wr148d@att.com>
2020-04-08Upversion to 1.7.0Jimmy Forsyth2-3/+3
Issue-ID: AAI-2860 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I7b70d5ae07f27473281efc4d1c31f9c3b03ff5e7
2020-02-19Update SONAR config6.0.0-ONAPfrankfurtjimmy1-46/+160
Issue-ID: AAI-2793 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: Idf843a9e261bc8ef4ff165cf6a3322acb012a495
2019-10-31Release 1.6.0Jimmy Forsyth1-1/+1
Issue-ID: AAI-2607 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I9c49336fd17dd750b02390c152f2d30eec5b91c6
2019-10-03Enforce minimum Jacoco line coverageLee, Tian (tl5884)1-425/+437
Current coverage at 85%, enforced limit set to 80% Change-Id: I1875fc786f82e4bae352746c1600f28d8b1bb2ee Issue-ID: AAI-2365 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2019-08-14Upversion validation in masterJimmy Forsyth2-4/+4
Issue-ID: AAI-2579 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I5d7d508e6ca0b1c82f0eb1db2289f78084eb2bdb
2019-07-03Upversion to oparent 2.0.0Jimmy Forsyth1-2/+6
Issue-ID: AAI-2501 Change-Id: Id24cc90272156f0167c707e718757ac0a659ab01 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-07-03Merge "Make Validation groovy rules easier for testing"James Forsyth4-9/+271
2019-06-19Upversion for global jjb transitionJimmy Forsyth2-4/+4
Issue-ID: AAI-2501 Change-Id: I84f3fde66da363d556055a34cdfe4f89e85deb52 Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-06-04Make Validation groovy rules easier for testingburdziak4-9/+271
Issue-ID: AAI-2470 Change-Id: Ie28390f4ab3c9bd4f8e469812d6b19ecd82c2879 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
2019-05-03Upversion for Dublin release4.0.0-ONAPdublinJimmy Forsyth2-2/+2
Issue-ID: AAI-2403 Change-Id: I70cf045d924d41efe6b776a37a243d19c41c623e Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-05-01Update to latest version of schema-service1.4.0Jimmy Forsyth1-1/+1
Issue-ID: AAI-2169 Change-Id: I391828386f60085edbe708e33a274b046968224e Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-04-09Upgrade to springboot 1.5.20.RELEASEJimmy Forsyth1-1/+1
Issue-ID: AAI-2349 Change-Id: I9394f428505dae8b611b08c236e902093331109a Signed-off-by: Jimmy Forsyth <jf2512@att.com>
2019-03-28Exclude Tomcat dependencies in favour of JettyLee, Tian (tl5884)1-0/+14
Change-Id: Ib42a3c24a2f7be0905ad33fa10b9f1ce68d6b0b2 Issue-ID: AAI-2254 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2019-03-28Upversion Spring Boot and Event Client to latestLee, Tian (tl5884)1-2/+2
Change-Id: I00d48a95b27ae15fcc33e97ad868379bc816207b Issue-ID: AAI-2254 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
2019-03-25Adding key_store_password to start scriptNorm Traxler1-0/+1
Issue-ID: LOG-1029 Change-Id: I9028fcf6d04330e9cf7c68583ab5c4a799ab2729 Signed-off-by: Norm Traxler <normant@amdocs.com>
2019-03-15Remove SNAPSHOT from aai-schema versionsmark.j.leonard1-3/+3
Use the latest public versions of aai-schema and aai-schema-ingest. The schema jar is now in the schema-service group rather than aai-common. Change-Id: Ie80d9a6ed7b9b9c4391a36c86afa094e9454a703 Issue-ID: AAI-2077 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-13Improve error message for unknown entity-typemark.j.leonard3-69/+106
When the Rule-driven Validator cannot find any rules for the event's entity type, include the entity type in the content of the error message that is logged and thrown as an Exception. Change-Id: If037a0d512f690350caa169d3af2f0f152ac233b Issue-ID: AAI-2259 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-12Fix Sonar vulnerability for SystemProperty enummark.j.leonard1-1/+1
Sonar wrongly identifies the public set() method as a setter for the enum and logs a violation (enums should not be mutable). Change the access level modifier (to make it not public) as lowering the visibility suppresses the Sonar false positive. Change-Id: Ic3e5ade0410a7702a89e22fd72b6fbe4d8db0dc4 Issue-ID: AAI-2057 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-12Simplify JSON auth policy loading codemark.j.leonard2-18/+46
If the JSON filename or path cannot be located then attempt to resolve the file location relative to firstly CONFIG_HOME and then CONFIG_HOME/auth Change-Id: Ic8d6c7d6e129b09ac7fa72d733768d941826185b Issue-ID: AAI-2057 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-03-01Add missing INFO.yaml blocksJessica Wagantall1-6/+45
Add missing information so that the new verify job passes. Change-Id: I69b2abf2eb34a841aa59df29395badcb240e2162 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-02-19Change log level for filtered eventsed852m1-1/+1
Issue-ID: AAI-2160 Change-Id: I8dc3d3408fce4823cd8684377e788c788bdca72b Signed-off-by: ed852m <ed.dening@amdocs.com>
2019-02-19Remove unused test configuration filesmark.j.leonard31-339/+395
Also fix some checkstyle warnings regarding Javadoc comments. Issue-ID: AAI-2057 Change-Id: If654c63ec6a5f9888fdf597e51ad0cad9f363a90 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-02-19Various Sonar and Checkstyle issuesmark.j.leonard28-200/+254
Issue-ID: AAI-2057 Change-Id: I3b24ce6e5baddb409e3b1d89f411ee934c465284 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-02-15Create Application tests for KEY_STORE_PASSWORDmark.j.leonard9-70/+171
Add a dummy keystore file for testing exceptions relating to opening the key store (for the server cert) with an incorrect password. This is intended to increase code coverage. Make AAIMicroServiceAuthCore non-static to avoid some issues with Spring initialization. Change-Id: Ic512bd0934210fb016da9731e65ec0d858fa4ff7 Issue-ID: AAI-2057 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-02-15Convert tests with Mocking to SpringBootTestmark.j.leonard6-52/+84
Remove the dependency on Mockito and instead use the Spring framework for testing with Mocks. This allows greater control over the properties that are used by the test classes. Change-Id: I3a72d41f3015f831f425f99cf44417bccdb2c823 Issue-ID: AAI-2057 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-02-14Add support for common rules across typesmark.j.leonard10-152/+258
Refactor the Rule Driven Validator implementation for loading the Groovy rules. Firstly, support multiple top-level folders. Secondly, include each top-level folder in the set of paths to search for *.groovy files. Pull a common rule up to the top-level to remove the duplication. Add tests to exercise the exception handling code. Change-Id: Ib70fe03ab5b1f2f8c1711760236b07850aaaa398 Issue-ID: AAI-2155 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-02-14Refactor rule manager key generationmark.j.leonard3-25/+18
Simplify the generateKey() method by using a Java List instead of an Array. This makes the code easier to read. Change-Id: Ida772d33af5a244bafa19b6fff465fd590ac6d1a Issue-ID: AAI-2057 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-02-13Add a JUnit test for the Data Dictionarymark.j.leonard10-19/+379
Create sample configuration for debugging the DataDictionary.java code. Fix an issue in the Rule Driven Validator: re-enable invocation of the default rules when no indexed rules are found for an event. Change-Id: I85fb6c0797e1240c14997b6e8ba1f6c0304152db Issue-ID: AAI-2057 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-02-13Add a topic protocol configuration settingmark.j.leonard7-42/+96
Use the latest version of the event-client for DMaaP. Read an (optional) protocol value from each topic configuration properties file, and pass this to the Consumer and/or Publisher. Use the default protocol if the configuration is not supplied. Change-Id: I3d6264e1f32c1fbba097eafbe7fe7fbd744f1373 Issue-ID: AAI-2150 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-02-12Improve JUnit tests for the application loggermark.j.leonard2-83/+92
Rework the logger tests to simplify the code and to improve error messages in the case of failure. Change-Id: Ic55077bb8ac7bc7d10559cb1ddd652a6a15f3dca Issue-ID: AAI-2057 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-02-12Remove UTF-8 character from License textmark.j.leonard1-2/+2
Change the License back to plain text. See https://wiki.onap.org/display/DW/Copyrights+and+License+Declarations Change-Id: I3b091eb0c95f6d55465766ad9af860e954ce9219 Issue-ID: AAI-2057 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-02-12Enable the info servicemark.j.leonard1-0/+3
Explicitly configure a Spring bean for the InfoService. Change-Id: I02b98750dfed416ab831e126aeca5b0ac5582356 Issue-ID: AAI-2115 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-02-12Add the Maven license pluginmark.j.leonard8-135/+190
Update some Java files with incorrect import ordering. Apply an updated License text (referencing the year 2019). Change-Id: Iaf0a7f8a4f2fd4dfb52eda87366e1f8d50e6e06c Issue-ID: AAI-2057 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-01-23Make password obfuscation with Jetty optionalmark.j.leonard4-43/+135
Only deobfuscate a password value that begins with the text OBF: Issue-ID: AAI-2115 Change-Id: Ia9d733e7044b63bdba0add6b8df5d40b66decc63 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-01-22Use Jetty deobfuscation method on password stringsmark.j.leonard7-15/+17
Change-Id: Ifc36d8358c54f2602ecab2fb965461a6436bfcae Issue-ID: AAI-2110 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-01-16Refactor - create a ValidationResult Builder classmark.j.leonard13-339/+493
In anticipation of the Validation Result output adopting the common event payload, add an interface to provide a greater level of abstraction between the current implementation and the classes that create validation results. Change-Id: Ie81228dff19a124011e77097768b44be5a3844b6 Issue-ID: AAI-2057 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-01-16Update to aai-schema-ingest version 1.4.1mark.j.leonard31-1030/+630
Using SNAPSHOT version (as 1.4.1 is not released) Change-Id: I3b5959cb2d43840556a628db8fe17701d36aa6f9 Issue-ID: AAI-2077 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-01-14Fix Java code smells (Sonar and Checkstyle)mark.j.leonard16-786/+776
Change-Id: I04cb9b4dee75560777bb3533f6a58268e10fc217 Issue-ID: AAI-2057 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-01-14Upgrade REST client to version 1.4.0mark.j.leonard12-64/+225
Upgrade the dependency from version 1.2.1 Change-Id: I3333dbea4d3d8fd810c0235339110747417476d5 Issue-ID: AAI-2075 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-01-07Add logging for unprocessed eventsmark.j.leonard3-3/+20
Change-Id: Iccc6815cf9c6b795d0aff7f0fb8d57cff9aba936 Issue-ID: AAI-2056 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2018-12-21[LOG-404] revert spring-starter-tomcat exclusionPierre Rioux1-4/+0
Change-Id: Ic1a88101d279ff2a39f595b548253196606c9546 Signed-off-by: Pierre Rioux <pierre.rioux@amdocs.com> Issue-ID: LOG-404
2018-12-21Merge "[LOG-404] updating built-in rule for data-dict API"Steven Blimkie1-37/+67