SAP-samples / cf-mta-examples

The repository contains multitarget application (MTA) examples for SAP BTP, Cloud Foundry environment. Examples demonstrate how to achieve different goals using MTAs and show the capabilities of MTA deployment service in the Cloud Foundry environment.
Apache License 2.0
112 stars 44 forks source link

Example: Content deployment - Invalid webapps in content.zip #22

Open IObert opened 4 years ago

IObert commented 4 years ago

It seems that all web apps in https://github.com/SAP-samples/cf-mta-examples/tree/master/content-deployment/content specify destinations in the xs-app.json file. If these destinations are not set up, the webapps cannot be used as the approuter will throw an exception.

So the sample is ok if it should only be used to demonstrate the cf deploy ./ but it's not suited to show how to use the html5 app repo.

My ask would be to remove the destinations from the xs-app.json files

ddonchev commented 4 years ago

Good point @IObert, It does make sense to demonstrate with working examples - makes it much more tangible. I'm leaving the issue opened until the example is fixed. Thanks for debugging and sharing this!