Faizan-omer / hawtio-next

Hawtio.next development

Home Page:http://hawtio-next.surge.sh/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hawtio.next

Test Lint

A Hawtio reimplementation based on TypeScript + React. This project reimplements the following Hawtio JS components in one project:

Development

This project was generated with Create React App and is managed through CRACO for customised Webpack configurations.

See also Developing Hawtio.next for the project styling, guidelines, and more details on development.

Prerequisites

You need to have installed the following tools before developing the project.

Developing

After checking out the project, run the following command to set up the project dependencies.

yarn install

To develop the project, run the following command and then open http://localhost:3000/ in the browser.

yarn start

Then run another Java application which has a Jolokia endpoint from a different terminal, and connect to it from the Connect tab in the Hawtio console. For example, you can run this Spring Boot example in background.

mvn spring-boot:run

You can connect to this example application at the Jolokia URL: http://localhost:10001/actuator/hawtio/jolokia. Open the Connect tab and create a connection with the following parameters:

  • Name: <any name>
  • Scheme: HTTP
  • Host: localhost
  • Port: 10001
  • Path: /actuator/hawtio/jolokia

Building

To build the project for production, run the following command. It's built into the build/ directory.

yarn build

Testing

To execute the unit tests, run the following command.

yarn test

Linting

It is recommended to run linting against the code periodically with the following command.

yarn lint

About

Hawtio.next development

http://hawtio-next.surge.sh/

License:Apache License 2.0


Languages

Language:TypeScript 96.2%Language:JavaScript 2.1%Language:HTML 0.9%Language:CSS 0.8%Language:Shell 0.0%