Skip to content
Snippets Groups Projects
Select Git revision
  • contractless
  • master default protected
  • kt-http4k-contractless
  • kt-http4k-sun
  • kt-http4k-apache4-q100
  • kt-http4k-apache4
  • kt-http4k-netty-updfix
  • kt-http4k-undertow-upd
  • kt-http4k
  • kt-http4k-undertow
  • kt-http4k-netty-upd
  • kt-http4k-apache-upd
  • kt-http4k-jetty-upd
  • kt-http4k-netty
  • kt-http4k-apache
  • kt-http4k-jetty
16 results

locations-kt-http4k

  • Clone with SSH
  • Clone with HTTPS
  • locations-kt-http4k (Locations Service in Kotlin http4k)

    This service manages Cities and Regions which represent real-world locations within GoOut infrastructure.

    Alternatives

    Multiple implementations of this service exist in different frameworks, languages for comparison.

    • locations-kt-ktor in Kotlin Ktor; less complete,
    • locations-rs in Rust Actix; contains API spec and additional tools and data for testing, benchmarking.

    API

    OpenApi3 documentation is exposed at /api-docs. Swagger UI for the documentation is exposed at /docs.

    Storage

    Data are stored in Elastic. As of now this service is read-only and does not alter the data in any way.

    Example structure (mappings) and data needed to run this service can be found in the elasticsearch directory of the locations-rs repository.

    Running locally

    • Make sure you have GOOUT_ELASTIC_HOST and GOOUT_ELASTIC_PORT env vars set.
    • gradle build -t to build and test continuously ie. whenever source file changes.
    • gradle run to launch the app. Hotswap is not supported.
    • Alternatively run the Gradle tasks from Idea GUI.

    Maintenance Note

    This repository is not actively maintained. It was created using git subtree out of the main monorepo + a few reverts and edits. Such approach in theory allows to bidirectionally share changes between the 2 versions, buch such activity is not expected.