-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#118 Read in and validate policies for universal config properties #151
Conversation
} | ||
} | ||
|
||
public Set<Property> getProperties() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I: Removed unused function
<BASE_URI>/tmp/configurations/base</BASE_URI> | ||
<ENVIRONMENT_URI>/tmp/configurations/example-env</ENVIRONMENT_URI> | ||
<BASE_PROPERTY_URI>${project.basedir}/src/test/resources/configurations/base</BASE_PROPERTY_URI> | ||
<ENVIRONMENT_PROPERTY_URI>${project.basedir}/src/test/resources/configurations/example-env</ENVIRONMENT_PROPERTY_URI> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I: Moved unit tests to use existing policies within /src/test/resources/
rather than writing them to a /tmp
directory outside of the repo
...figuration-store/src/main/java/com/boozallen/aissemble/configuration/store/ConfigLoader.java
Outdated
Show resolved
Hide resolved
...nfiguration-store/src/main/java/com/boozallen/aissemble/configuration/store/PropertyKey.java
Outdated
Show resolved
Hide resolved
foundation/aissemble-foundation-core-python/src/policy_manager/abstract_policy_manager.py
Outdated
Show resolved
Hide resolved
foundation/aissemble-foundation-core-python/src/policy_manager/policy/json/policy_input.py
Outdated
Show resolved
Hide resolved
foundation/aissemble-foundation-core-python/tests/features/steps/policy_test_util.py
Show resolved
Hide resolved
...ain/java/com/boozallen/aissemble/configuration/policy/PropertyRegenerationPolicyManager.java
Outdated
Show resolved
Hide resolved
foundation/aissemble-foundation-core-python/src/policy_manager/policy/json/policy_input.py
Show resolved
Hide resolved
...uration-store/src/main/java/com/boozallen/aissemble/configuration/service/ConfigService.java
Outdated
Show resolved
Hide resolved
...ain/java/com/boozallen/aissemble/configuration/policy/PropertyRegenerationPolicyManager.java
Outdated
Show resolved
Hide resolved
...ain/java/com/boozallen/aissemble/configuration/policy/PropertyRegenerationPolicyManager.java
Show resolved
Hide resolved
...ain/java/com/boozallen/aissemble/configuration/policy/PropertyRegenerationPolicyManager.java
Outdated
Show resolved
Hide resolved
...configuration-store/src/main/java/com/boozallen/aissemble/configuration/ConfigStoreInit.java
Outdated
Show resolved
Hide resolved
...onfiguration-store/src/test/java/com/boozallen/aissemble/util/ConfigStoreInitTestHelper.java
Show resolved
Hide resolved
) | ||
return self.configuredTargets[0] if len(self.configuredTargets) > 0 else None | ||
|
||
def set_deprecated_targetConfigurations(self, new_value: ConfiguredTarget): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Q/A: Do we need to support the setter? I'd have thought this was a read-only property that's determined by the definition JSON file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In theory we probably don't since these would only be set by the abstract policy manager which does it through the new property. However the java implementation has a now deprecated setter for it, so can't hurt to maintain parity here.
...configuration-store/src/main/java/com/boozallen/aissemble/configuration/ConfigStoreInit.java
Outdated
Show resolved
Hide resolved
2a6090e
to
86897b3
Compare
86897b3
to
f807b50
Compare
PropertyKey
object instead ofgroup name
andproperty name
stringsPolicy
to take a list oftargets
rather than a singletarget
while maintaining backwards compatability