Skip to content

Commit b203eab

Browse files
Merge pull request #190 from topcoder-platform/feature/work-periods-automation
Work Periods Automation
2 parents 8e2d31c + d2f669a commit b203eab

24 files changed

+2493
-2842
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ web_modules/
5353
# Optional eslint cache
5454
.eslintcache
5555

56+
# Optional eslint options
57+
.eslintrc.y*ml
58+
5659
# Microbundle cache
5760
.rpt2_cache/
5861
.rts2_cache_cjs/

config/default.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ module.exports = {
113113
// the delete resource booking entity Kafka message topic
114114
TAAS_RESOURCE_BOOKING_DELETE_TOPIC: process.env.TAAS_RESOURCE_BOOKING_DELETE_TOPIC || 'taas.resourcebooking.delete',
115115
// topics for work period service
116-
// the create rwork period entity Kafka message topic
116+
// the create work period entity Kafka message topic
117117
TAAS_WORK_PERIOD_CREATE_TOPIC: process.env.TAAS_WORK_PERIOD_CREATE_TOPIC || 'taas.workperiod.create',
118118
// the update work period entity Kafka message topic
119119
TAAS_WORK_PERIOD_UPDATE_TOPIC: process.env.TAAS_WORK_PERIOD_UPDATE_TOPIC || 'taas.workperiod.update',
@@ -133,5 +133,7 @@ module.exports = {
133133
// SendGrid email template ID for requesting extension
134134
REQUEST_EXTENSION_SENDGRID_TEMPLATE_ID: process.env.REQUEST_EXTENSION_SENDGRID_TEMPLATE_ID,
135135
// the URL where TaaS App is hosted
136-
TAAS_APP_URL: process.env.TAAS_APP_URL || 'https://platform.topcoder-dev.com/taas/myteams'
136+
TAAS_APP_URL: process.env.TAAS_APP_URL || 'https://platform.topcoder-dev.com/taas/myteams',
137+
// default time zone for Work Periods
138+
WORK_PERIOD_TIME_ZONE: process.env.WORK_PERIOD_TIME_ZONE || 'America/New_York'
137139
}

config/test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ module.exports = {
44
AUTH0_AUDIENCE: 'http://example.com',
55
AUTH0_AUDIENCE_UBAHN: 'http://example.com',
66
AUTH0_CLIENT_ID: 'fake_id',
7-
AUTH0_CLIENT_SECRET: 'fake_secret'
7+
AUTH0_CLIENT_SECRET: 'fake_secret',
8+
WORK_PERIOD_TIME_ZONE: 'America/New_York'
89
}

data/demo-data.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)