Skip to content

Commit b2f7bb3

Browse files
noyitzclaude
andauthored
plugging GUI to work with maas-api new service account implementation (#91)
* plugging GUI to work with maas-api new service account implemintation * - Updated state management to reflect changes from 'ttl' to 'expiration' for created tokens. - Modified UI components to replace 'TTL' terminology with 'Expiration' for clarity. - Adjusted API service to accept 'expiration' instead of 'ttl' in token creation requests. - Updated backend to handle 'expiration' in token requests and responses. * refactor(token): streamline response structure by inlining Token in API response * refactor(app): update tier determination logic to use MaaS API for user groups * remove: delete CLAUDE.md file containing architecture, development guidelines and user-specific context and preferences * revert changes around Response Token struct * remove unsed part * remove changes in handler.go * tiears lookup now works with v1 * removing URL route calculation from backend. working with maas-api now 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent fb87179 commit b2f7bb3

File tree

14 files changed

+816
-2305
lines changed

14 files changed

+816
-2305
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ pip-delete-this-directory.txt
3737
htmlcov/
3838
apps/frontend/.env.local
3939
apps/backend/.env
40+
CLAUDE.md

CLAUDE.md

Lines changed: 0 additions & 183 deletions
This file was deleted.

apps/backend/.env.example

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,9 @@ KEY_MANAGER_BASE_URL=https://key-manager-route-platform-services.apps.your-clust
4747
ADMIN_KEY=your-admin-key-here
4848

4949
# Frontend Configuration (for CORS and redirects)
50-
FRONTEND_URL=http://localhost:3000
50+
FRONTEND_URL=http://localhost:3000
51+
52+
# Tier-Group ConfigMap Configuration (Required for dynamic user tier assignment)
53+
# Extract from: oc get configmaps -n maas-api | grep tier
54+
TIER_GROUP_CONFIGMAP_NAME=tier-to-group-mapping
55+
TIER_GROUP_CONFIGMAP_NAMESPACE=maas-api

apps/backend/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"cors": "^2.8.5",
1717
"dotenv": "^17.2.2",
1818
"express": "^4.18.2",
19+
"js-yaml": "^4.1.0",
1920
"socket.io": "^4.7.0",
2021
"socket.io-client": "^4.7.0",
2122
"winston": "^3.11.0"
@@ -24,6 +25,7 @@
2425
"@types/cors": "^2.8.17",
2526
"@types/express": "^4.17.21",
2627
"@types/jest": "^29.5.8",
28+
"@types/js-yaml": "^4.0.9",
2729
"@types/node": "^20.10.0",
2830
"@typescript-eslint/eslint-plugin": "^6.14.0",
2931
"@typescript-eslint/parser": "^6.14.0",

0 commit comments

Comments
 (0)