Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

navikt/isproxy

Repository files navigation

isproxy

Proxy application for accessing internal services from applications running on GCP.

Technologies used

  • Kotlin
  • Ktor
  • Gradle
  • JDK 17
  • Spek
  • Jackson

Requirements

  • JDK 17

Build and run tests

To build locally and run the integration tests you can simply run ./gradlew test

Lint (Ktlint)

Run checking: ./gradlew --continue ktlintCheck

Run formatting: ./gradlew ktlintFormat

Download packages from Github Package Registry

Certain packages (tjenestespesifikasjoner) must be downloaded from Github Package Registry, which requires authentication. The packages can be downloaded via build.gradle:

val githubUser: String by project
val githubPassword: String by project
repositories {
    maven {
        url = uri("https://maven.pkg.github.com/navikt/tjenestespesifikasjoner")
        credentials {
            username = githubUser
            password = githubPassword
        }
    }
}

githubUser and githubPassword are properties that are set in ~/.gradle/gradle.properties:

githubUser=x-access-token
githubPassword=<token>

Where <token> is a personal access token with scope read:packages(and SSO enabled).

The variables can alternatively be configured as environment variables or used in the command lines:

  • ORG_GRADLE_PROJECT_githubUser
  • ORG_GRADLE_PROJECT_githubPassword
./gradlew -PgithubUser=x-access-token -PgithubPassword=[token]

Contact

For NAV employees

We are available at the Slack channel #isyfo.

About

Proxy-modul for å nå interne tjenester fra applikasjoner på GCP.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 7