Skip to content

Repository files navigation

Build Status

Application Directory POC

This is NOT a ratified specification but rather a tool to evaluate both the use cases and technology implmentations.

Overview

This project is a POC focused on creation of an Application Directory service as defined through initial proposals and ongoing discussions in the Application Directory FDC3 working group. The purpose of this POC is to:

Build

Compilation requires jdk 8+ and maven

Build:

#git clone..*:
#cd cloned_directory
#./make

Directory structure

  • appd-service: The POC application directory service which implements the server stubs and exposes the interfaces. For the time being it will store all application data on local disk in JSON format.

Run it in Docker!

The default listening port will be 8080.

Consider mounting a local filesystem to /json (-v (local_json_dir):/json) to recover json data.

# clone..*
# cd cloned_directory
# ./runAppDInDocker

Altering Configuration

Configuration can be provided through system properties, property file or environment variables. The "Configuration" system will search in the same order. The following are configurations properties that can be set. Note: all serialized files will be written to local disk regardless of S3 configuration.

PropertyENV NamedefaultDescription
config.fileCONFIG_FILENONEConfiguration properties file to load at startup. Not required to run
json.users.dirJSON_USERS_DIR"json/users"Directory to store serialized user json files
json.apps.dirJSON_APPS_DIR"json/apps"Directory to store serialized application json files
war.fileWAR_FILE"lib/appd-service.war"War file for AppD POD Service
http.portHTTP_PORT"8080"Default interface listening port
s3.enabledS3_ENABLED"false"Enable AWS S3 support
s3.access.keyS3_ACCESS_KEYNONEAWS S3 AccessKey
s3.key.idS3_KEY_IDNONEAWS Key
s3.regionS3_REGION"us-east-1"AWS region to use
s3.bucketS3_BUCKETNONES3 bucket name (do not prefix with s3:// )
s3.json.prefixS3_JSON_PREFIXNONEPrefix to add to bucket where json files are stored
s3.json.users.prefixS3_JSON_USERS_PREFIX"json/users"Prefix to add to bucket name where serialized json user files are stored
s3.json.apps.prefixS3_JSON_APPS_PREFIX"json/applications"Prefix to add to bucket name where serialized application definitions are stored

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages