Skip to content

Commit 85d7b4b

Browse files
authored
Merge pull request #598 from CodeForPhilly/misc_cleanup
Misc cleanup
2 parents 0b60516 + dc5373c commit 85d7b4b

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

src/helm-chart/values.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ server:
99
repository: ghcr.io/codeforphilly/paws-data-pipeline/server
1010
pullPolicy: Always
1111
# Overrides the image tag whose default is the chart appVersion.
12-
tag: "2.4"
12+
tag: "2.5"
1313

1414
client:
1515
image:
1616
repository: ghcr.io/codeforphilly/paws-data-pipeline/client
1717
pullPolicy: Always
1818
# Overrides the image tag whose default is the chart appVersion.
19-
tag: "2.4"
19+
tag: "2.5"
2020

2121
db:
2222
image:
2323
repository: postgres
2424
pullPolicy: IfNotPresent
2525
# Overrides the image tag whose default is the chart appVersion.
26-
tag: "13.2-alpine"
26+
tag: "15.4-alpine"
2727

2828

2929
storage:

src/server/api/internal_api.py

+9
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
@internal_api.route("/api/internal/test", methods=["GET"])
2222
def user_test():
2323
""" Liveness test, does not require JWT """
24+
logger.debug("Liveness test")
2425
return jsonify(("OK from INTERNAL Test @ " + str(datetime.now())))
2526

2627

@@ -48,6 +49,14 @@ def get_contact_data():
4849
return jsonify(contact_json), 200
4950

5051

52+
@internal_api.route("/api/internal/start_flow", methods=["GET"])
53+
def run_flow():
54+
logger.debug("Calling flow_script.start_flow()")
55+
flow_script.start_flow()
56+
logger.debug("Flow processing complete")
57+
return jsonify(''), 200
58+
59+
5160
@internal_api.route("/api/internal/send_salesforce_platform_message", methods=["GET"])
5261
def send_salesforce_platform_message():
5362
contact_list = updated_data.get_updated_contact_data()

src/server/api/pem.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def find_pem_file():
1111
returning filename if found or empty string if not.
1212
"""
1313

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

1717
pem_file = ''

0 commit comments

Comments
 (0)