policiesRic.put(policy.getRic().id(), policy.getId(), policy);
policiesService.put(policy.getOwnerServiceId(), policy.getId(), policy);
policiesType.put(policy.getType().getId(), policy.getId(), policy);
- if (this.appConfig.getVardataDirectory() != null && !policy.isTransient()) {
+ if (!policy.isTransient()) {
store(policy);
}
}
void addRic(Ric ric) {
this.rics.put(ric);
- if (this.appConfig.getVardataDirectory() != null) {
- this.policies.restoreFromDatabase(ric, this.policyTypes).subscribe();
- }
+ this.policies.restoreFromDatabase(ric, this.policyTypes).subscribe();
logger.debug("Added RIC: {}", ric.id());
}
- `Springfox <https://github.com/springfox/springfox>`_ Automated JSON API documentation for APIs built with Spring
- `Lombok <https://github.com/rzwitserloot/lombok>`_ to generate code, such as getters and setters
- `Awaitility <https://github.com/awaitility/awaitility>`_ to test asynchronous functionality
+- `S3 <https://mvnrepository.com/artifact/software.amazon.awssdk/s3>`_ Access of Amazon S3 - Cloud Object Storage
To get a complete list of all dependencies, use command "mvn dependency:tree".
* logging; setting for which information is logged.
* auth-token; optional authorization token to use for REST call.
* filepath; the local path to a file used for dynamic configuration (if used). See next chapter.
+ * persistent storage of runtime information. Configuration of A1 policyinstances is stored persistently. The media for this can be either filesystem (a persistent volume) or Amazon S3 - Cloud Object Storage.
For details about the parameters in this file, see documentation in the file.