Skip to content

move project and org api support from nexus-api-gw to tenancy-manager#496

Draft
sandeepbh5 wants to merge 5 commits intomainfrom
tm-enhancement
Draft

move project and org api support from nexus-api-gw to tenancy-manager#496
sandeepbh5 wants to merge 5 commits intomainfrom
tm-enhancement

Conversation

@sandeepbh5
Copy link
Contributor

Description

  • Implemented a new REST API server for tenant management with health and readiness endpoints.
  • Created a ProjectHandler to manage project-related operations including creation, listing, retrieval, updating, and deletion of projects.
  • Added comprehensive unit tests for the ProjectHandler to ensure correct functionality for various scenarios.
  • Included tests for the REST API server to validate route registration, middleware functionality, and error handling.

Fixes # (issue)
https://jira.devtools.intel.com/browse/ITEP-83854

Any Newly Introduced Dependencies

NA

How Has This Been Tested?

UT, Coder

Checklist:

  • I agree to use the APACHE-2.0 license for my code changes
  • I have not introduced any 3rd party dependency changes
  • I have performed a self-review of my code

- Implemented a new REST API server for tenant management with health and readiness endpoints.
- Created a ProjectHandler to manage project-related operations including creation, listing, retrieval, updating, and deletion of projects.
- Added comprehensive unit tests for the ProjectHandler to ensure correct functionality for various scenarios.
- Included tests for the REST API server to validate route registration, middleware functionality, and error handling.
- Integrated the REST API server into the main application flow to handle HTTP requests.
actions-user and others added 4 commits February 11, 2026 10:17
…r handlers

- Updated RESTAPIServer to include logger and authentication flag.
- Refactored NewRESTAPIServer to accept logger and authEnabled parameters.
- Modified route registration to conditionally apply authentication middleware.
- Adjusted handlers to utilize the new logger instance.
- Updated main function to read authentication configuration from environment variable.
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