Skip to content

Feat/graph control and web operator - #12

Merged
jhblee-aws merged 2 commits into
mainfrom
feat/graph-control-and-web-operator
Sep 20, 2026
Merged

jhblee-aws merged 2 commits into
mainfrom
feat/graph-control-and-web-operator

Conversation

@jhblee-aws

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

… create

Feature 1 - Settings-page control to start/stop the Neptune Analytics
topology graph:
- New GET/POST /graph/control route (graph-control function) using the
  non-destructive neptune-graph StartGraph/StopGraph APIs (pause/resume;
  data + graph id preserved, compute released to stop billing).
- Live status badge, timing metrics (created + last start/stop action,
  persisted to hub/graph_control.json), and auto-polling while
  transitioning, in an admin-only Settings section.
- Least-privilege IAM (Start/Stop/GetGraph + ListGraphs) and env wiring.

Feature 2 - Web operator access (Operator Web App) when creating a space:
- Provision a default operator-app IAM role (AIDevOpsOperatorAppAccessPolicy,
  iam auth flow) in the hub and linked-account CloudFormation.
- Worker enables the operator app best-effort via EnableOperatorApp;
  webOperator flag defaults on for single + batch create, with a checkbox
  in the create form.

Verified: typecheck, production build, 469 node tests, 94 pytest tests.
…ntime

Scripts read HUB_BUCKET/REGION/KB_DOCS_PREFIX via CFG.get(...) with env
fallbacks and a placeholder default, so importing them (e.g. under pytest/CI)
no longer raises KeyError when config.env/env vars are absent. 03_collect.py
now builds its S3 client lazily and refuses to run against the placeholder
bucket, preserving strict validation for real collection runs. Fixes the
collection-time import errors in test_03_collect, test_04_transform_to_graph,
test_07_build_kb_docs, and test_refresh_workers (94 passed with no config).
@jhblee-aws
jhblee-aws merged commit 1e267d7 into main Sep 20, 2026
9 checks passed
@jhblee-aws
jhblee-aws deleted the feat/graph-control-and-web-operator branch September 20, 2026 16:45
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.

1 participant