Skip to content

[PROD] Release 1.6.0 #222

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 55 commits into from
Apr 26, 2021
Merged

[PROD] Release 1.6.0 #222

merged 55 commits into from
Apr 26, 2021

Conversation

maxceem
Copy link
Contributor

@maxceem maxceem commented Apr 23, 2021

Release Guide

  • Add new Kafka Topics:

    taas.workperiod.create
    taas.workperiod.update
    taas.workperiod.delete
    
    taas.workperiodpayment.create
    taas.workperiodpayment.update
    taas.workperiodpayment.delete   
    
    • 🔃 Restart TC Bus Service so it picks up new topics (increase instances to 2 and then decrease to 1)
  • Create new Auth0 scopes:

    read:taas-workPeriods
    create:taas-workPeriods
    update:taas-workPeriods
    delete:taas-workPeriods
    all:taas-workPeriods
    
    read:taas-workPeriodPayments
    create:taas-workPeriodPayments
    update:taas-workPeriodPayments
    all:taas-workPeriodPayments
    
  • Set env variable if you would like to disable the actual payment processing:

    PAYMENT_PROCESSING_SWITCH=OFF
    
  • ⏹️ Stop TaaS API and ES Processor

  • Merge PR for ES Processor [PROD] Release 1.6.0 taas-es-processor#50

  • Merge this PR

  • ⚠️ We would run migrations in 2 parts, so it's important to pass --to param to the migrate commands, to makes sure we only run the part of migrations which we need.

  • Run npm run migrate -- --to 2021-04-22-2-resource-booking-work-peirod-payment-add-billing-account-id-field.js to make the next migrations:

    • 2021-03-30-work-period-table-create
    • 2021-04-10-work-period-payment-table-create
    • 2021-04-22-1-make-resource-booking-dates-store-no-timestamp
    • 2021-04-22-2-resource-booking-work-peirod-payment-add-billing-account-id-field
  • Run npm run index:resource-bookings to reindex Resource Bookings

  • Run npm run index:work-periods to create a new ES index for Work Periods.

  • Run npm run migrate -- to 2021-04-22-3-populate-work-periods-for-resource-bookings.js to make the next migrations:

    • 2021-04-22-3-populate-work-periods-for-resource-bookings
  • ▶️ Start TaaS API and ES Processor

  • Merge TaaS App PR [PROD] Release 1.5.4 (Support Work Periods API updates) topcoder-archive/topcoder-platform-taas-app#154

Release Notes

imcaizheng and others added 30 commits March 3, 2021 20:00
Create script for migrating `isApplicationPageActive` from CSV file
implement the `GET /taas-teams/me` endpoint without enrich parameter
Update MigrationMeta table when running init-db
added common Code Guidelines
added tech stack info
fix workperiodService reusable method and unnecessary conversion
# Conflicts:
#	docs/swagger.yaml
fix async await foreach
Work Period Automation and Constraints
maxceem and others added 25 commits April 16, 2021 14:19
…ayments

Add ability to switch on/off actual payments via config
make Resource Booking model to not store time, only dates
…or-payments

Use billing account for payments
@nkumar-topcoder nkumar-topcoder merged commit 2d0e55b into master Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants