Adding required infra for Activity.Api integration with APIM#62
Merged
willvelida merged 12 commits intomainfrom Jul 9, 2025
Merged
Adding required infra for Activity.Api integration with APIM#62willvelida merged 12 commits intomainfrom
willvelida merged 12 commits intomainfrom
Conversation
Signed-off-by: Will Velida <willvelida@hotmail.co.uk>
Signed-off-by: Will Velida <willvelida@hotmail.co.uk>
Signed-off-by: Will Velida <willvelida@hotmail.co.uk>
Signed-off-by: Will Velida <willvelida@hotmail.co.uk>
Signed-off-by: Will Velida <willvelida@hotmail.co.uk>
Signed-off-by: Will Velida <willvelida@hotmail.co.uk>
Signed-off-by: Will Velida <willvelida@hotmail.co.uk>
Signed-off-by: Will Velida <willvelida@hotmail.co.uk>
Signed-off-by: Will Velida <willvelida@hotmail.co.uk>
Signed-off-by: Will Velida <willvelida@hotmail.co.uk>
Signed-off-by: Will Velida <willvelida@hotmail.co.uk>
Signed-off-by: Will Velida <willvelida@hotmail.co.uk>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant updates to the
infra/apps/activity-apiinfrastructure code, primarily to integrate the Activity API with Azure API Management (APIM). The changes include the addition of new parameters, resources, modules, and operations to enable APIM functionality for the Activity API.APIM Integration:
apimNameto specify the name of the API Management instance used by the Activity API. (infra/apps/activity-api/main.bicep,infra/apps/activity-api/main.dev.bicepparam) [1] [2]apimof typeMicrosoft.ApiManagement/serviceto represent the APIM instance. (infra/apps/activity-api/main.bicep)activityApiProductto manage APIM product configurations, linking it to the APIM instance and a product name. (infra/apps/activity-api/main.bicep)API Operations in APIM:
activityApimApito define the Activity API in APIM, including properties likepath,displayName,serviceUrl, and subscription requirements. (infra/apps/activity-api/main.bicep)activityApiGetAll: AGEToperation at/to retrieve all activity summaries.activityApiGetByDate: AGEToperation at/{date}to retrieve activity summaries for a specific date, with a template parameter for the date.activityApiHealthCheck: AGEToperation at/healthz/livenessfor a liveness health check endpoint.