GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - grycap/adim: Application Deployment management with the Infrastructure Manager

BranchesTags
Open more actions menu

Latest commit

 

History

354 Commits
354 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
adim
adim
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
adim-api.yaml
adim-api.yaml
 
 
codemeta.json
codemeta.json
 
 
conftest.py
conftest.py
 
 
pyproject.toml
pyproject.toml
 
 
requirements.txt
requirements.txt
 
 
test-requirements.txt
test-requirements.txt
 
 
tox.ini
tox.ini
 
 

Repository files navigation

ADIM

Test ADIM SQAaaS badge shields.io DOI

Overview

Application Deployment with Infrastructure Manager implements EOSC Application Deployment Management API.

Requirements

Python 3.5.2+

Configuration

Set this environment variables to configure the ADIM service:

LOG_LEVEL=info
IM_URL=http://localhost:8800
DB_URL=file:///tmp/adim.db
# db or vault
ALLOCATION_STORE=db
VAULT_URL=https://secrets.egi.eu
# Optional Fernet keys; configure outside the repository.
# DB_ENCRYPT_KEY encrypts DB allocations (including public allocations).
# VAULT_ENCRYPT_KEY encrypts private allocations before writing them to Vault.
# DB_ENCRYPT_KEY=<Fernet key>
# VAULT_ENCRYPT_KEY=<Fernet key>
# Public allocations can be managed only by these OIDC subjects.
#PUBLIC_ALLOCATIONS_ADMINS="admin-subject-1,admin-subject-2"
#ROOT_PATH=/adim
# git or rc
APPLICATIONS_STORE=git
# In case of git, the repository where to store the applications
APPLICATIONS_REPO="https://github.com/grycap/tosca/blob/eosc_lot1/templates/"
# In case of RC, the URL of the Resource Catalog API
RESOURCE_CATALOG="https://providers.sandbox.eosc-beyond.eu/api/public"
# Optional static test Bearer tokens (never enable in production).
#ADMIN_TOKEN=<long random admin test token>
#USER_TOKEN=<long random user test token>
# Comma separated list of OIDC issuers to accept tokens from
OIDC_ISSUERS="https://aai.egi.eu/auth/realms/egi,https://aai-demo.egi.eu/auth/realms/egi,https://proxy.aai.open-science-cloud.ec.europa.eu"
# Audience to check in the token, if not specified, no audience check will be performed
#OIDC_AUDIENCE=adim
# Comma separated list of groups to check in the token, if not specified, no group check will be performed
#OIDC_GROUPS="eos-beyond.eu"
# Comma separated list of user subs that will be admin of this instance
# (for public allocation creation)
#ADMIN_USERS=""

Or you can set an .env file as the .env.example provided.

Public allocations are stored separately in the public_allocations DB table/collection, regardless of ALLOCATION_STORE. Without DB_ENCRYPT_KEY, DB data remains unencrypted. When private allocations use Vault, they continue to use that backend; VAULT_ENCRYPT_KEY is optional and encrypts the payload before it reaches Vault. Existing data must be migrated before changing encryption mode or key.

Usage

To run the server, please execute the following from the root directory:

pip3 install -r requirements.txt
python3 -m adim

and open your browser to here:

http://localhost:8080/

Running with Docker

To run the server on a Docker container, please execute the following from the root directory:

# building the image
docker build -t adim .

# starting up a container
docker run -p 8080:8080 adim

# starting up a setting the IM_URL variable
docker run -p 8080:8080 -e IM_URL=https://im.egi.eu/im ghcr.io/grycap/adim

About

Application Deployment management with the Infrastructure Manager

Topics

admeoscim

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

0 stars

Watchers

4 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.