/app-services-ui

Application Services Federated UI

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Build Status

Application Services UI

User interface for Red Hat Managed Services (Kafka, Service Registry etc.) that is available as part of the https://console.redhat.com

Application Services UI is based on the https://github.com/RedHatInsights/insights-frontend-starter-app.git which is React.js starter app for Red Hat Insights products that includes Patternfly 4 and shared cloud.redhat.com services

Services

Running Project

Project can be run in two modes:

  • Using remote federated components from console.redhat.com (only for Red Hat Internal usage)
  • Running federated modules locally (dev)

Running project with remote components

Run:

npm install
npm run start:dev

Go to https://prod.foo.redhat.com:1337/beta/application-services/streams/kafkas

Running project with compiled components

Setting up all repositories for development

First we need to download all external repositories by running a script.

./hack/checkout-repos.sh

After that we can run any of the federated UI component in ./modules folder and it will automatically be used by the app-services-ui

Contributing Guide

CONTRIBUTING

Creating new Module Guide

New module guide

Testing changes to nav

  1. Edit webpack.dev.js and add the following to proxyConfig:
    routes: {
      '/config': { host: 'http://127.0.0.1:8889' },
      '/beta/config': { host: 'http://127.0.0.1:8889' }
    },
  1. Clone https://github.com/RedHatInsights/cloud-services-config and follow the instructions there to make your changes
  2. run npx http-server -p 8889 in cloud-services-config to try the changes out