cap-js / ord

Open Resource Discovery (ORD) is a protocol that allows applications and services to self-describe their exposed resources and capabilities. This plugin enables generation of ORD document for CAP based applications.
Apache License 2.0
3 stars 3 forks source link

ORD Metadata changes #38

Open RamIndia opened 1 month ago

RamIndia commented 1 month ago

Please find attached the ord documents we walked through in our review:

Here are the changes decided for the ORD document :

products

groups

packages

consumptionBundles

apiResources

eventResources

Explanation:

Tests

aramovic79 commented 3 weeks ago

TODO: Check-mark the check-boxes given in the issue body (only) after merging the related pull requests. Related PRs: #42 && #43 cc: @ductaily @Fannon @RoshniNaveenaS

aramovic79 commented 2 weeks ago

Regarding the Don’t add a suffix if I already specified a .json suffix in the -o / —dest parameter: The fix should be implemented in the cds-dk repo, not in the ord plugin. Compiler is always attaching the suffix that is equal to the -to parameter value. Check by running e.g. : cds compile srv/services.cds -2 csn -o ORD15.someext => Result is: ORD15.someext.csn(or -2 SQL)

@RoshniNaveenaS @ductaily @Fannon

aramovic79 commented 2 weeks ago

The same as above stands for Use .ord.json as file suffix instead of .ord if not. Check-marked both issues because the fix shall not be done in cap-js/ord plugin.

@RoshniNaveenaS @ductaily @Fannon

RamIndia commented 2 weeks ago

Regarding the Don’t add a suffix if I already specified a .json suffix in the -o / —dest parameter: The fix should be implemented in the cds-dk repo, not in the ord plugin. Compiler is always attaching the suffix that is equal to the -to parameter value. Check by running e.g. : cds compile srv/services.cds -2 csn -o ORD15.someext => Result is: ORD15.someext.csn(or -2 SQL)

@RoshniNaveenaS @ductaily @Fannon

@stewsk: As of now cds compile -2 always appends the extension, can we ignore appending the format if extension is specified in the -o parameter?

ductaily commented 2 weeks ago

@aramovic79 @Fannon

The issue regarding Don’t add a suffix if I already specified a .json suffix in the -o / —dest parameter will be resolved in cds-dk 8.2.0. See corresponding issue: https://github.tools.sap/cap/issues/issues/16685

aramovic79 commented 4 days ago

@zongqichen @ductaily : I've checked marked items that are done. I'm not sure for the remaining. Could you please take a look and check-mark the finished ones? Thanks!

zongqichen commented 4 days ago

Hi @aramovic79, I marked the Jest and CICD pipeline item. I think we basically introduced the test and action as pipeline.