Age | Commit message (Collapse) | Author | Files | Lines |
|
Issue-ID: AAI-2470
Change-Id: Ie28390f4ab3c9bd4f8e469812d6b19ecd82c2879
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
|
|
Issue-ID: LOG-1029
Change-Id: I9028fcf6d04330e9cf7c68583ab5c4a799ab2729
Signed-off-by: Norm Traxler <normant@amdocs.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Issue-ID: AAI-2160
Change-Id: I8dc3d3408fce4823cd8684377e788c788bdca72b
Signed-off-by: ed852m <ed.dening@amdocs.com>
|
|
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>
|
|
Issue-ID: AAI-2057
Change-Id: I3b24ce6e5baddb409e3b1d89f411ee934c465284
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: Ifc36d8358c54f2602ecab2fb965461a6436bfcae
Issue-ID: AAI-2110
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
|
|
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>
|
|
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>
|
|
Change-Id: I04cb9b4dee75560777bb3533f6a58268e10fc217
Issue-ID: AAI-2057
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
|
|
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>
|
|
Change-Id: Iccc6815cf9c6b795d0aff7f0fb8d57cff9aba936
Issue-ID: AAI-2056
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
|
|
Change-Id: I8b6f79c015507facbd785fed9d9658218f7ae9ac
Signed-off-by: Pierre Rioux <pierre.rioux@amdocs.com>
Issue-ID: LOG-404
|
|
Change-Id: I08565199e34a5c88790e6879cf1e89bc9c513e92
Signed-off-by: Pierre Rioux <pierre.rioux@amdocs.com>
Issue-ID: LOG-404
|
|
Change-Id: I80c1a0cade46ef623fce91921449642d8eafb2f6
Issue-ID: LOG-683
Signed-off-by: Pierre Rioux <pierre.rioux@amdocs.com>
|
|
Change-Id: I09c4db0b9fbc2a6976b7521b2e5d45ca28a03d11
Issue-ID: LOG-427
Signed-off-by: Prudence Au <prudence.au@amdocs.com>
|
|
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>
|