Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
/ red Public archive

Red is a service that can verify if a route with a given name exist. Used for health checking in firewalls

License

Notifications You must be signed in to change notification settings

Skatteetaten/red

Repository files navigation

Red

Red is a service that provides status for Routes. External network solutions can ask Red if a route is available in the OpenShift clusterj

The component is named after the Red Fraggle (http://muppet.wikia.com/wiki/Red_Fraggle). Logo is sourced from Fraggle wiki

Setup

In order to use this project you must set repositories in your ~/.gradle/init.gradle file

 allprojects {
     ext.repos= {
         mavenCentral()
         jcenter()
     }
     repositories repos
     buildscript {
      repositories repos
     }
 }

We use a local repository for distributionUrl in our gradle-wrapper.properties, you need to change it to a public repo in order to use the gradlew command. ../gradle/wrapper/gradle-wrapper.properties

<...>
distributionUrl=https\://services.gradle.org/distributions/gradle-<version>-bin.zip
<...>

How to start

Run the main class in your Editor. The application run as the currently logged in user to your OpenShift cluster.

If you have several clusters make sure that the cluster url you are log into matches the one in the application.yaml file

How to run on OpenShift

Make sure that the openshift profile is active, start the Main class

About

Red is a service that can verify if a route with a given name exist. Used for health checking in firewalls

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages