Skip to content

fix(adt,docker): endpoint/parser fixes for 100% abaper-ts parity + Docker build fix#69

Merged
devops-bda merged 1 commit into
mainfrom
fix/adt-parity-endpoint-fixes
Jun 4, 2026
Merged

fix(adt,docker): endpoint/parser fixes for 100% abaper-ts parity + Docker build fix#69
devops-bda merged 1 commit into
mainfrom
fix/adt-parity-endpoint-fixes

Conversation

@phanikumarps

@phanikumarps phanikumarps commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Two fixes bundled together.

1. ADT endpoint/parser fixes (17/17 parity tests PASS vs abaper-ts)

  • FormatSource: correct endpoint is /abapsource/prettyprinter (not /repository/formatters/format)
  • GetCompletionProposals: source URI (/source/main suffix) + Accept: application/vnd.sap.as+xml
  • GetNavigationTarget: source URI with #start=L,C;end=L,C fragment + Accept: application/*
  • GetTransportInfo: fallback uses POST /cts/transportchecks with correct media type; XML path fixed to DATA>REQUESTS>CTS_REQUEST>REQ_HEADER
  • getObjectHandler: add missing FUNCTIONGROUP/FUGR case

2. Docker build fix (matches org standard from template-go)

  • Dockerfile: was hardcoding golang:1.25-alpine, causing go mod download to fail (go.mod requires >= 1.26.0); now uses ARG GO_VERSION=1.26
  • release.yml: adds prepare job that reads GO_VERSION from go.mod and injects it as Docker build-arg — no manual version sync needed

Test plan

  • 17/17 endpoint parity tests PASS (zero failures, zero diffs vs abaper-ts)
  • ARG GO_VERSION pattern matches template-go Dockerfile org standard

🤖 Generated with Claude Code

Verified live against a4h with abaper-ts running side-by-side (17/17 PASS).

SDK fixes:
- FormatSource: use /abapsource/prettyprinter (not /repository/formatters/format)
- GetCompletionProposals: use source URI (/source/main suffix) + Accept: application/vnd.sap.as+xml
- GetNavigationTarget: use source URI with #start=L,C;end=L,C fragment + Accept: application/*
- GetTransportInfo: replace lock-based fallback with POST /cts/transportchecks using
  application/vnd.sap.as+xml dataname=com.sap.adt.transport.service.checkData;
  fix XML parser path to DATA>REQUESTS>CTS_REQUEST>REQ_HEADER
- SyntaxCheck: remove unused lockInfoXML type

REST server fix:
- getObjectHandler: add FUNCTIONGROUP/FUGR case → GetFunctionGroup

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@devops-bda devops-bda merged commit c788dd8 into main Jun 4, 2026
4 checks passed
@devops-bda devops-bda deleted the fix/adt-parity-endpoint-fixes branch June 4, 2026 02:33
@phanikumarps phanikumarps changed the title fix(adt): endpoint and parser fixes for 100% abaper-ts parity fix(adt,docker): endpoint/parser fixes for 100% abaper-ts parity + Docker build fix Jun 4, 2026
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.

2 participants