cloudfoundry / cloudfoundry/stratos
Support marketplace service long description with rich text format
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 267
- Forks
- 137
- Avg merge
- 5h 14m
- Merged PRs (30d)
- 77
Description
Detailed Description
As a service author, in order to provide detailed steps on how to use my service, I need my service description to include rich text formatting such as
- bullets (currently OSB specified bullets only appear in service plans)
- <code> format in order to display
- CLI cli code fragments
cf create-service -c {...}andcf bind-service -c {...}orcf map-route service ... - sample VCAP_SERVICES format and output
- Short code snippets for using the services (SDK, or API calls)
- CLI cli code fragments
- image reference to show architecture diagram explaining client usage such as the following explaining how a cassandra service gets used by its driver

- multiple hrefs for different aspects that would complement existing documentation and support urls
Context
This feature would help developers better understand their marketplace offers.
This feature may at times avoid service authors to serve independent documention, and instead include their documentation in the new rich text long description.
Possible Implementation
Service brokers return an extra field that augments the current OSB service meta-data that contains rich-text formatted content.
Possibly, the rich text format could be markdown, i.e. http://spec.commonmark.org/
There seems to have a wide range of markdown renderers such as https://github.com/markdown-it/markdown-it
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the OSB service metadata fields linked in the issue and the marketplace service-description handling in Stratos. Compare the proposed CommonMark approach with available Markdown renderers. Done would mean service brokers can provide rich text that the marketplace displays with bullets, code, images, and multiple links.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- markdown, typescript
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100