summaryrefslogtreecommitdiffstats
path: root/src/test/resources
AgeCommit message (Collapse)AuthorFilesLines
2020-08-25Update to spring boot 2guilinIgor Dysko4-34/+8
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
2019-02-19Remove unused test configuration filesmark.j.leonard7-105/+54
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.leonard5-21/+12
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.leonard4-2/+79
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.leonard1-0/+6
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.leonard1-0/+39
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-13Add a JUnit test for the Data Dictionarymark.j.leonard8-0/+294
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-01-22Use Jetty deobfuscation method on password stringsmark.j.leonard1-2/+2
Change-Id: Ifc36d8358c54f2602ecab2fb965461a6436bfcae Issue-ID: AAI-2110 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
2019-01-16Update to aai-schema-ingest version 1.4.1mark.j.leonard13-304/+73
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-14Upgrade REST client to version 1.4.0mark.j.leonard7-4/+126
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>
2018-08-21Initial submission for validation servicePrudence Au113-0/+26666
Change-Id: I9372430f1ae347373d5a9a0c7a427d7bd393d61e Issue-ID: LOG-427 Signed-off-by: Prudence Au (prudence.au@amdocs.com) Signed-off-by: Geora Barsky <georab@amdocs.com> Signed-off-by: Pierre Rioux <pierre.rioux@amdocs.com>