Skip to content
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

HP-682 Feat/multiple paymodels #44

Merged
merged 26 commits into from
May 16, 2022
Merged

HP-682 Feat/multiple paymodels #44

merged 26 commits into from
May 16, 2022

Conversation

mfshao
Copy link
Contributor

@mfshao mfshao commented Mar 7, 2022

Jira Ticket: HP-682

New Features

  • Added new endpoint /allpaymodels to return information about all the paymodels the user have (in both hatchry config and dynamodb) as an array named all_pay_models, as well as the currently actived paymodel information of this user as a section named current_pay_model
  • Added new endpoint /setpaymodel to set a new current_pay_model for the user

Improvements

  • More paymodel information will be returned from Hatchery

Breaking changes

  • In pay model configs, name has been changed to workspace_type
  • In pay model configs, aws_account_id has been changed to account_id
  • In pay model configs, ecs has its type changed from string to bool
  • In pay model configs, vpcid has been removed

hatchery/config.go Show resolved Hide resolved
hatchery/hatchery.go Outdated Show resolved Hide resolved
hatchery/hatchery.go Show resolved Hide resolved
hatchery/config.go Show resolved Hide resolved
hatchery/transitgateway.go Outdated Show resolved Hide resolved
@mfshao mfshao changed the title HP-682 Feat/multiple paymodels HP-682 Feat/multiple paymodels May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants