/cos-ui

UI for the Connector Service API

Primary LanguageTypeScriptApache License 2.0Apache-2.0

License

Application Services Connectors UI

UI is used as federated module in app-services ui project that aggretates various service components.

NOTE: This repository is used as part of the console.redhat.com

Prerequisites

Run the UI as a standalone application

npm install
npm run start

This will start the standalone app on https://prod.foo.redhat.com:1337/.

  • make sure you have 127.0.0.1 prod.foo.redhat.com in your hosts file for this to work.
  • you can also change the backend (fleet-manager) that the app will point to in the .env file.

Run the UI as a federated module consumed by the application-services-ui app

npm install
npm run start:federate

This will run a dev server on http://localhost:9002 that will serve a federated module named cos.

Running Cypress

In one terminal run the application in E2E mode:

npm run start:e2e

In a second terminal run Cypress in the interactive mode

npm run cypress:open

or if you want to run the tests against an headless Chrome

npm run cypress

Contributing

If you are contributing please check out the Contributing Guidelines.