Mindsphere Pump_asset example

0
while pushing an app to mindsphere tenant i faced an error , how can i solve this error ?
asked
1 answers
0

Hi Ibrahim,

to solve this you have to specify a different route for your app. If you do not specify a route in your manifest.yml, cloud foundry uses a default route based on your appname – and this route is currently in use by a different app.

Cloud foundry offers two different approaches to solve this:
1.) use random route:  https://docs.cloudfoundry.org/devguide/deploy-apps/manifest-attributes.html#random-route

random-route: true

2.) specify a route of your choice: https://docs.cloudfoundry.org/devguide/deploy-apps/manifest-attributes.html#routes

routes:
  - route: yourname.apps.eu1.mindsphere.io

Keep in mind to use the correct route of your app when you register the app in the developer cockpit. If you a re not sure which route your app finally gets – e.g. if you use the random-route attribute you can check the route with the following command:
cf app YOUR-APP-NAME

answered