Skip to content

Work Period Automation and Constraints #189

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 2 commits into from
Apr 15, 2021
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ web_modules/
# Optional eslint cache
.eslintcache

# Optional eslint options
.eslintrc.y*ml

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
Expand Down
10 changes: 8 additions & 2 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ module.exports = {
// the delete resource booking entity Kafka message topic
TAAS_RESOURCE_BOOKING_DELETE_TOPIC: process.env.TAAS_RESOURCE_BOOKING_DELETE_TOPIC || 'taas.resourcebooking.delete',
// topics for work period service
// the create rwork period entity Kafka message topic
// the create work period entity Kafka message topic
TAAS_WORK_PERIOD_CREATE_TOPIC: process.env.TAAS_WORK_PERIOD_CREATE_TOPIC || 'taas.workperiod.create',
// the update work period entity Kafka message topic
TAAS_WORK_PERIOD_UPDATE_TOPIC: process.env.TAAS_WORK_PERIOD_UPDATE_TOPIC || 'taas.workperiod.update',
Expand All @@ -133,5 +133,11 @@ module.exports = {
// SendGrid email template ID for requesting extension
REQUEST_EXTENSION_SENDGRID_TEMPLATE_ID: process.env.REQUEST_EXTENSION_SENDGRID_TEMPLATE_ID,
// the URL where TaaS App is hosted
TAAS_APP_URL: process.env.TAAS_APP_URL || 'https://platform.topcoder-dev.com/taas/myteams'
TAAS_APP_URL: process.env.TAAS_APP_URL || 'https://platform.topcoder-dev.com/taas/myteams',
// default time zone for Work Periods
WORK_PERIOD_TIME_ZONE: process.env.WORK_PERIOD_TIME_ZONE || 'America/New_York',
// maximum start date of resource bookings when populating work periods from existing resource bookings in migration script
MAX_START_DATE: process.env.MAX_START_DATE || '2100-12-31',
// maximum end date of resource bookings when populating work periods from existing resource bookings in migration script
MAX_END_DATE: process.env.MAX_END_DATE || '2100-12-31'
}
3 changes: 2 additions & 1 deletion config/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ module.exports = {
AUTH0_AUDIENCE: 'http://example.com',
AUTH0_AUDIENCE_UBAHN: 'http://example.com',
AUTH0_CLIENT_ID: 'fake_id',
AUTH0_CLIENT_SECRET: 'fake_secret'
AUTH0_CLIENT_SECRET: 'fake_secret',
WORK_PERIOD_TIME_ZONE: 'America/New_York'
}
2 changes: 1 addition & 1 deletion data/demo-data.json

Large diffs are not rendered by default.

Loading