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

codegen: Update SDK modeled endpoints #791

Merged
merged 3 commits into from Oct 3, 2020
Merged

Conversation

jasdel
Copy link
Contributor

@jasdel jasdel commented Oct 2, 2020

Updates's the SDK's modeled endpoints with the latest version. Regenerates the SDK's API client modules to also use the latest enpdoint version.

Adds utility that will sync the endpoint model and endpoint-prefix map
from the v1 SDK's models.
CODEGEN_RESOURCES_PATH=$(shell pwd)/codegen/smithy-aws-go-codegen/src/main/resources/software/amazon/smithy/aws/go/codegen
ENDPOINTS_JSON=${CODEGEN_RESOURCES_PATH}/endpoints.json
ENDPOINT_PREFIX_JSON=${CODEGEN_RESOURCES_PATH}/endpoint-prefix.json

LICENSE_FILE=$(shell pwd)/LICENSE.txt

all: generate unit
Copy link
Contributor

Choose a reason for hiding this comment

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

Should all call sync-endpoint-models?

Copy link
Contributor Author

@jasdel jasdel Oct 2, 2020

Choose a reason for hiding this comment

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

I wasn't sure, how we wanted to do that since this really is a prep for releasing a update. I erred on the side of caution to not make it get the v1 SDK when unneeded. If the SDK had a similar location it could sync the Smithy API models from I'd vote it be included with that set of tasks.

@jasdel jasdel merged commit a37ab1d into aws:master Oct 3, 2020
@jasdel jasdel deleted the fixup/EndpointDef branch October 3, 2020 00:16
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.

None yet

3 participants