initializer service deployed and tested
This commit is contained in:
0
z-templates/a-service/a.txt
Normal file
0
z-templates/a-service/a.txt
Normal file
9
z-templates/a-service/endpoints/index.py
Normal file
9
z-templates/a-service/endpoints/index.py
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
|
||||
endpoints_index: dict = {
|
||||
"Slot1": "",
|
||||
"Slot2": "",
|
||||
"Slot3": "",
|
||||
"Slot4": "",
|
||||
"Slot5": "",
|
||||
}
|
||||
15
z-templates/a-service/endpoints/routes.py
Normal file
15
z-templates/a-service/endpoints/routes.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
|
||||
def get_routes() -> list[APIRouter]:
|
||||
return []
|
||||
|
||||
|
||||
def get_safe_endpoint_urls() -> list[tuple[str, str]]:
|
||||
return [
|
||||
("/", "GET"),
|
||||
("/docs", "GET"),
|
||||
("/redoc", "GET"),
|
||||
("/openapi.json", "GET"),
|
||||
("/metrics", "GET"),
|
||||
]
|
||||
9
z-templates/a-service/events/index.py
Normal file
9
z-templates/a-service/events/index.py
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
|
||||
events_index: dict = {
|
||||
"Slot1": "",
|
||||
"Slot2": "",
|
||||
"Slot3": "",
|
||||
"Slot4": "",
|
||||
"Slot5": "",
|
||||
}
|
||||
Reference in New Issue
Block a user