Skip to content

Commit

Permalink
feat: kubernetes and s3 properties parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Nolife999 committed Feb 7, 2024
1 parent bb18d4f commit e655221
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 2 deletions.
20 changes: 19 additions & 1 deletion arc-batch/src/main/resources/fr/insee/config/arc.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,22 @@ fr.insee.database.arc.restrictedUsername=${env.restrictedUserDatabase:}

# Path to log output file - leave blank to log to consoleAppender
fr.insee.arc.log.directory=
fr.insee.arc.log.level=WARN
fr.insee.arc.log.level=WARN

# Properties for horizontal scaling on kubernetes
fr.insee.arc.kubernetes.api.uri=${env.kubernetesApiUri:}
fr.insee.arc.kubernetes.executor.number=${env.kubernetesExecutorNumber:}
fr.insee.arc.kubernetes.executor.label=${env.kubernetesExecutorLabel:}

# input s3 bucket where to receive files
fr.insee.arc.s3.input.api.uri=${env.s3InputApiUri:}
fr.insee.arc.s3.input.bucket=${env.s3InputBucket:}
fr.insee.arc.s3.input.access=${env.s3InAccess:}
fr.insee.arc.s3.input.secret=${env.s3InSecret:}

# output s3 bucket where to export files
fr.insee.arc.s3.output.api.uri=${env.s3OutputApiUri:}
fr.insee.arc.s3.output.bucket=${env.s3OutputBucket:}
fr.insee.arc.s3.output.access=${env.s3OutputAccess:}
fr.insee.arc.s3.output.secret=${env.s3OutputSecret:}

18 changes: 18 additions & 0 deletions arc-web/src/main/resources/fr/insee/config/arc.properties
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,21 @@ fr.insee.database.arc.restrictedUsername=${env.restrictedUserDatabase:}
# Path to log output file - leave blank to log to consoleAppender
fr.insee.arc.log.directory=
fr.insee.arc.log.level=INFO

# Properties for horizontal scaling on kubernetes
fr.insee.arc.kubernetes.api.uri=${env.kubernetesApiUri:}
fr.insee.arc.kubernetes.executor.number=${env.kubernetesExecutorNumber:}
fr.insee.arc.kubernetes.executor.label=${env.kubernetesExecutorLabel:}

# input s3 bucket where to receive files
fr.insee.arc.s3.input.api.uri=${env.s3InputApiUri:}
fr.insee.arc.s3.input.bucket=${env.s3InputBucket:}
fr.insee.arc.s3.input.access=${env.s3InAccess:}
fr.insee.arc.s3.input.secret=${env.s3InSecret:}

# output s3 bucket where to export files
fr.insee.arc.s3.output.api.uri=${env.s3OutputApiUri:}
fr.insee.arc.s3.output.bucket=${env.s3OutputBucket:}
fr.insee.arc.s3.output.access=${env.s3OutputAccess:}
fr.insee.arc.s3.output.secret=${env.s3OutputSecret:}

20 changes: 19 additions & 1 deletion arc-ws/src/main/resources/fr/insee/config/arc.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,22 @@ fr.insee.database.arc.restrictedUsername=${env.restrictedUserDatabase:}

# Path to log output file - leave blank to log to consoleAppender
fr.insee.arc.log.directory=
fr.insee.arc.log.level=ERROR
fr.insee.arc.log.level=ERROR

# Properties for horizontal scaling on kubernetes
fr.insee.arc.kubernetes.api.uri=${env.kubernetesApiUri:}
fr.insee.arc.kubernetes.executor.number=${env.kubernetesExecutorNumber:}
fr.insee.arc.kubernetes.executor.label=${env.kubernetesExecutorLabel:}

# input s3 bucket where to receive files
fr.insee.arc.s3.input.api.uri=${env.s3InputApiUri:}
fr.insee.arc.s3.input.bucket=${env.s3InputBucket:}
fr.insee.arc.s3.input.access=${env.s3InAccess:}
fr.insee.arc.s3.input.secret=${env.s3InSecret:}

# output s3 bucket where to export files
fr.insee.arc.s3.output.api.uri=${env.s3OutputApiUri:}
fr.insee.arc.s3.output.bucket=${env.s3OutputBucket:}
fr.insee.arc.s3.output.access=${env.s3OutputAccess:}
fr.insee.arc.s3.output.secret=${env.s3OutputSecret:}

0 comments on commit e655221

Please sign in to comment.