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

Implement settlementModels management - GET and PUT operations #1207

Closed
13 of 14 tasks
ggrg opened this issue Feb 7, 2020 · 0 comments
Closed
13 of 14 tasks

Implement settlementModels management - GET and PUT operations #1207

ggrg opened this issue Feb 7, 2020 · 0 comments
Assignees
Labels

Comments

@ggrg
Copy link
Member

ggrg commented Feb 7, 2020

Goal:

As a Hub Operator
I want to have the functionality on the admin API (GET /settlementModels, GET /settlementModels/{name}, PUT /settlementModels/{name}) to request information about all available settlementModels, to request information about settlementModels by name, and disable/enable an existing settlementModel by changing its isActive state
so that I can further mange the existing settlement models

Notes:

Tasks:

  • Add PUT/GET routes with Joi validations, where applicable
  • Add ENUMS to shared lib, if applicable
  • Create handler scripts
  • Implement DAO scripts
  • Provide unit tests to cover newly added functionality
  • Address PR comments

Acceptance Criteria:

  • Designs are up-to date
  • Unit Tests pass
  • Integration Tests pass
  • Code Style & Coverage meets standards
  • Changes made to config (default.json) are broadcast to team and follow-up tasks added to update helm charts and other deployment config.

Pull Requests:

Follow-up:

  • N/A

Dependencies:

  • N/A

Accountability:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants