https://github.com/hal/halos-proxy
halOS Proxy
https://github.com/hal/halos-proxy
monitoring openshift wildfly
Last synced: about 1 year ago
JSON representation
halOS Proxy
- Host: GitHub
- URL: https://github.com/hal/halos-proxy
- Owner: hal
- License: apache-2.0
- Created: 2020-05-07T13:35:04.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2025-04-07T05:59:29.000Z (about 1 year ago)
- Last Synced: 2025-04-07T06:32:01.887Z (about 1 year ago)
- Topics: monitoring, openshift, wildfly
- Language: Java
- Homepage:
- Size: 660 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# halOS Proxy
halOS stands for **HAL** on **O**pen**S**hift. It is derived from [HAL](https://hal.github.io/) and allows monitoring and inspection of WildFly and other services running on OpenShift. Although the focus is on WildFly, halOS supports monitoring arbitrary services. This is achieved through the concept of capabilities and extensions.
## Architecture

halOS consists of two parts:
1. Proxy (back-end, this repository)
2. [Console](https://github.com/hal/halos-console) (front-end)
This repository contains the proxy. The proxy is a microservice running next to the managed services. It connects to the managed services and interacts with them. It exposes a REST API that is consumed by the [console](https://github.com/hal/halos-console).
## Technical Stack
- [Quarkus](https://quarkus.io)
- JAX-RS
- Server Sent Events
- fabric8 [OpenShift client](https://github.com/fabric8io/kubernetes-client)
## Build
```shell
./mvnw install
```
## Run
Please refer to the halOS [distribution](https://github.com/hal/halos-distribution#readme) about how to set up all services on OpenShift, start halOS and access the console.
## Development
To run the proxy, you need to have access to an OpenShift cluster. The easiest way to get started is to use the [OpenShift sandbox](https://developers.redhat.com/developer-sandbox). The sandbox provides you with a private OpenShift environment in a shared, multi-tenant OpenShift cluster that is pre-configured with a set of developer tools.
Once you have access to your OpenShift cluster, create a [`.env`](https://quarkus.io/guides/config-reference#env-file) file in the `proxy` folder and add the following settings:
```shell
_DEV_QUARKUS_KUBERNETES-CLIENT_MASTER-URL=
_DEV_QUARKUS_KUBERNETES-CLIENT_TOKEN=
_DEV_QUARKUS_KUBERNETES-CLIENT_NAMESPACE=
```
Then start the proxy in dev mode, using
```shell
cd proxy
./mvnw quarkus:dev
```