Skip to content

Commit 9e5dbcd

Browse files
committed
update charts for making course offering and enrollment Workday API calls
1 parent 6909b32 commit 9e5dbcd

File tree

7 files changed

+23
-8
lines changed

7 files changed

+23
-8
lines changed

charts/thub/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ type: application
66
# This is the chart version. This version number should be incremented each time you make changes
77
# to the chart and its templates, including the app version.
88
# Versions are expected to follow Semantic Versioning (https://semver.org/)
9-
version: 1.7.12
9+
version: 1.8.0
1010

1111
# This is the version number of the application being deployed. This version number should be
1212
# incremented each time you make changes to the application. Versions are not expected to
1313
# follow Semantic Versioning. They should reflect the version the application is using.
14-
appVersion: 2.0.0
14+
appVersion: 2.1.0
1515

1616
home: https://hypercision.github.io/helm-charts
1717

@@ -23,9 +23,9 @@ dependencies:
2323
- name: keycloak-config
2424
version: 0.1.1
2525
- name: lms-data-service
26-
version: 1.5.5
26+
version: 1.6.0
2727
- name: ojt
28-
version: 1.4.14
28+
version: 1.5.0
2929
- name: user-service
3030
version: 1.3.4
3131

charts/thub/charts/lms-data-service/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ type: application
77
# This is the chart version. This version number should be incremented each time you make changes
88
# to the chart and its templates, including the app version.
99
# Versions are expected to follow Semantic Versioning (https://semver.org/)
10-
version: 1.5.5
10+
version: 1.6.0
1111

1212
# This is the version number of the application being deployed. This version number should be
1313
# incremented each time you make changes to the application. Versions are not expected to
1414
# follow Semantic Versioning. They should reflect the version the application is using.
15-
appVersion: v2.1.4
15+
appVersion: v2.2.0

charts/thub/charts/lms-data-service/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ spec:
5050
{{- toYaml .Values.resources | nindent 12 }}
5151
env:
5252
{{- include "thub.lmsDataServiceServerUrlEnv" . | nindent 10 }}
53+
- name: services.item
54+
value: "http://{{ .Values.global.itemService.serviceName }}:{{ .Values.global.itemService.servicePort }}"
5355
- name: server.port
5456
value: {{ .Values.global.lmsDataService.servicePort | quote }}
5557
# The keycloak-shared-secret and keycloak-realm-secret are defined in the keycloak-config chart

charts/thub/charts/ojt/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ type: application
77
# This is the chart version. This version number should be incremented each time you make changes
88
# to the chart and its templates, including the app version.
99
# Versions are expected to follow Semantic Versioning (https://semver.org/)
10-
version: 1.4.14
10+
version: 1.5.0
1111

1212
# This is the version number of the application being deployed. This version number should be
1313
# incremented each time you make changes to the application. Versions are not expected to
1414
# follow Semantic Versioning. They should reflect the version the application is using.
15-
appVersion: v2.1.12
15+
appVersion: v2.2.0

charts/thub/templates/_helpers.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ jms.destinations.assignedItemOjtCreationQueue={{ .Release.Namespace }}-assignedI
124124
jms.destinations.assignedItemOjtCreationResultsQueue={{ .Release.Namespace }}-assignedItemOjtCreationResultsQueue
125125
jms.destinations.attendeeRegistrationQueue={{ .Release.Namespace }}-attendeeRegistrationQueue
126126
jms.destinations.completionStatusQueue={{ .Release.Namespace }}-completionStatusQueue
127+
jms.destinations.createCourseOfferingQueue={{ .Release.Namespace }}-createCourseOfferingQueue
128+
jms.destinations.createCourseOfferingResultsQueue={{ .Release.Namespace }}-createCourseOfferingResultsQueue
127129
jms.destinations.instructorQueue={{ .Release.Namespace }}-instructorQueue
128130
jms.destinations.itemQueue={{ .Release.Namespace }}-itemQueue
129131
jms.destinations.learnerQueue={{ .Release.Namespace }}-learnerQueue

charts/thub/templates/shared-settings-configmap.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ data:
1313
hclabs.awsS3LearningHistoryBucketName: {{ .Values.awsS3LearningHistoryBucketName | quote }}
1414
hclabs.createOjtsFromAssignedItems: {{ .Values.createOjtsFromAssignedItems | quote }}
1515
hclabs.dataSyncScheduleLink: {{ .Values.dataSyncScheduleLink | quote }}
16+
{{- if .Values.defaultLengthOfOjtInDays}}
17+
hclabs.defaultLengthOfOjtInDays: {{ .Values.defaultLengthOfOjtInDays | quote }}
18+
{{- end }}
1619
hclabs.defaultOjtStepType: {{ .Values.defaultOjtStepType | quote }}
1720
hclabs.desiredItemTypes: {{ .Values.desiredItemTypes | quote }}
1821
hclabs.enableAssessmentType: {{ .Values.enableAssessmentType | quote }}
@@ -28,6 +31,7 @@ data:
2831
{{- if .Values.roleNeededForApprover}}
2932
hclabs.roleNeededForApprover: {{ .Values.roleNeededForApprover | quote }}
3033
{{- end }}
34+
hclabs.sendCreateCourseOfferingMessages: {{ .Values.sendCreateCourseOfferingMessages | quote }}
3135
hclabs.sfLearningHistoryConnectorTimeZone: {{ .Values.sfLearningHistoryConnectorTimeZone | quote }}
3236
hclabs.sfLearningHistoryEsUserName: {{ .Values.sfLearningHistoryEsUserName | quote }}
3337
hclabs.sfLearningHistoryLastUpdatedUser: {{ .Values.sfLearningHistoryLastUpdatedUser | quote }}

charts/thub/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ awsS3LearningHistoryBucketName: "hclabs-dev-traininghub-learning-history"
2020
createOjtsFromAssignedItems: true
2121
# Link to a Google Sheet that explains how often each Data Sync job runs.
2222
dataSyncScheduleLink: ""
23+
# Specify role here to override the default defined by the OJT and LMS Data Service application.yml
24+
# The default number of days added to an OJT's start date to determine the
25+
# end date of its corresponding Course Offering in Workday.
26+
defaultLengthOfOjtInDays: ""
2327
# The `StepType` to use by default when adding another step to an OJT Course
2428
defaultOjtStepType: "COMPLETE_INCOMPLETE"
2529
# Item types that should be loaded in by the LMS Data Service.
@@ -51,6 +55,9 @@ onlySeeOjtsInYourOrganization: false
5155
# Specify role here to override the default defined by the OJT application.yml
5256
# In order for a Learner/User to be an approver for an OJT or OJTCourse, they need to have this specified role.
5357
roleNeededForApprover: ""
58+
# When this is true, `CreateCourseOfferingMessage` objects are sent to the LMS Data Service
59+
# to create or update a Course Offering and Learning Enrollment in Workday which correspond to an OJT.
60+
sendCreateCourseOfferingMessages: true
5461
# The timezone that SuccessFactors expects date and time values to be in the learning history connector input file.
5562
# It is in a format that can be used by `java.util.TimeZone.getTimeZone()`. This value can be different for each client.
5663
sfLearningHistoryConnectorTimeZone: "GMT"

0 commit comments

Comments
 (0)