Skip to content

Misc cleanup #598

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

Merged
merged 10 commits into from
Jan 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/helm-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ server:
repository: ghcr.io/codeforphilly/paws-data-pipeline/server
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "2.4"
tag: "2.5"

client:
image:
repository: ghcr.io/codeforphilly/paws-data-pipeline/client
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "2.4"
tag: "2.5"

db:
image:
repository: postgres
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "13.2-alpine"
tag: "15.4-alpine"


storage:
Expand Down
9 changes: 9 additions & 0 deletions src/server/api/internal_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
@internal_api.route("/api/internal/test", methods=["GET"])
def user_test():
""" Liveness test, does not require JWT """
logger.debug("Liveness test")
return jsonify(("OK from INTERNAL Test @ " + str(datetime.now())))


Expand Down Expand Up @@ -48,6 +49,14 @@ def get_contact_data():
return jsonify(contact_json), 200


@internal_api.route("/api/internal/start_flow", methods=["GET"])
def run_flow():
logger.debug("Calling flow_script.start_flow()")
flow_script.start_flow()
logger.debug("Flow processing complete")
return jsonify(''), 200


@internal_api.route("/api/internal/send_salesforce_platform_message", methods=["GET"])
def send_salesforce_platform_message():
contact_list = updated_data.get_updated_contact_data()
Expand Down
2 changes: 1 addition & 1 deletion src/server/api/pem.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def find_pem_file():
returning filename if found or empty string if not.
"""

locations = ['server/bin', 'bin', 'server/pem']
locations = ['server/bin', 'bin', 'pem', '/app/pem','server/pem']
file_name = 'connected-app-secrets.pem'

pem_file = ''
Expand Down