1
- # ls-registration-server
1
+ # Lookup Service Server
2
2
Server to receive records from the clients and store in a database
3
3
4
4
# Deploying the server
@@ -7,15 +7,15 @@ The following environment variables are needed for the database connection.
7
7
8
8
DATABASE - elasticsearch or opensearch
9
9
10
- ElasticSearch
10
+ ** ElasticSearch**
11
11
1. ELASTIC_VERIFY_CERTS - True or False to verify certs
12
12
2. ELASTIC_CA_CERT - Path to CA cert if verify certs set to true
13
13
3. ELASTIC_HOST
14
14
4. ELASTIC_USER
15
15
5. ELASTIC_PASS
16
16
6. ELASTIC_INDEX
17
17
18
- OpenSearch
18
+ ** OpenSearch**
19
19
1. OS_VERIFY_CERTS
20
20
2. OS_CA_CERT
21
21
3. OS_HOST
@@ -24,17 +24,18 @@ The following environment variables are needed for the database connection.
24
24
6. OS_INDEX
25
25
26
26
# Note for Developers:
27
- 1. Schema for record validation
28
- ```
27
+
28
+ 1 . Schema for record validation
29
+ ```
29
30
lookup-service-client/pslookup/perfsonar-pslookup/schema/schema.json
30
- ```
31
- 2. Any modification to the schema will be reflected in the client package and server.
32
- 3. Changes in the mapping should be complimented with updates to the database mappings.
33
- ```
34
- lookup-service-server/app/mapping
35
- ```
36
- 4. Context for Docker build is the root of the respository since the server needs access to schema from the client.
37
- To build the docker image locally.
38
- ```
39
- docker build -f lookup-service-server/Dockerfile .
40
- ```
31
+ ```
32
+ 2 . Any modification to the schema will be reflected in the client package and server.
33
+ 3 . Changes in the mapping should be complimented with updates to the database mappings.
34
+ ```
35
+ lookup-service-server/app/mapping
36
+ ```
37
+ 4 . Context for Docker build is the root of the respository since the server needs access to schema from the client.
38
+ To build the docker image locally.
39
+ ```
40
+ docker build -f lookup-service-server/Dockerfile .
41
+ ```
0 commit comments