Skip to content

Roadmap: operational, manually testable AS / DC / TP — prioritized open issues #255

Open

Description

@dfcoffin

Purpose

Prioritise every open issue towards one objective: operational Authorization Server, Data Custodian and Third Party applications that can be tested by hand, quickly.

  • Phases run in order. Within a phase, the order is the critical path.
  • Size: S ≈ a day, M ≈ a few days, L ≈ a week or more.

Principles:

  • Unblock the end-to-end flow before adding breadth.
  • Make local setup reproducible before debugging it.
  • Fix wrong data exposure before anything is shared.
  • Keep one source of truth for each concern: schema = Flyway, access rules = one policy, registration = RFC 7591.

Completed issues are struck through.


Progress (updated 2026-11-24)

Done in Phase 1:

Done ahead of Phase 2:

Found and fixed along the way:

Filed since this roadmap:

Issue Topic Source Placed in
#267 TP Flyway split from #241 Phase 1, item 4a; done
#256 DC Batch/Bulk API Phase 2
#266 NAESB errata for REQ.21 v4.1 OAuth 2.0 Scope submitted 2026-11-15; accepted by NAESB as MC26006 tracking only, no code change; open until NAESB announces adoption
#271 AS and DC H2 console settings (done, PR #326) #270 review Phase 2, item 9a
#273 openespi-common's jar application.properties and application-<profile>.yml override each application's own config #272 review Phase 2, item 14
#274 The AS drops the PKCE code_challenge in the DC delegation, so PKCE is off in the TP for now #146 Phase 2, item 9b; done, PR #330
#332 AS client-management API accepts any authentication method and gives a public (none) client a secret; its openapi.yaml field names and PUT don't match what the server applies #330 review Continuous; done, PR #342
#343 AS openapi.yaml and API docs describe client-management list/detail responses, a DELETE /{clientId}, an error format and certificate-client registration the server does not have (docs only) #332 (PR #342) Continuous; with #344 (keep and trim)
#344 AS client management API (/api/v1/oauth2/clients, unused): list always 500, status without reason 500s after applying, bulk logs raw ids, a null scope is saved; owner decided to keep and trim it (fix, drop bulk, merge with OAuthAdminController, share validation with /oauth2/register) #332 (PR #342) review Continuous; decided: keep and trim
#348 AS client management: PUT /{clientId} racing a delete re-inserts the deleted client (save inserts when the row is gone) and answers 200 #344 PR 1 (#346) review Continuous; with #344 PR 3
#349 AS admin: DELETE /admin/oauth2/clients/{clientId}/tokens is a placeholder that answers 200 "revoked" but revokes nothing, so the client's tokens stay valid #344 PR 1 (#346) review Before deployment; with #344 PR 3
#345 AS: suspending or revoking a client has no effect: client_status is never checked at /oauth2/token, /oauth2/authorize or introspection, so a suspended client still gets tokens and its tokens still release data #344 Continuous; after #344 PR 1
#351 AS client management on PostgreSQL: create, update with security_level, and the list's status/securityLevel filters bind text to enum columns and fail; on H2 the create writes columns H2 lacks #345 (PR #350) review Continuous; with #344 PR 3
#352 AS prod (target: 2.0.0) and dev-mysql (7.0.0) Flyway caps skip MySQL V7 handoff nonces, V9 admin users and V11 cascading client deletes #345 (PR #350) Before deployment; Phase 2, item 14
#353 AS client management: max-failures-before-lock and default-lock-duration-minutes are documented but read nowhere (no failure lockout; a suspension without lock_duration_minutes never ends on its own) #345 (PR #350) review Continuous; with #344 PR 3
#354 AS on PostgreSQL/H2: TIMESTAMP columns without time zone are written and read in the JVM's zone, so times can be an hour off around DST or after a zone change #345 (PR #350) review Before deployment; Phase 2, item 14
#355 AS on PostgreSQL: the reporting views and check_security_violations() filter on the stored client_status only, so a client on a timed suspension or lock counts as active (no Java code reads them) #345 (PR #350) review Continuous; with #344 PR 3
#303 Spring Boot 4.2.x owner Phase 2, item 13; done, PR #337 (main on 4.2.0; the next Spring Boot release, scheduled for 2026-12-17, comes through Dependabot)
#307 OWASP dependency-check silently analysed nothing since plugin 13.0.0 (NVD key required) Dependabot #215 Phase 2, item 13; done, PR #308 (verified on the 2026-11-30 scheduled run)
#309 Release policy and minimum release-note content (semver meaning, Java/Spring Boot versions, human-written highlights) CMDCertification release review Continuous; before the first module release, with #311
#311 Release automation: release-please in manifest mode, one package per module, the same Conventional Commits semver mapping as CMDCertification owner decision, 2026-11-21 Continuous; before the first module release, with #309
#356 AS: open Dynamic Client Registration as an opt-in mode (registration.mode: token | open, default token), clients pending_review until the DC approves them, with rate and size limits and a purge #252 decision, 2026-11-30 Phase 2, item 12, after #251 and #252
#335 A TP that leaves redirect_uri out of /oauth2/authorize (RFC 6749 3.1.2.3, one registered URI) gets invalid_grant at /oauth2/token: the replay always adds it #333 review Continuous; done, PR #341
#336 Spring Boot 4.2.0 (Dependabot #323) drops the AS scope policy: narrowed scopes get invalid_scope (#211), administrative scopes are delegated (#251) #323 CI Phase 2, item 13; done, PR #337 (replaces #323)
#338 AS test delegatedCustomerFlowStillWorks does not prove the replay signs the customer in (FB_1 is refused either way) #337 review Continuous; done, PR #339
#331 AS delegation state is keyed by the TP's state in a global map, so a second /authorize/delegate can overwrite a pending entry (client, redirect URI, PKCE challenge) #330 review Phase 2, item 9c, with #305; done, PR #333
#276 AS remembered consent skips the DC delegation, so a repeat authorization gets no Subscription and no token-response URIs #146 Phase 1, item 5a; done, PR #304
#299 A second authorization in the same browser with a different scope takes the AS consent-page path: Spring's consent state (and no redirect_uri) reaches /authorize/delegate and is replayed to the TP, so no token is stored #89 manual testing Phase 1, item 5a, with #276; done, PR #304
#277 AboutControllerTest fails on a JDK whose java.version is exactly 25 Continuous; done, PR #340
#278 Enumeration XML values: REQ.21 needs numeric codes for ServiceKind and PhaseCodeKind, and exact literals for the other kinds, never Java constant names #197 Phase 3, schema compliance
#279 DC Batch/Subscription #197 Phase 1, item 6; done
#281 Every ESPI atom:id a permanent, repeatable UUID v5 from business keys: no random v4, no URL or token names #280 Phase 2, item 10a
#283 FB_29 Temperature Interval Metering query requirements #282 review Phase 3
#284 HistoryLength is seconds: the AS defaults and docs use HistoryLength=13 (13 seconds), plus the REQ.21.6.3 example #282 review Phase 1, item 6a; done
#285 Select time-bounded data in the database, not in memory (Batch/Subscription and, since #290, the root and XPath usage feeds) #282 review Phase 3, with #187 and #293
#286 Security: per-resource GETs ignore subscriptionId/usagePointId and return other customers' data #282 review Phase 1, item 6b; done
#287 Entries link to endpoints the DC does not serve: LocalTimeParameters (and Subscription/{id} is not served). The Subscription-scoped MeterReading item is obsolete since #290 #282 review Phase 2, item 10b
#288 Customer DTOs map customer.xsd TimeType (epoch seconds) as OffsetDateTime #282 review Phase 3, schema compliance
#289 Entity created/updated use the JVM time zone but are exported as UTC (Z) #282 review Phase 3, schema compliance
#291 Customer resources' Atom related links per the GBA UML model (<<link>> associations) #290 review Phase 3, with #169
#292 RetailCustomer identifiers in URIs are sequential database ids, not obfuscated (REQ.21.6.1.1.6-7) #290 review Phase 2, item 10c
#293 Large usage feeds: REQ.21.6.2.7 time-window chunking, time parameters on every usage feed, bounded child links #290 review Phase 3, with #285
#294 NAESB errata request for the REQ.21 v4.1 scope examples (HistoryLength=13 and two others; CMDTest#1088–#1090) #284 tracking only, no code change; drafted, not sent; on hold until the GBA Technical Manager releases it to NAESB
#297 SummaryMeasurement and BillingChargeSource children are written without the ESPI namespace, so every UsageSummary fails the XSD. Reading must accept both GBA namespace forms (root espi: prefix and inline default namespace) #89 (Task 5 feed reader) Phase 3, schema compliance, with #278
#298 HTTPS with TLS 1.3 only on every AS, DC and TP interface, inbound and outbound; plain http only on local/dev* owner requirement, 2026-11-20 Phase 2, item 15, with #188
#301 The TP Subscription reader places children only by reverse espi-entry/<Parent> related links; a DC that links by the self/up href hierarchy alone shows UsagePoints with no readings PR #300 review Phase 3, with the full #89 import
#302 The TP Subscription page re-validates and re-reads a saved fetch's whole body on every view; the saved validation outcome is unused PR #300 review Phase 3, with the full #89 import
#305 Concurrent customer authorizations in one browser (two tabs) mix up their grant contexts and consents, so a token can get another authorization's Subscription; a /continue redirect the browser never follows leaves the consent, sign-in and grant context behind PR #304 reviews Phase 2, item 9c; done, PR #333
#306 Purge abandoned authorization-request rows (state only, no token) after a set age PR #304 review closed as a duplicate of #199 (details copied there); Phase 2, item 14
#312 ESPI resource responses must be application/atom+xml (they declared XML and JSON and returned application/xml); Swagger UI must not list the internal back-channel or Actuator endpoints PR #310 Swagger UI check Phase 2, item 10d; done, PR #315
#313 Serve every customer.xsd resource (CustomerAgreement, ServiceLocation, ServiceSupplier, Meter, EndDevice, Statement, ProgramDateIdMappings, the RetailCustomer XPath forms and Batch/RetailCustomer) with customer-token access; only Customer and CustomerAccount exist, admin only Swagger UI review Phase 2, item 10 (on #187), with #169 and #291
#314 API docs show the bare resource DTO, not the Atom feed or entry a Third Party receives: add validated application/atom+xml examples to every ESPI operation and Atom wrapper response schemas Swagger UI review Phase 2, item 10e, after #312; needs #278 / #297 for fully valid examples
#316 Every rejected ESPI request (401/403) must carry WWW-Authenticate: Bearer with error and the reason (RFC 6750 §3, REQ.21.6.1.2; required by OpenESPI-GreenButtonCMDTest). Spring Security's rejections do; the DC's own 403s (SubscriptionAccess, BatchSubscriptionController) send no header and no body PR #315 review Phase 2, item 9d; done, PR #318 (error code only, no error_description: owner ruling)

TP now:

  • Form login: admin/admin is the TP administrator; customer/customer on local.
  • The H2 console is limited to the TP administrator.
  • local is the default profile and listens on 127.0.0.1 only.
  • Flyway owns the schema on H2, MySQL and PostgreSQL (ddl-auto: validate, with schema tests on all three).

TP OAuth client (#146):

  • Uses Spring Security oauth2Client. The TP customer stays signed in while authorizing at the DC.
  • Tokens and the token-response URIs are stored in the TP's ESPI authorizations table (Flyway V6).
  • The TP administrator obtains the FB=34_35 client access token on the admin page.
  • Verified end to end on local.

ESPI XML (#197):

  • Each resource is now inside <atom:content>, in both the DC export and the TP reader.
  • EspiXmlSchemaValidator checks ESPI XML against atom.xsd, espi.xsd and customer.xsd.
  • The feed published and the empty feed's link type were fixed.
  • docs/ESPI_ATOM_PROFILE.md records where ESPI deliberately differs from RFC 4287.
  • Decision 3 below is resolved.

#202 split:

DC Batch/Subscription (#279, PR #282):

  • GET /espi/1_1/resource/Batch/Subscription/{subscriptionId} returns one Atom feed of the subscription's UsagePoints, MeterReadings, ReadingTypes, IntervalBlocks, summaries and LocalTimeParameters.
  • Access: the DC admin, or a customer token for that subscription with FB_4 plus an electricity, gas or water FB (FB_5 to FB_11); UsagePoints are included by commodity FB.
  • With no query parameters it returns the last 24 hours, plus the latest UsageSummary and ElectricPowerQualitySummary per UsagePoint. published-min/max and updated-min/max select the data; they must be UTC timestamps ending in Z.
  • HistoryLength (seconds, per REQ.21.6.1.2.1) is a ceiling on how far back data is returned.
  • Non-epoch timestamps in all ESPI XML are now written in UTC, ending in Z.

Usage GETs (#286, PR #290):

  • No resource is addressed through /Subscription/{id}/...: a Subscription is per grant, so such an href would not be repeatable (REQ.21.6.1.1.6; owner ruling, CMDTest#1036). Usage resources are served and linked in ROOT form (UsagePoint/{id}, ...) and as RetailCustomer XPath collections (RetailCustomer/{id}/UsagePoint/{id}/MeterReading, ...). Batch/Subscription entries use the same hrefs.
  • Row-level access (SubscriptionAccess.reader): the admin reads every row; a customer token its own subscription's rows (commodity FBs, summary FBs, HistoryLength); anything else 403. A root entry the token may not read is 404. /Customer and /CustomerAccount are admin only until Customer resources: Atom related links per the GBA CMD UML model (<<link>> associations) #291.
  • Every entry (in Batch/Subscription, the root and XPath feeds, and read on its own) has the GBA model's links, both ends, per DataSDK REQ21_atom-link-matrix.md. Customer resources use cust-entry/... / cust-feed/... link types.
  • ESPI defines no pagination: limit/offset apply to the DC admin only.

HistoryLength in seconds (#284, PR #295):

  • Every AS default, seed, contract, smoke script, test and doc uses HistoryLength=34128000 (395 days, about 13 months) or 604800 (7 days), per REQ.21.6.1.2.1.
  • PostgreSQL V10_0_0__historylength_in_seconds.sql rewrites the seeded scopes already stored; MySQL and file-based databases keep stored client scopes (re-register or edit those clients).
  • EspiScope.parse rejects a zero or negative HistoryLength.
  • The DC Authorization Screen and the AS consent page show the period in calendar units (HistoryPeriod), e.g. "up to the last 13 months (395 days)".

AS PostgreSQL (#152, PR #296):

  • V2 had the risk_score check on the wrong table and re-created a V1 trigger; both fixed, so V1 to V10 apply on a fresh PostgreSQL.
  • PostgreSqlTestcontainersIntegrationTest is re-enabled and runs in CI; the purge portability test runs the full PostgreSQL migration set.

TP Subscription view (minimal #89, PR #300):

AS customer authorization single use (#299, #276, PR #304):

  • SingleUseCustomerAuthorizationResponseHandler (the authorization endpoint's response and error handler): after each code or error it removes a customer's consent and clears the customer's AS sign-in and grant context, so every authorization goes through the DC Authorization Screen with the TP's own state and redirect_uri. An AS administrator's are kept.
  • /authorize/delegate from Spring's consent page takes the TP's state, redirect_uri and scope from the signed-in customer's pending authorization, kept for a reload and removed at /continue; a signed-in request without one is 400. A missing redirect_uri is accepted only when the client registered exactly one; no guessing.
  • /continue signs the customer in only after the handoff passes its checks; deny and a rejected handoff clear any customer sign-in.
  • Verified on local: Monthly, Daily, a denied Daily and Monthly again in one browser, each with its own Subscription.
  • Follow-ups: AS: concurrent customer authorizations in one browser mix up their grant contexts and consents #305 (Phase 2, item 9c); AS: abandoned authorization requests (no token, no expiry) accumulate in oauth2_authorization #199, abandoned consent-page rows (Phase 2, item 14).

Next:

  1. Phase 1 is complete (AS: H2 migrations lack oauth2_client_metrics / oauth2_consent_details / oauth2_token_usage (scheduled metrics job fails on local profile) #234, PR fix(authserver): remove the dead consent page and client metrics code that needed tables H2 lacks (#234) #321, was the last item). Phase 2: the security items 9a (Authorization Server and Data Custodian: H2 console settings (web-allow-others: true on the AS; no console module; DC permitAll) #271, PR fix(authserver,datacustodian): no H2 console on the AS or DC; session cookies SameSite=Lax; AS profiles load again (#271) #326), 9b (AS: carry the PKCE code_challenge through the Data Custodian delegation #274, PR fix(authserver,thirdparty): carry a Third Party's PKCE challenge through the DC consent; the TP sends PKCE again (#274) #330) and 9c (AS: concurrent customer authorizations in one browser mix up their grant contexts and consents #305 with fix(authserver): delegation state is keyed by the TP's state in a global map, so a second /authorize/delegate can overwrite a pending entry #331, PR fix(authserver): each delegation has its own AS-generated id and grant context; no customer sign-in or consent outlives its replay (#305, #331) #333) are done; next is item 10, the E1: DC resource engine + Atom entry-assembly (GET-first) — UsagePoint & Customer verticals, scope-enforced #187 E1 resource engine.
  2. In Phase 2, item 13: finish Security: high-severity CVEs in transitive dependencies #131 (DOMPurify inside the swagger-ui webjar) after the dependency-check settings in PR ci: dependency-check reads the NVD key from the environment and reports CVSS 8+ findings as a warning (#131) #308.

Phase 1: Manually testable locally (critical path)

Exit criteria:

  1. scripts/local/start-all → smoke passes.
  2. A TP user logs in to the TP and authorizes access, then logs in and consents at the DC.
  3. The TP receives a token and displays that customer's usage data.
  4. Admin and token checks run from docs/LOCAL_TESTING.md.
# Item Size Why now
1 ✅ #254 Local manual-test kit (aligned local profiles, AS admin bootstrap, start/stop/smoke scripts, runbook) — done, PR #259 S Removes the hidden-secret and mismatch friction; everything after builds on it
2 ✅ #253 DC local sample dataset — done, PR #261, with a seed runner instead of Flyway. The DC-local slice of #241 (Flyway on H2) was not done and remains in #241 S–M Without data, consent and feeds can't be exercised
3 ✅ #232 AS → DC delegation drops the authorize parameters (400) — done, PR #262 (follow-up #263, PR #264) S Blocks the customer flow
4 ✅ #249 TP username/password login — done, PR #268 (review follow-up PR #270) M A TP user must exist to start the flow; before this, the login button gave a 500
4a ✅ #267 TP Flyway owns the schema in every profile (split from #241) — done, PR #272 M Not needed for the local H2 exit criteria; needed to run the TP on MySQL/PostgreSQL. Can run in parallel with #249
5 ✅ #146 TP OAuth client wiring (authorize → callback → token storage) — done, PR #275. The #202 AS-side gaps moved to Phase 2, item 11a M TP must obtain and store the token and know where the customer's resources are
5a ✅ #276 AS remembered consent skips the DC delegation; #299 a second authorization with a different scope in the same browser goes through the AS consent page, whose state is replayed to the TP — done, PR #304 (follow-ups #305, #199) S–M + S–M Every repeat authorization during manual testing hit one of them
6 ✅ #197 <atom:content>, getResource(), empty feed, XSD validation — done, PR #280 → ✅ #279 DC Batch/Subscription — done, PR #282 → ✅ minimal #89 (TP fetches the Subscription, validates it with EspiXmlSchemaValidator in off/report/enforce mode, captures it on local/dev only, and displays a UsagePoint and its readings) — done, PR #300. #89 stays open for the full import into the usage tables (Phase 3, with #301 and #302) M + M TP must show data to prove the flow end to end
6a ✅ #284 AS default scopes and docs: HistoryLength in seconds, not months or days — done, PR #295 S With HistoryLength=13 the DC returns 13 seconds of history, so #89 would have no readings to show
6b ✅ #286 usage GETs limited to the token's subscription — done, PR #290 (ROOT-form hrefs, row-level access, the GBA model's Atom links) M Batch/Subscription linked to these URLs, which returned any customer's data. An interim fix ahead of #187 (Phase 2, item 10)
7 ✅ #211 customer scope narrowing → invalid_scope — done, PR #265 S–M Consent with fewer function blocks must work
8 ✅ #225 401 (not 302) on unauthenticated token / introspect / revoke — done, PR #319; #234 missing AS H2 tables — done, PR #321: the code that needed them is removed instead S + S Makes curl testing and the logs trustworthy

Phase 2: Safe to share (sandbox / demo deployment)

# Item Size Notes
9 Fixes for privately reported security advisories (tracked in GitHub Security Advisories) M Before anything is exposed beyond localhost
9a #271 (done, PR #326) AS and DC H2 console settings (AS web-allow-others: true, no console module; DC permitAll), aligned with the TP's (#270) S Before anything is exposed beyond localhost
9b #274 AS carries the PKCE code_challenge through the DC delegation; then restore PKCE in the TP (TpCustomerAuthorizationRequestResolver) — done, PR #330 (follow-ups #331, #332) S–M PKCE accepted, not required: REQ.21 does not require it
9c #305 concurrent customer authorizations in one browser: key the grant context, consent and AS sign-in to the delegation's correlation id, with an expiry; #331 make that correlation id AS-generated (not the TP's state) and refuse overwriting a pending entry — done, PR #333 (follow-up #335, done in PR #341) M A token could get another authorization's Subscription
9d #316 WWW-Authenticate with the RFC 6750 error code on every 401/403, including the DC's own row-level 403s S–M Done, PR #318. No error_description: a reason would let a client probe which subscriptions and customers exist (as certified DCs answer)
10 #187 E1 resource engine: replaces the per-resource controllers, keeping #290's row-level access (SubscriptionAccess) and entry links (UsageEntries); then #313, every customer.xsd resource on it L + L One generic engine instead of ten controllers; the data exposure itself was fixed in #286. #313 needs #169 and #291
10a #281 permanent, repeatable UUID v5 atom:ids: remove the random v4 default from IdentifiedObject; use a per-DC namespace and names from business keys; Authorization from correlationId; IntervalBlock from the interval start; single-resource endpoints return <entry> M–L Third Parties rely on stable ids to recognise repeated data; ids must not change once data is shared. Single-resource <entry> fits with #187
10b #287 LocalTimeParameters endpoint, which every UsagePoint entry links to (required link), and the root Subscription/{id} M On the #187 engine
10c #292 obfuscated, repeatable RetailCustomer identifier in URIs (UUID v5), instead of the sequential database id now in every usage feed's XPath links M REQ.21.6.1.1.6-7; before anything is shared
10d #312 ESPI resources served as application/atom+xml only (406 for JSON or plain XML); Swagger UI without the internal back-channel and Actuator endpoints S Done, PR #315
10e #314 API docs show each ESPI response as the Atom feed or entry it is: validated application/atom+xml examples (checked against the XSDs by a test) and Atom wrapper schemas M After #312; examples for the customer resources come with #313
11 #138 consent withdrawal → token revocation + subscription cleanup M
11a #202 (AS side) token-response URIs: FB_51 gating, no re-provisioning on refresh, the FB=34_35 client access token's authorizationURI + Bulk resourceURI / customerResourceURI → #256 DC Batch/Bulk API (Third Party client access token only, scoped to its own Authorizations) S–M + M–L #256 after #202 and #251; uses the #187 scoping. The TP already stores and shows the client token's URIs
12 #251 registration access token (returned at RFC 7591 registration or withheld by DC setting; FB=36_40 obtains one when withheld or expired; DC accepts it for ApplicationInformation) → #252 TP self-registration with the DC operator's single-use initial access token → #356 open registration as an opt-in mode M + L + M Replaces the seeded TP client; spike done. Onboarding decided 2026-11-30: token-protected by default
13 #131 dependency CVEs; #237 CodeQL triage; #336 Spring Boot 4.2.0 with the AS scope policy (#211, #251) reapplied — done, PR #337 (replaces Dependabot #323; closes #303); #307 the dependency-check runs again — done, PR #308 M PR #308: the dependency-check reads the NVD key from the environment, warns on CVSS 8+, one suppression file (the devtools false positive). What remains of #131 is DOMPurify 3.4.16 in the swagger-ui webjar (critical/high); then the check can become a gate
14 #241 (DC, including local Flyway on H2, and AS; the TP part moved to #267) + #145 / #123 vendor schema alignment (#152 done, PR #296); #273 openespi-common's jar config overriding each application's (its broken docker/prod/aws-sandbox profile files, whose spring.profiles.active PR #326 removes); #328 the AS Docker images cannot be built; #200 audit-log writers (the shared AuditLogDao comes with #344 PR 1; ConsentService and ClientCertificateService remain); #199 abandoned-authorization cleanup; #352 the prod/dev-mysql Flyway caps that skip MySQL V7, V9 and V11; #354 timestamps without time zone stored in the JVM's zone; #320 drop the AS metrics and consent-detail tables (and MySQL's metrics procedure and event) left by #234 (their foreign keys cascade on client delete since V11, #344 PR 1) M–L Needed for the MySQL/PostgreSQL deployment profiles
15 #233 metadata advertises unsupported JWT/JWKS features; #188 TLS certificates; #298 HTTPS with TLS 1.3 only on every interface; #322 operational metrics with Micrometer (AS and DC), Third Party reporting from the audit log S + M + M + M #298 is required before any deployment; #322's basic Actuator metrics too, its per-Third-Party reporting can wait for Phase 3

Phase 3: ESPI completeness and certification readiness

Continuous: quality and hygiene (pick up alongside)


Closed after review (confirmed 2026-11-16)

All six were closed with a comment giving the reason: #141, #204, #205 and #98 as completed; #203 and #117 as not planned.

# Reason
#141 Done in #250: DC Authorization endpoints implemented with per-TP filtering (AdminCaller, AdminRowScopeTest)
#204 Done: admin API bearer tokens are on main (merged with the GHSA-mh65 fix, 40812eb)
#205 Done: admin user store + passkey MFA + bootstrap are on main (same merge)
#203 Superseded by #251: the certification question is answered, since REQ.21 requires the registration access token
#98 Delivered by #116; no description of its own; remaining work is in #187 / #119
#117 Obsolete: pr-checks.yml no longer exists, and no workflow runs Spotless

Decisions needed

  1. ✅ Third Party: register itself via RFC 7591 dynamic client registration and manage its registration #252: how a Third Party receives its RFC 7591 initial access token during onboarding. Decided 2026-11-30 (decision): the DC operator vets the Third Party and sends it a single-use client.create token out of band (token mode, the default). Open registration with clients pending review is an opt-in mode, AS: open Dynamic Client Registration as an opt-in mode, with clients pending review until the Data Custodian approves them #356. GBA certification applies to DCs only, not to Third Parties.
  2. ✅ Registration access token: issue it on RFC 7591 registration, renew via FB=36_40, and require it for ApplicationInformation #251: RFC 7592 says a registration access token should not expire; ESPI renews an expired one through FB=36_40. Reframed 2026-11-30: FB=36_40 is how a Third Party obtains a registration access token the DC withheld at registration (by its security policy), as well as replacing an expired one. Whether the token is returned at registration is a DC setting.
  3. ✅ Third Party cannot unmarshal any ESPI Atom feed (AtomFeedDto date adapters + abstract entry type) #197: adopting the <atom:content> wrapper changes the wire format for both DC export and TP import. Confirm it should be done as one change. Resolved: done as one change in PR feat(common): ESPI resources inside atom:content, and XSD validation of ESPI XML (#197) #280, following the certified ScriptLogs and the DMD validator's atom.xsd.
  4. ESPI atom:id: every resource id a permanent, repeatable UUID v5 from business keys (no random v4, no URL or token names) #281: see that issue's "Points to settle":
    • the client_credentials Authorization's name input (proposal: the AS's own grant record id);
    • whether the DC namespace is non-public configuration, since account and serial numbers are guessable names.

References

RFC 7591 (Dynamic Client Registration), RFC 7592 (Registration Management, Experimental), NAESB REQ.21 v4.1, GBA Generating Persistent UUIDs, docs/ESPI_ATOM_PROFILE.md, CLAUDE.md "Known Issues"

🤖 Generated with Claude Code

Activity

  1. added
    task
    on Nov 14, 2026
  2. dfcoffin commented on Nov 14, 2026

    @dfcoffin
    ContributorAuthor

    Roadmap update:

    🤖 Generated with Claude Code

  3. added a commit that references this issue on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    task

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions