lifecycle name chage
This commit is contained in:
parent
1ca65959af
commit
35daa24507
@ -41,71 +41,9 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
type: service
|
type: service
|
||||||
lifecycle: experimental
|
lifecycle: experimental
|
||||||
owner: user1
|
owner: platform-team
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- resource:default/hades-database
|
- resource:default/hades-database
|
||||||
providesApis:
|
|
||||||
- hades-api
|
|
||||||
consumesApis: []
|
|
||||||
|
|
||||||
---
|
|
||||||
apiVersion: backstage.io/v1alpha1
|
|
||||||
kind: API
|
|
||||||
metadata:
|
|
||||||
name: hades-api
|
|
||||||
title: Hades Authentication API
|
|
||||||
description: REST API for authentication and authorization operations
|
|
||||||
tags:
|
|
||||||
- rest
|
|
||||||
- authentication
|
|
||||||
links:
|
|
||||||
- url: https://api-docs.company.com/hades
|
|
||||||
title: API Documentation
|
|
||||||
spec:
|
|
||||||
type: openapi
|
|
||||||
lifecycle: experimental
|
|
||||||
owner: user1
|
|
||||||
definition: |
|
|
||||||
openapi: 3.0.0
|
|
||||||
info:
|
|
||||||
title: Hades V2 API
|
|
||||||
version: 3.0.0
|
|
||||||
description: Authentication and Authorization Service
|
|
||||||
paths:
|
|
||||||
/authenticate:
|
|
||||||
post:
|
|
||||||
summary: Authenticate user
|
|
||||||
description: Authenticate a user with username/password
|
|
||||||
operationId: authenticate
|
|
||||||
tags:
|
|
||||||
- Authentication
|
|
||||||
/authorize:
|
|
||||||
post:
|
|
||||||
summary: Authorize token
|
|
||||||
description: Validate and authorize an authentication token
|
|
||||||
operationId: authorize
|
|
||||||
tags:
|
|
||||||
- Authorization
|
|
||||||
/users:
|
|
||||||
get:
|
|
||||||
summary: List users
|
|
||||||
description: Get list of users
|
|
||||||
operationId: listUsers
|
|
||||||
tags:
|
|
||||||
- Users
|
|
||||||
post:
|
|
||||||
summary: Create user
|
|
||||||
description: Create a new user
|
|
||||||
operationId: createUser
|
|
||||||
tags:
|
|
||||||
- Users
|
|
||||||
/schedulerService/jobTrigger:
|
|
||||||
get:
|
|
||||||
summary: Health check
|
|
||||||
description: Service health check endpoint
|
|
||||||
operationId: healthCheck
|
|
||||||
tags:
|
|
||||||
- Monitoring
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: backstage.io/v1alpha1
|
apiVersion: backstage.io/v1alpha1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user