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

Api gateway config #25

Open
wants to merge 8 commits into
base: demo
Choose a base branch
from
Open

Api gateway config #25

wants to merge 8 commits into from

Conversation

YasharRahvar
Copy link
Contributor

JIRA link (if applicable)

https://tools.hmcts.net/jira/browse/PAY-2550
https://tools.hmcts.net/jira/browse/PAY-2449

Change description

Moving all api configuration for fee & pay team into https://github.com/hmcts/ccpay-payment-api-gateway
Reconfiguring api gateway configuration using native terraform resources

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

Copy link
Contributor

@timja timja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of small fixes needed, added suggestions you can apply,

bulk-scanning.tf Outdated
module "ccpay-bulkscanning-product" {
source = "[email protected]:hmcts/cnp-module-api-mgmt-product?ref=master"

api_mgmt_name = "core-api-mgmt-demodata"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
api_mgmt_name = "core-api-mgmt-demodata"
api_mgmt_name = "core-api-mgmt-${var.env}"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

bulk-scanning.tf Outdated
source = "[email protected]:hmcts/cnp-module-api-mgmt-product?ref=master"

api_mgmt_name = "core-api-mgmt-demodata"
api_mgmt_rg = "core-infra-demodata-rg"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
api_mgmt_rg = "core-infra-demodata-rg"
api_mgmt_rg = "core-infra-${var.env}"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

bulk-scanning.tf Outdated
module "ccpay-bulkscanning-api" {
source = "[email protected]:hmcts/cnp-module-api-mgmt-api?ref=master"

api_mgmt_name = "core-api-mgmt-demodata"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
api_mgmt_name = "core-api-mgmt-demodata"
api_mgmt_name = "core-api-mgmt-${var.env}"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

bulk-scanning.tf Outdated
source = "[email protected]:hmcts/cnp-module-api-mgmt-api?ref=master"

api_mgmt_name = "core-api-mgmt-demodata"
api_mgmt_rg = "core-infra-demodata-rg"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
api_mgmt_rg = "core-infra-demodata-rg"
api_mgmt_rg = "core-infra-${var.env}"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

bulk-scanning.tf Outdated
source = "[email protected]:hmcts/cnp-module-api-mgmt-api-policy?ref=master"

api_mgmt_name = "core-api-mgmt-demodata"
api_mgmt_rg = "core-infra-demodata-rg"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
api_mgmt_rg = "core-infra-demodata-rg"
api_mgmt_rg = "core-infra-${var.env}"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

variables.tf Outdated
variable payments_test_certificate_thumbprints {
type = "list"
# TODO: remove default and provide environment-specific values
default = []
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
default = []

variables.tf Outdated
# thumbprint of the SSL certificate for API gateway Telephony
variable payments_test_certificate_thumbprints {
type = "list"
# TODO: remove default and provide environment-specific values
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# TODO: remove default and provide environment-specific values

variables.tf Outdated
# thumbprint of the SSL certificate for API gateway Payments API
variable telephony_api_gateway_certificate_thumbprints {
type = "list"
# TODO: remove default and provide environment-specific values
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# TODO: remove default and provide environment-specific values

variables.tf Outdated
}

# thumbprint of the SSL certificate for API gateway Payments API
variable bulkscanning_api_gateway_certificate_thumbprints {
type = "list"
# TODO: remove default and provide environment-specific values
default = []
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
default = []

variables.tf Outdated
}

# thumbprint of the SSL certificate for API gateway Payments API
variable bulkscanning_api_gateway_certificate_thumbprints {
type = "list"
# TODO: remove default and provide environment-specific values
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# TODO: remove default and provide environment-specific values

Copy link
Contributor

@timja timja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of small fixes needed, added suggestions you can apply,

Copy link
Contributor

@vijayrajagopalan-hmcts vijayrajagopalan-hmcts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this PR still relevant?

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.

3 participants