Skip to content

Rename CDS framework classes to RAP namespace - #6

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/rap-ext-namespace-z2ui5-x1fowp
Aug 10, 2026
Merged

oblomov-dev merged 1 commit into
mainfrom
claude/rap-ext-namespace-z2ui5-x1fowp

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Summary

Rename all CDS framework classes and data definitions from the Z2UI5_CL_CDS_ / Z2UI5_CDS_ namespace to the Z2UI5_CL_RAP_ / Z2UI5_DD_RAP_ namespace to align with the naming convention used in the samples repository.

Key Changes

  • Class renames (7 classes):

    • z2ui5_cl_cds_testz2ui5_cl_rap_test (demo app)
    • z2ui5_cl_cds_utilz2ui5_cl_rap_util (metadata reader)
    • z2ui5_cl_cds_action_dialogz2ui5_cl_rap_action_dialog
    • z2ui5_cl_cds_list_reportz2ui5_cl_rap_list_report
    • z2ui5_cl_cds_object_pagez2ui5_cl_rap_object_page
    • z2ui5_cl_cds_overview_pagez2ui5_cl_rap_overview_page
    • z2ui5_cl_cds_worklistz2ui5_cl_rap_worklist
    • z2ui5_cl_cds_value_helpz2ui5_cl_rap_value_help
  • DDLS entity renames (2 entities):

    • z2ui5_cds_test_popupz2ui5_dd_rap_test_popup
    • z2ui5_cds_test_opz2ui5_dd_rap_test_op
  • Updated all references throughout the codebase to use the new class and entity names

  • Documentation updates in README.md and AGENTS.md to reflect the new naming scheme and clarify that the RAP prefix applies to object names only, not to cds_view_name parameters or CDS terminology in descriptions

Implementation Details

  • All class definitions, implementations, and XML metadata files updated consistently
  • Type references and instantiations updated across all dependent code
  • The renaming follows the established pattern: Z2UI5_<type>_RAP_ for classes and Z2UI5_DD_RAP_ for DDLS entities
  • No functional changes; this is a pure refactoring to align with the samples repository naming convention

https://claude.ai/code/session_01WrKoVnVksBAL6G5QJmTXfk

Adopt the samples repo naming scheme (Z2UI5_CL_SMP_…, Z2UI5_T_SMP_…) with
`RAP` as this addon's token, so every object carries Z2UI5_<type>_RAP_:

- 8 classes: z2ui5_cl_cds_* -> z2ui5_cl_rap_*
- 2 DDLS:    z2ui5_cds_*    -> z2ui5_dd_rap_*

All references updated in the ABAP sources, the abapGit sidecars (CLSNAME,
DDLNAME), the `define abstract entity` headers, README and AGENTS.md.

The `cds_view_name` constructor parameter and the CDS wording in object
descriptions are part of the public contract / prose and stay unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WrKoVnVksBAL6G5QJmTXfk
Copilot AI lite review requested due to automatic review settings August 10, 2026 10:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refactors the addon’s ABAP CDS wrapper artifacts to use the Z2UI5_CL_RAP_ / Z2UI5_DD_RAP_ object naming scheme (classes + DDLS) and updates in-repo references/documentation accordingly, aligning with the project’s RAP-prefixed artifact convention.

Changes:

  • Renamed CDS wrapper classes from Z2UI5_CL_CDS_* to Z2UI5_CL_RAP_* and updated all type references/casts/instantiations to the new class names.
  • Renamed DDLS entities from Z2UI5_CDS_* to Z2UI5_DD_RAP_* (XML DDLNAME + CDS source entity name) and updated ABAP type usages.
  • Updated README.md and AGENTS.md examples/references to the new artifact names.

Reviewed changes

Copilot reviewed 22 out of 24 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/z2ui5_dd_rap_test_popup.ddls.xml Updates DDLNAME to the new Z2UI5_DD_RAP_* artifact name.
src/z2ui5_dd_rap_test_popup.ddls.baseinfo Adds a .baseinfo artifact file (currently empty).
src/z2ui5_dd_rap_test_popup.ddls.asddls Renames the CDS abstract entity to z2ui5_dd_rap_test_popup.
src/z2ui5_dd_rap_test_op.ddls.xml Updates DDLNAME to the new Z2UI5_DD_RAP_* artifact name.
src/z2ui5_dd_rap_test_op.ddls.baseinfo Adds a .baseinfo artifact file (currently empty).
src/z2ui5_dd_rap_test_op.ddls.asddls Renames the CDS abstract entity to z2ui5_dd_rap_test_op.
src/z2ui5_cl_rap_worklist.clas.xml Updates class metadata to Z2UI5_CL_RAP_WORKLIST.
src/z2ui5_cl_rap_worklist.clas.abap Renames class and updates util type references/calls.
src/z2ui5_cl_rap_value_help.clas.xml Updates class metadata to Z2UI5_CL_RAP_VALUE_HELP.
src/z2ui5_cl_rap_value_help.clas.abap Renames class and updates util type references/calls.
src/z2ui5_cl_rap_util.clas.xml Updates class metadata to Z2UI5_CL_RAP_UTIL.
src/z2ui5_cl_rap_util.clas.abap Renames class definition/implementation.
src/z2ui5_cl_rap_test.clas.xml Updates class metadata to Z2UI5_CL_RAP_TEST.
src/z2ui5_cl_rap_test.clas.abap Renames demo app class and updates referenced RAP class/entity types.
src/z2ui5_cl_rap_overview_page.clas.xml Updates class metadata to Z2UI5_CL_RAP_OVERVIEW_PAGE.
src/z2ui5_cl_rap_overview_page.clas.abap Renames class and updates util type references/calls.
src/z2ui5_cl_rap_object_page.clas.xml Updates class metadata to Z2UI5_CL_RAP_OBJECT_PAGE.
src/z2ui5_cl_rap_object_page.clas.abap Renames class and updates util type references/calls.
src/z2ui5_cl_rap_list_report.clas.xml Updates class metadata to Z2UI5_CL_RAP_LIST_REPORT.
src/z2ui5_cl_rap_list_report.clas.abap Renames class and updates util type references/calls and navigation casts.
src/z2ui5_cl_rap_action_dialog.clas.xml Updates class metadata to Z2UI5_CL_RAP_ACTION_DIALOG.
src/z2ui5_cl_rap_action_dialog.clas.abap Renames class and updates util type references/calls.
README.md Updates examples/references to new RAP-prefixed artifacts.
AGENTS.md Updates demo class name and documents the RAP artifact naming scheme.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@oblomov-dev
oblomov-dev merged commit 0d4e5a6 into main Aug 10, 2026
5 checks passed
@oblomov-dev
oblomov-dev deleted the claude/rap-ext-namespace-z2ui5-x1fowp branch August 10, 2026 11:00
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.

3 participants