Open aramovic79 opened 1 week ago
Thx @aramovic79 to immediately jump on the issue. I would prefer a solution where the plugin can provide this snippet, I think, I saw some other plugins to contribute to the page once. @RamIndia , can you help with the extension points to hook in for that?
@aramovic79 & @zongqichen , have a look at https://www.npmjs.com/package/@sap/cds?activeTab=code /@sap/cds/app/index.js, the plugin should return its endpoint as a CAP service (although manually implemented), then it would appear here automatically. @RamIndia suggested to do the same to support the multi tenancy issue #58.
@aramovic79 & @zongqichen , have a look at https://www.npmjs.com/package/@sap/cds?activeTab=code /@sap/cds/app/index.js, the plugin should return its endpoint as a CAP service (although manually implemented), then it would appear here automatically. @RamIndia suggested to do the same to support the multi tenancy issue #58.
By looking at the code, it seems to me that the change should be implemented not even in @sap/cds but in @sap/cds-dk. @RamIndia : Am I right? If so, not sure which change shall be done in the ORD Plugin so that @sap/cds(index.js) "sees" it's endpoint as a CAP service. I think that diving into the code with debugger is not the right approach, we need someone from the CAP team to point us in the right direction.
Bellow is shown how the index page looks like now. As you can see in the code, the implemented changes have nothing to do with the ORD Plugin, but only with the example application(/xmpl).