source

command module
v0.0.0-...-3759697 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

README

Source

A lightweight configuration database

Source is a lightweight database designed to store configuration items providing minimal installation and database maintenance.

It uses Sqlite as a backend and allows to:

  1. store any configuration in json format as an encrypted BLOB
  2. identify configurations using natural keys of your choice
  3. validate the configuration using predefined json schemas (no need to create schemas, they are inferred from configuration prototypes)
  4. optionally attach tags to configuration (tags can have a name only or a name and a value)
  5. optionally associate configurations via links
Launching the service
# start service in a docker container
docker run \
   --name src \
   --restart=always \
   -d \
   -p 8999:8080 \
   -e ART_PACKAGE_NAME="app/source" \
   -e OX_HTTP_USER="USER-NAME-HERE" \
   -e OX_HTTP_PWD="USER-PASSWORD-HERE" \
   -e SOURCE_DATA_PATH="volume_0" \
   quay.io/artisan/app-run:ubi-minimal
       
# launch Open API in a browser
python -mwebbrowser http://localhost:8999/api/
Using the go client

See here.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY SWAG; DO NOT EDIT This file was generated by swaggo/swag
src module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL