Skip to content

EPA project: Add API and endpoint configuration creation endpoints and lookups. - #57

Open
9ajia wants to merge 14 commits into
developmentfrom
tokenrequest
Open

EPA project: Add API and endpoint configuration creation endpoints and lookups.#57
9ajia wants to merge 14 commits into
developmentfrom
tokenrequest

Conversation

@9ajia

@9ajia 9ajia commented May 26, 2026

Copy link
Copy Markdown

Adds support for creating API lookup records and endpoint lookup records through the token administration API.

Changes included

  • Added POST /api/v1/apis to create API lookup entries with API name and gateway ID.
  • Added POST /api/v1/apis/{apiLookupId}/endpoints to create endpoint entries for an existing API.
  • Added request/response models for API and endpoint creation.
  • Added use cases and gateway methods for creating API and endpoint configuration.
  • Added duplicate checks for API name, API gateway ID, and endpoint names per API.
  • Added error handling for duplicate API/endpoint records and missing API lookups.
  • Registered the new use cases in dependency injection.
  • Added controller, gateway, and E2E coverage for the new configuration endpoints.
  • Fixed formatting issues reported by dotnet format.

Testing

  • Added tests for successful API and endpoint creation.
  • Added tests for duplicate API and endpoint validation.
  • Added tests for missing API lookup handling.
  • Formatting fixes have been pushed after CI reported whitespace errors.

9ajia added 9 commits May 7, 2026 15:18
- add GET /api/v1/tokens/options through the controller, use case, gateway, and response DTOs
- return consumer types, APIs, and endpoints from lookup tables for the request token form
- register the token options use case in dependency injection
- add local dev Docker and migration commands with configurable database port support
- update local development docs and launch settings for the current token admin setup
… data. expecting correct response. from post
@9ajia 9ajia self-assigned this May 26, 2026
@9ajia
9ajia requested review from a team as code owners May 26, 2026 15:06
Comment thread TokenAdministrationApi/V1/Boundary/Response/TokenOptionsResponse.cs
Comment thread TokenAdministrationApi/V1/Boundary/Response/TokenOptionsResponse.cs Outdated
Comment thread TokenAdministrationApi/V1/Controllers/TokenAdministrationApiController.cs Outdated
Comment thread TokenAdministrationApi/V1/UseCase/Interfaces/IGetTokenOptionsUseCase.cs Outdated
Comment thread TokenAdministrationApi/V1/UseCase/PostApiUseCase.cs Outdated
Comment thread TokenAdministrationApi/V1/UseCase/PostApiUseCase.cs Outdated
Comment thread TokenAdministrationApi/V1/UseCase/PostApiUseCase.cs Outdated

@9ajia 9ajia left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Removed unused using statements from TokenOptionsResponse.cs, TokenAdministrationApiController.cs, and PostApiUseCase.cs.
Simplified TokenOptionsResponse list initializers from new() to [].
Fixed formatting in IGetTokenOptionsUseCase.cs.
Cleaned up extra blank lines in the controller.

LBHTKarki
LBHTKarki previously approved these changes May 28, 2026
Miles-Alford
Miles-Alford previously approved these changes May 29, 2026
@9ajia
9ajia dismissed stale reviews from Miles-Alford and LBHTKarki via 5152f5a June 2, 2026 12:54
9ajia and others added 2 commits August 7, 2026 14:11
Reorganized CircleCI workflows to include deployment stages for development, staging, and production environments. Added approval steps and filters for branch-specific deployments.

@Duslerke Duslerke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approving as the pipeline merge conflict has been resolved.
Approving w/o review as Tuomo has already reviewed this and he's a very diligent reviewer.

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.

4 participants