SAP-samples / SAP-samples/cf-mta-examples

Example: Content deployment - Invalid webapps in content.zip

Open
#22 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
153
Forks
53
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the xs-app.json files under content-deployment/content and identify the destination entries used by the web apps. Confirm how those entries affect the approuter and HTML5 app repository example, then verify that the sample remains usable with cf deploy ./ and without destinations being set up.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
cloud, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.