generated from NASA-PDS/template-repo-java
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env
120 lines (88 loc) · 5.61 KB
/
.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# -------------------------------------------------------------------------------------------------------
# This file is used with docker-compose.yml to specify a list of environment variables (key/value pairs)
# to be used when launching the containers via docker compose up.
#
# Update the following configurations with compatible values. Please check the README.md file for
# more instructions on updating these configurations.
# -------------------------------------------------------------------------------------------------------
# --------------------------------------------------------------------
# Elasticsearch
# --------------------------------------------------------------------
# Docker image of Elasticsearch/OpenSearch
ES_IMAGE=opensearchproject/opensearch:2.0.1
# Elasticsearch discovery mode
ES_DISCOVERY_TYPE=single-node
# --------------------------------------------------------------------
# Registry API
# --------------------------------------------------------------------
# Docker image of the Registry API
REG_API_IMAGE=nasapds/registry-api-service:1.5.0
# Absolute path of the application.properties file to be used for the Registry API
REG_API_APP_PROPERTIES_FILE=./default-config/application.properties
# --------------------------------------------------------------------
# Registry Loader
# --------------------------------------------------------------------
# Docker image of the Registry Loader
REG_LOADER_IMAGE=nasapds/registry-loader:0.4.1
# --------------------------------------------------------------------
# Registry Sweepers
# --------------------------------------------------------------------
REG_SWEEPERS_IMAGE=nasapds/registry-sweepers:1.2.1
PROV_CREDENTIALS={"admin":"admin"}
# --------------------------------------------------------------------
# Common Configuartions
# --------------------------------------------------------------------
# Absolute path of the Harvest data directory in the host machine (E.g.: `./test-data/registry-harvest-data`).
# If the Registry Harvest CLI is executed with the option to download test data, then this directory will be
# cleaned-up and populated with test data. Make sure to have the same `HARVEST_DATA_DIR` value set in the
# environment variables of the Registry Harvest Service, Registry Crawler Service and Registry Harvest CLI.
# Also, this `HARVEST_DATA_DIR` location should be accessible from the docker containers of the Registry Harvest Service,
# Registry Crawler Service and Registry Harvest CLI.
HARVEST_DATA_DIR=./test-data/registry-harvest-data
# don't change the directory unless you are debugging one of the component
# if you debug one of the component, make this directory the same as the host's dir
# MUST be an absolute path
CONTAINER_HARVEST_DATA_DIR=/data
#CONTAINER_HARVEST_DATA_DIR=/Users/loubrieu/git/registry/docker/test-data/registry-harvest-data
# Elasticsearch URL (the host name is the Elasticsearch service name specified in the docker compose)
ES_URL=https://elasticsearch:9200
# Docker image of the Registry API
REG_API_URL=http://registry-api:8080
# Absolute path of the Harvest job file in the host machine (E.g.: ./default-config/harvest-job-config.xml)
HARVEST_JOB_CONFIG_FILE=./default-config/harvest-job-config.xml
# URL to download the test data to Harvest (only required, if executing with test data)
TEST_DATA_URL=https://github.com/NASA-PDS/registry-ref-data/releases/download/Latest/custom-datasets.tar.gz
# The lidvid of the test data, which is used to set the archive status (only required, if executing with test data)
TEST_DATA_LIDVID=urn:nasa:pds:mars2020.spice::1.0 urn:nasa:pds:mars2020.spice::2.0 urn:nasa:pds:mars2020.spice::3.0
# --------------------------------------------------------------------
# Registry Harvest Service
# --------------------------------------------------------------------
# Docker image of the Registry Harvest Service
REGISTRY_HARVEST_SERVICE_IMAGE=nasapds/registry-harvest-service:1.2.1
# Absolute path of the Registry Harvest Service configuration file in the host machine (E.g.: /tmp/cfg/harvest-server.cfg)
HARVEST_SERVER_CONFIG_FILE=./default-config/harvest-server.cfg
# --------------------------------------------------------------------
# Registry Crawler Service
# --------------------------------------------------------------------
# Docker image of the Registry Crawler Service
REGISTRY_CRAWLER_SERVICE_IMAGE=nasapds/registry-crawler-service:1.1.0
# Absolute path of the Registry Crawler Service configuration file in the host machine (E.g.: /tmp/cfg/crawler-server.cfg)
CRAWLER_SERVER_CONFIG_FILE=./default-config/crawler-server.cfg
# --------------------------------------------------------------------
# Registry Harvest CLI
# --------------------------------------------------------------------
# Docker image of the Registry Harvest CLI
REGISTRY_HARVEST_CLI_IMAGE=nasapds/registry-harvest-cli:1.1.0
# Absolute path of the Registry Harvest CLI configuration file in the host machine (E.g.: /tmp/conf/harvest-client.cfg)
HARVEST_CLIENT_CONFIG_FILE=./default-config/harvest-client.cfg
# --------------------------------------------------------------------
# Postman Collection Test
# --------------------------------------------------------------------
# Docker image of Newman (a command-line collection runner for Postman)
POSTMAN_NEWMAN_IMAGE=postman/newman
# Absolute path of the Postman collection to be executed with the test data (E.g.: ./postman/postman_collection.json)
POSTMAN_COLLECTION_FILE=./postman/postman_collection.json
# --------------------------------------------------------------------
# ProxyCrypt
# --------------------------------------------------------------------
PROXYCRYPT_IMAGE=nasapds/proxycrypt