List of Sources for Red Hat Hybrid Cloud Console.
This application allows to
- view all sources (filtering, sorting)
- add a new source (AWS, Google, Azure, OpenShift, ...)
- connect an application to a source (Cost Management, RHEL management bundle, ...)
- remove an application from a source
- pause/resume a source/application
Table of Contents
- Sources
- Getting Started
- Queries
- Testing
- Patternfly
- Data-driven forms
- Insights Chrome
- Config
- Insights Components
- AddSourceWizard
- API
- Insights Frontend Assets
- Deploying
- License
-
npm install
-
npm run start
- starts a dev server based on your preferences selected in interactive guide
You have to be connected to Red Hat VPN and use Red Hat squid proxy settings (check source.redhat.com for a guide). Check also, if you have updated /etc/hosts/
file to route these adresses to localhost. (See script)
Check our proxy documenation for more options.
Sources UI provides easy way how to test different states of the application when running in dev environment.
Run from the console one of following commands:
sourcesDebug.showEmptyState
Sets number of currently loaded sources to 0. Shows empty state.
sourcesDebug.setCount
Changes number of sources to a value you need.
sourcesDebug.removePermissions
Removes write permissions.
sourcesDebug.setPermissions
Grants write permissions.
You can use queries to modify the initial state of the application. Read more here.
- Travis is used to test the build for this code.
npm run test
will run tests locally,npm run lint
will run just the linter.
- This project imports Patternfly components:
- This project uses Data-driven forms:
Insights Chrome is an application that wraps all the UI applications in Red Hat Hybrid Cloud Console. It using Federated modules to do that.
Cloud Services Config manages the UI navigation and Akamai configuration.
Red Hat Insights Frontend Components
Insights Platform will deliver components and static assets through npm.
ADD SOURCE WIZARD WAS MOVED TO THIS REPOSITORY!
Documentation is here.
- See Update wizard. This guideline provides info how to update the add source wizard.
- Sources API NOT IN USE ANYMORE
- Sources API GO - a new GO version of the API
This API client is no longer in the UI because of its huge bundle size. However, is useful to use is a documentation to the API.
Static assets are deployed to Insights Frontend Assets repository. If you need to add/change/remove some icon, please do it there.
- The Platform team is using Travis to deploy the application
Branch | updates | environment |
---|---|---|
master |
=> | stage/beta and stage/stable |
prod-beta |
=> | prod/beta |
prod-stable |
=> | prod/stable |
Example:
- any push to the
master
branch will deploy to asources-ui-build
master
branch => Stage/Beta and Stage/Stable
This project is available as open source under the terms of the Apache License 2.0.