Skip to content

Conversation

@sciros
Copy link
Collaborator

@sciros sciros commented Dec 21, 2024

Now perspectives are expected to be a dict of dicts of dicts and the way endpoint information relates to perspective codes is clearer.
Basically like this:

perspectives_as_dict = {
    "us-east-1": {"caa_endpoint_info": {"arn": "arn:aws:acm-pca:us-east-1:123456789012:caa/us-east-1"},
                           "dcv_endpoint_info": {"arn": "arn:aws:acm-pca:us-east-1:123456789012:dcv/us-east-1"}},
    "eu-west-2": {"caa_endpoint_info": {"arn": "arn:aws:acm-pca:eu-west-2:123456789012:caa/eu-west-2"},
                             "dcv_endpoint_info": {"arn": "arn:aws:acm-pca:eu-west-2:123456789012:dcv/eu-west-2"}}
}

Note: in the FastAPI version of this, the endpoint info has "url" and "headers" instead of "arn".

@sciros sciros requested a review from birgelee December 21, 2024 02:18
@sciros
Copy link
Collaborator Author

sciros commented Dec 21, 2024

I also moved the open-mpic-core dependency to the main PyPI index instead of test, in preparation to doing this for the FastAPI project as well.

@birgelee birgelee merged commit 768e00e into main Dec 22, 2024
1 check passed
@birgelee birgelee deleted the ds-refactor-config branch December 22, 2024 03:26
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.

2 participants