Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move OSBA Contracts to main docs #1507

Merged
merged 16 commits into from Nov 13, 2018
Merged

Conversation

klaudiagrz
Copy link
Contributor

Description

Changes proposed in this pull request:

  • Move OSBA Contracts from the console repository to the main kyma/docs/service-catalog/ documentation
  • Add an overview of what OSBA Contracts are about
  • Adjust the OSBA Contracts to the template

@klaudiagrz klaudiagrz added area/documentation Issues or PRs related to documentation WIP labels Nov 2, 2018
@derberg
Copy link

derberg commented Nov 5, 2018

please make sure screenshots follow guidelines and that they are up to date with current designs

@klaudiagrz klaudiagrz removed the WIP label Nov 8, 2018
* optional fields, which you can but do not have to define
* conventions, which are proposed fields that can be changed with your own fallbacks

The Service Catalog in Kyma is OSBA-compliant, which means that you can register a Service Class that has only the mandatory fields defined. Such Service Class displays in the Catalog view, however, it does not display in a pleasant and satisfactory way. Follow the UI Contracts and write your definitions in the recommended way to provide the best user experience.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Service Catalog in Kyma is OSBA-compliant

it is not just in kyma, it is general SC goal, to be OSBA compliant so no need to write about it
just write that you can register a service class with mandatory fields


UI Contracts are contracts between the Service Catalog views in the Kyma Console UI and the [Open Service Broker API](https://www.openservicebrokerapi.org/) (OSBA) specification.

There are three types of OSBA fields:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you write in general about OSBA fields, so do not mention UI here yet, just introduce those 3 different types of filelds

- Instances view
- Brokers view

Read the **Catalog view**, **Instances view**, and **Brokers view** documents to learn more about the OSBA fields used in those particular Kyma Console UI views.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here you can mention about those fallbacks,

so read those 3 different docs do understand the contract mapping between UI and the OSBA and which fields are primary for us for best experience, and what fields are used as a fallback if you do not provide the primary ones

type: UI Contracts
---

This document describes the mapping of [OSBA service objects](https://github.com/openservicebrokerapi/servicebroker/blob/v2.13/spec.md#service-objects) in the Kyma Console Brokers view.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this doc can be removed, there is nothing in brokers view that is taken from OSBA

type: UI Contracts
---

This document describes the mapping of [OSBA service objects](https://github.com/openservicebrokerapi/servicebroker/blob/v2.13/spec.md#service-objects) in the Kyma Console Instances view.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea of linking directly to OSBA, just please make sure you link properly
it is not always service object section
for example for catalog and instance view it is also plan object, in other cases also other objects, depending what we display

maybe better link here https://github.com/openservicebrokerapi/servicebroker/blob/v2.13/spec.md#catalog-management ? what do you think?

There are three types of OSBA fields:
* mandatory fields, which are crucial to define
* optional fields, which you can but do not have to define
* conventions, which are proposed fields that can be changed with your own fallbacks
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which are proposed fields that can be changed with your own fallbacks
no fallbacks

which are proposed fields that can be passed in the `metadata` object

* optional fields, which you can but do not have to define
* conventions, which are proposed fields that can be changed with your own fallbacks

The Service Catalog is OSBA-compliant, which means that you can register a Service Class that has only the mandatory fields.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add a sentence
Nevertheless it is recommended that for better user experience you provide much more detailed class definitions
?


\*Fields with an asterisk are required OSBA attributes.

![alt text](./assets/instances.png 'Service Instances')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the screen shot is outdated


\*Fields with an asterisk are required OSBA attributes.

![alt text](./assets/instances-details.png 'Service Instance Details')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the screen shot is outdated

@klaudiagrz klaudiagrz merged commit 1d6d76e into kyma-project:master Nov 13, 2018
@klaudiagrz klaudiagrz deleted the #1480 branch November 13, 2018 15:13
grischperl pushed a commit to grischperl/kyma that referenced this pull request Nov 10, 2020
* Ignore vscode files

* Switch to new cbs tests

* Fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Issues or PRs related to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants