The application registry in the STUPS ecosystem
Clone or download
Latest commit 1af5adb Aug 31, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
appdynamics/logs added appdynamics logs Aug 27, 2015
dev
resources Deprecate all version-related API endpoints (#82) Oct 19, 2017
src/org/zalando/stups/kio fix null pointer exception Nov 7, 2017
test/org/zalando/stups/kio Merge branch 'master' into db-test Aug 31, 2018
.gitignore added lein-scm-source plugin May 12, 2015
.travis.yml
.zappr.yaml Build docker image Sep 28, 2017
Dockerfile Don't generate scm-source.json Aug 31, 2018
LICENSE add LICENSE Mar 12, 2015
MAINTAINERS added more documentation Mar 20, 2015
README.md Trigger build Jul 29, 2015
delivery.yaml use newer schemaspy Aug 31, 2018
example-senza-definition.yaml add example Senza definition YAML Jun 9, 2015
project.clj Use strings to name tokens for compatibility with secret files (#79) Apr 19, 2017

README.md

Kio

Build Status

Kio is the application registry in the STUPS ecosystem. It manages the basic information about an organisation’s applications.

Download

Releases are pushed as Docker images in the public Docker registry:

You can run Kio by starting it with Docker:

$ docker run -it stups/kio

Requirements

  • PostgreSQL 9.3+

Configuration

Configuration is provided via environment variables during start.

Variable Default Description
HTTP_PORT 8080 TCP port to provide the HTTP API.
HTTP_CORS_ORIGIN Domain for cross-origin JavaScript requests. If set, the Access-Control headers will be set.
DB_SUBNAME //localhost:5432/kio JDBC connection information of your database.
DB_USER postgres Database user.
DB_PASSWORD postgres Database password.

Example:

$ docker run -it \
    -e HTTP_CORS_ORIGIN="*.zalando.de" \
    -e DB_USER=kio \
    -e DB_PASSWORD=kio123 \
    stups/kio

Building

$ lein uberjar
$ lein docker build

Releasing

$ lein release :minor

Developing

Kio embeds the reloaded workflow for interactive development:

$ lein repl
user=> (go)
user=> (reset)

License

Copyright © 2015 Zalando SE

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.