laniakea-api-server 0.2.3__tar.gz → 0.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/PKG-INFO +1 -1
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/database.py +7 -1
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/pyproject.toml +1 -1
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/.github/workflows/publish.yml +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/.gitignore +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/LICENSE +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/README.md +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/__init__.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/auth.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/cli.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/config.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/credential_parser.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/installer.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/main.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/models.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/queue.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/routers/.health.py.swp +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/routers/__init__.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/routers/agent.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/routers/agents.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/routers/credentials.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/routers/deployments.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/routers/health.py +0 -0
- {laniakea_api_server-0.2.3 → laniakea_api_server-0.2.4}/laniakea_api/routers/tfstate.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: laniakea-api-server
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: Laniakea Queue API — OIDC-authenticated gateway for cloud deployment orchestration
|
|
5
5
|
Project-URL: Homepage, https://github.com/laniakea/laniakea-api
|
|
6
6
|
Project-URL: Issues, https://github.com/laniakea/laniakea-api/issues
|
|
@@ -116,7 +116,13 @@ def list_deployments(user_sub: str) -> list:
|
|
|
116
116
|
try:
|
|
117
117
|
with conn.cursor(cursor_factory=RealDictCursor) as cur:
|
|
118
118
|
cur.execute(
|
|
119
|
-
"
|
|
119
|
+
"""
|
|
120
|
+
SELECT uuid, status, status_reason, description, provider_name,
|
|
121
|
+
creation_time, update_time, endpoint, outputs, sub
|
|
122
|
+
FROM deployments
|
|
123
|
+
WHERE sub = %s
|
|
124
|
+
ORDER BY creation_time DESC
|
|
125
|
+
""",
|
|
120
126
|
(user_sub,),
|
|
121
127
|
)
|
|
122
128
|
return [dict(r) for r in cur.fetchall()]
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "laniakea-api-server"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.4"
|
|
8
8
|
description = "Laniakea Queue API — OIDC-authenticated gateway for cloud deployment orchestration"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|