aboutsummaryrefslogtreecommitdiffstats
path: root/a1-policy-management/config
diff options
context:
space:
mode:
authorPatrikBuhr <patrik.buhr@est.tech>2022-10-14 11:38:22 +0200
committerPatrikBuhr <patrik.buhr@est.tech>2022-11-11 15:08:52 +0100
commite3693cfdaf24a9ecaa341c938eb8b1d61a61cbf6 (patch)
treea2e2a791c5ef0e710056a3ebf0a3e2ad2ab12a95 /a1-policy-management/config
parent7e311a7dd9490ba90decde4b98460bb965567c08 (diff)
Support for using Amazon S3 - Cloud Object Storage
Introduce using Amazon S3 - Cloud Object Storage - AWS for storing of data. Change-Id: I68365c24c63544b5ad8e958a98f48d95f83e3084 Issue-ID: CCSDK-3810 Signed-off-by: PatrikBuhr <patrik.buhr@est.tech>
Diffstat (limited to 'a1-policy-management/config')
-rw-r--r--a1-policy-management/config/application.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/a1-policy-management/config/application.yaml b/a1-policy-management/config/application.yaml
index 80bb1568..2bd8d83d 100644
--- a/a1-policy-management/config/application.yaml
+++ b/a1-policy-management/config/application.yaml
@@ -77,7 +77,7 @@ app:
http.proxy-host:
http.proxy-port: 0
http.proxy-type: HTTP
- # path where the service can store data
+ # path where the service can store data. This parameter is not relevant if S3 Object store is configured.
vardata-directory: /var/policy-management-service
# the config-file-schema-path referres to a location in the jar file. If this property is empty or missing,
# no schema validation will be executed.
@@ -85,3 +85,9 @@ app:
# A file containing an authorization token, which shall be inserted in each HTTP header (authorization).
# If the file name is empty, no authorization token is sent.
auth-token-file:
+ # S3 object store usage is enabled by defining the bucket to use. This will override the vardata-directory parameter.
+ s3:
+ endpointOverride: http://localhost:9000
+ accessKeyId: minio
+ secretAccessKey: miniostorage
+ bucket: