-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tree-wide: add support for ABAP DDIC Data Element CRUD #120
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #120 +/- ##
==========================================
+ Coverage 98.25% 98.29% +0.03%
==========================================
Files 84 86 +2
Lines 8315 8483 +168
==========================================
+ Hits 8170 8338 +168
Misses 145 145
☔ View full report in Codecov by Sentry. |
Since data elements have no text definitions yet. I propose to modify the operation "create" to accept the same parameters as the operation "chattr", to avoid the need to issue 2 commands "create + chattr". The operations "create" and "chattr", should also have the patameter "-a|--activate" to create, define and activate a data element in a signle command. I would also add the option "--overwrite" to the operation create, so it does not fail if the created data element already exists. |
We may have Data Elements text in future: SAP/abap-file-formats#556 |
Ok, I will create the "define" action that will take care of whole DTEL lifecycle from creation to activation phase |
I pushed new version of SAPCLI Data Element handling. New command See example: |
- There is a case when the mimetype is defined, but empty uri extension is provided (it is not needed). When the XML for DTEL needs to be fetched, there is noextended ADT source like .../main/sources that needs to be added to the URI. Trailing slashshould not be added for the case the required uri extension is empty
sap/cli/dataelement.py
Outdated
pass | ||
|
||
case _: | ||
raise SAPCliError("BUG: please report a forgotten case DataElementValidationIssues") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested but the force pushed commit is not presetn yet: buca92@7ca8567#diff-01319a9d5bb09fa62975ace1e4391b81e6d263af504892bae6dcd4463fdf846fR497
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is already there ;). Even the Coverage Report shows 100 % again
No description provided.