UI API Layer Modularization #165
Labels
area/community
Related to all activities that are done for Kyma community
area/console
Related to all activities around the Console UI and all its views
decision
Related to all issues that need a decision
Created on 2018-11-29 by Paweł Kosiec (@pkosiec).
Decision log
Context
UI API Layer exposes GraphQL API for the Kyma Console. It consists of resolver logic for different domains, like Kubernetes, Service Catalog, Remote Environments, Kubeless, etc. As Kyma needs to be modularized, users should be able to install only the components they need.
The current approach we use in UI API Layer makes it impossible. During the GraphQL server start, we try to synchronize Stores of all Informers. As a result, if a resource of a specific type doesn't exist, UI API Layer won't start properly because its Informer will return an error.
Decision
The decision is to implement UI API Layer module pluggability according to the proposal merged in #141, which bases on replacing UI API Layer resolver logic implementation depending on Back-end Module Custom Resource existence.
Status
Proposed on 2018-11-29.
Accepted on 2018-12-03.
Consequences
This decision have the following consequences:
The text was updated successfully, but these errors were encountered: