openslo / openslo-backstage-plugins Goto Github PK
View Code? Open in Web Editor NEWBackstage plugins for OpenSLO
License: Apache License 2.0
Backstage plugins for OpenSLO
License: Apache License 2.0
The format for the repo name seems to match more what you'd expect for a repository that contains a single plugin. But since we are building a few closely related plugins and modules in a single repository, perhaps we should change the repository name sooner rather than later to reflect that.
And example of an existing plugin repo like this is https://github.com/RoadieHQ/roadie-backstage-plugins
Perhaps: openslo-backstage-plugins
?
We could do this in one of three ways:
We want to setup our package.json to ensure that this single repo presents as multiple packages which can then be imported separately and all published to npm. Following the pattern of other existing backstage plugin repos with multiple packages.
Possible inspiration:
Once you have a common package in place you can start adding your own entity definitions. For the exact details on how to do that we defer to getting inspired by the existing scaffolder-common package. But in short you will need to declare a TypeScript type and a JSONSchema for the new entity kind.
Since the JSONSchema is not yet published to the web, we should probably use a git-submodule for the schema definition until that gets finished.
Once Backstage understands the OpenSLO format, we can create a simple set of React Components for displaying SLO information as a Card or Tab on a System that the SLO objects are attached to.
Using the openslo-common plugin, we need to write a custom backstage processor to have any OpenSLO documents found in catalog locations into the Catalog database:
Taking inspiration from the https://github.com/backstage/backstage/tree/master/plugins structure, we want this repository to be home to multiple plugins:
Backstage recommends to take plugin structure inspiration from: https://github.com/backstage/backstage/tree/master/plugins/scaffolder-common
Create a basic README describing:
We should have github actions setup to publish the latest packages to NPM.
We probably want to have an OpenSLO npm account for this.
We need to setup CI actions to validate PRs prior to merging.
Some examples of initial checks that should be performed:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.