Skip to content
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

[SUSI] Add new object type SUSI #526

Merged
merged 49 commits into from
Jul 31, 2023
Merged

[SUSI] Add new object type SUSI #526

merged 49 commits into from
Jul 31, 2023

Conversation

WDFYvonne
Copy link
Contributor

No description provided.

@cla-assistant
Copy link

cla-assistant bot commented Apr 25, 2023

CLA assistant check
All committers have signed the CLA.

@cla-assistant
Copy link

cla-assistant bot commented Apr 25, 2023

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@schneidermic0 schneidermic0 self-requested a review April 26, 2023 07:45
@albertmink albertmink requested a review from a team April 26, 2023 13:42
@albertmink albertmink removed the request for review from a team April 26, 2023 13:43
file-formats/susi/type/zif_aff_susi_v1.intf.abap Outdated Show resolved Hide resolved
file-formats/susi/type/zif_aff_susi_v1.intf.abap Outdated Show resolved Hide resolved
file-formats/susi/type/zif_aff_susi_v1.intf.abap Outdated Show resolved Hide resolved
file-formats/susi/type/zif_aff_susi_v1.intf.abap Outdated Show resolved Hide resolved
file-formats/susi/type/zif_aff_susi_v1.intf.abap Outdated Show resolved Hide resolved
Copy link
Contributor

@schneidermic0 schneidermic0 left a comment

Choose a reason for hiding this comment

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

Thanks, @WDFYvonne.

I went through the example file and added some comments and questions. Based on your feedback on these questions, I will review the other files, too.

file-formats/susi/examples/zaff_example_susi.susi.json Outdated Show resolved Hide resolved
file-formats/susi/examples/zaff_example_susi.susi.json Outdated Show resolved Hide resolved
file-formats/susi/examples/zaff_example_susi.susi.json Outdated Show resolved Hide resolved
file-formats/susi/type/zif_aff_susi_v1.intf.abap Outdated Show resolved Hide resolved
file-formats/susi/examples/zaff_example_susi.susi.json Outdated Show resolved Hide resolved
@WDFYvonne
Copy link
Contributor Author

WDFYvonne commented Apr 27, 2023 via email

@schneidermic0
Copy link
Contributor

Validation "Validate JSON examples" fails because you changed only the example file. The corresponding ABAP type and the schema mention still "general". I will add two suggestions in a minute so that you can see which places I mean.

Why "Validate JSON schema" fails is not clear to me, yet. I talked to @larshp yesterday. Our suggestion is: we finish the code review and if the check still fails, he helps us to check the issue and maybe fix it.

Copy link
Contributor

@schneidermic0 schneidermic0 left a comment

Choose a reason for hiding this comment

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

These are the changes I referred in my last comment.

file-formats/susi/susi-v1.json Outdated Show resolved Hide resolved
file-formats/susi/type/zif_aff_susi_v1.intf.abap Outdated Show resolved Hide resolved
Copy link
Contributor

@schneidermic0 schneidermic0 left a comment

Choose a reason for hiding this comment

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

I have fixed the issue with the example file.

@schneidermic0 schneidermic0 requested a review from a team May 15, 2023 15:13
Copy link
Contributor

@schneidermic0 schneidermic0 left a comment

Choose a reason for hiding this comment

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

LGTM

@wurzka wurzka marked this pull request as draft July 18, 2023 06:44
@wurzka wurzka marked this pull request as ready for review July 27, 2023 15:07
@wurzka wurzka self-requested a review July 27, 2023 15:07
Copy link
Contributor

@schneidermic0 schneidermic0 left a comment

Choose a reason for hiding this comment

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

In general, it looks good to me.

I have just added some questions regarding $required and $showAlways which you might want to change.

Furthermore, I am wondering whether it is a good idea to rename the new introduced fields "description" to differentiate between the object's description.

See comments below for more details

"! Maintenance Status
"! $values {@link zif_aff_susi_v1.data:co_maintenance_status}
"! $default {@link zif_aff_susi_v1.data:co_maintenance_status.default_with_values}
"! $showAlways
Copy link
Contributor

@schneidermic0 schneidermic0 Jul 28, 2023

Choose a reason for hiding this comment

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

Talked to @wurzka. This was changed by intention. I set this comment back to "resolved"

"! Authorization fields.
"! <p class="shorttext">Description</p>
"! Description of authorization defaults of object
description TYPE string,
Copy link
Contributor

Choose a reason for hiding this comment

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

Just for consistency. If we decide to change it from "description" to something else, we should change it here, too.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am not sure what I need to do

Copy link
Contributor

Choose a reason for hiding this comment

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

This comment is related to #526 (comment)

If we change the other location, I suggest to update both locations

Copy link
Contributor

@wurzka wurzka left a comment

Choose a reason for hiding this comment

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

The question of the description/documentation naming should definitely not be forgotten. Maybe customer feedback helps here.
As a first version this is ok for me.

@wurzka wurzka merged commit def4cca into SAP:main Jul 31, 2023
7 checks 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.

4 participants