Skip to content

feat: mtaext-driven route host + self-contained ABAP handler classes#1

Merged
ClementRingot merged 2 commits into
mainfrom
feat/mtaext-and-selfcontained-abap
Jun 16, 2026
Merged

feat: mtaext-driven route host + self-contained ABAP handler classes#1
ClementRingot merged 2 commits into
mainfrom
feat/mtaext-and-selfcontained-abap

Conversation

@ClementRingot

Copy link
Copy Markdown
Owner

Summary

Two related cleanups inspired by ARC-1.

1. BTP deployment — .mtaext workflow (ARC-1 PR #441)

  • mta.yaml no longer pins a fixed host:; the deploy service assigns a globally-unique ${default-host} instead of the collision-prone lisa-<space> route.
  • Public URL is pinned in a gitignored mta-overrides.mtaext (tracked .example template provided), keeping the lisa-<space> convention → lisa-dev.
  • Landscape-specific properties (SAP_I18N_SERVICE_PATH, SAP_BTP_*_DESTINATION) move out of mta.yaml into the extension.
  • Adds btp:* npm scripts and documents the workflow in docs_page/btp-deployment.md.

2. Self-contained ABAP handler classes

  • Inlined the JSON/param helpers into both ZCL_I18N_SERVICE and ZCL_I18N_SERVICE_CLOUD.
  • Removed ZCL_VSP_UTILS (only contributed 6 helpers) and ZIF_VSP_SERVICE (unused — each class defines its own ty_response).
  • Users now copy a single file matching their stack — no shared dependencies.

Verification

  • mbt build -e mta-overrides.mtaext succeeds; host/properties resolve in mtad.yaml.
  • abaplint (Cloud rules) on the inlined helpers: 0 errors, 0 warnings.

🤖 Generated with Claude Code

Clement RINGOT and others added 2 commits June 16, 2026 07:45
Adopt ARC-1's .mtaext workflow (PR #441): mta.yaml no longer pins a
fixed `host:`, so the deploy service assigns a globally-unique
${default-host} instead of the collision-prone `lisa-<space>` route.

The public URL is now pinned in a gitignored mta-overrides.mtaext (a
tracked .example template is provided), which keeps the lisa-<space>
convention -> lisa-dev. Landscape-specific properties (service path,
BTP destinations) move out of mta.yaml into the extension too.

Adds btp:* npm scripts and documents the workflow.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Inline the JSON/param helpers (escape_json, extract_param, json_obj,
json_str, json_bool, json_join) into both ZCL_I18N_SERVICE and
ZCL_I18N_SERVICE_CLOUD, and drop ZCL_VSP_UTILS / ZIF_VSP_SERVICE.

The interface was unused (each class defines its own ty_response) and
the utils class only contributed those six helpers. Users now copy a
single file matching their stack — no shared dependencies to import.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ClementRingot ClementRingot merged commit 6a16493 into main Jun 16, 2026
1 check passed
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