Skip to content

Commit

Permalink
Merge pull request tech-by-design#951 from Shreeja-dev/main
Browse files Browse the repository at this point in the history
chore: change mtls strategy in phiprod and delete unused file
  • Loading branch information
ratheesh-kr authored Dec 27, 2024
2 parents 32a6a19 + b35a499 commit 29840ab
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 38 deletions.
2 changes: 1 addition & 1 deletion hub-prime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</parent>
<groupId>org.techbd</groupId>
<artifactId>hub-prime</artifactId>
<version>0.402.0</version>
<version>0.403.0</version>
<packaging>war</packaging>
<name>Tech by Design Hub (Prime)</name>
<description>Tech by Design Hub (Primary)</description>
Expand Down
2 changes: 1 addition & 1 deletion hub-prime/src/main/resources/application-phiprod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ org:
# - aws-secrets-temp-file: mTLS is enabled. The WebClient retrieves the TLS key and certificate from AWS Secrets Manager store it to a temporary file ,create ssl context and then delete from temporary file, and then sends an HTTPS POST request to the scoring engine API with mutual TLS authentication.
# - mTlsResources: mTLS is enabled. The WebClient reads the TLS key and certificate from a local folder, and then sends an HTTPS POST request to the scoring engine API with mutual TLS authentication.
# - post-stdin-payload-to-nyec-datalake-external: This option runs a bash script via ProcessBuilder. The payload is passed through standard input (STDIN) to the script, which uses `curl` to send the request to the scoring engine API. In the `phiqa` environment, mTLS is enabled for this request. In other environments, mTLS is disabled for this script.
mTlsStrategy: post-stdin-payload-to-nyec-datalake-external
mTlsStrategy: aws-secrets
mTlsResources:
# Path to the TLS key resource for mTLS.
mTlsKeyResourceName: src/main/resources/certificates/scoring-engine/nyec-client-key.key # File is blank by default.Add key here.
Expand Down
36 changes: 0 additions & 36 deletions hub-prime/src/main/resources/application-prod.yml

This file was deleted.

0 comments on commit 29840ab

Please sign in to comment.