Skip to content

Commit a327a71

Browse files
author
John Darrington
committed
Merge branch 'development' into 'master'
1.0 See merge request b650/Deep-Lynx!361
2 parents 8c7b327 + 31755ad commit a327a71

File tree

128 files changed

+5424
-1484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+5424
-1484
lines changed

.docker-env

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ TIMESCALEDB_ENABLED=true
55
WAIT_HOSTS=rabbitmq:5672
66

77
# valid options are blank (defaults to memory), memory, or redis
8-
CACHE_PROVIDER=memory
8+
CACHE_PROVIDER=redis
99
# default time in seconds
1010
CACHE_DEFAULT_TTL=21600
1111
# redis connection string - e.g redis://user:[email protected]:6379/
12-
CACHE_REDIS_CONNECTION_STRING=
12+
CACHE_REDIS_CONNECTION_STRING=redis://redis:6379
1313

1414
# debug,info,warn,error,silent
1515
LOG_LEVEL=debug

.env-sample

+3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ MAX_REQUEST_BODY_SIZE=50
99
# there are various processes that look for other compiled typescript files
1010
PROJECT_DIR=./dist
1111

12+
# whether or not to use the server instance to also manage the jobs
13+
RUN_JOBS=true
14+
1215
# comma separated CORs origins, defaults to *
1316
CORS_ORIGIN=
1417

.github/workflows/build-dev.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Build Development
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the "main" branch
8+
push:
9+
branches: [ "development" ]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15+
jobs:
16+
# This workflow contains a single job called "build"
17+
build:
18+
# The type of runner that the job will run on
19+
runs-on: [ self-hosted ]
20+
container:
21+
image: gcr.io/kaniko-project/executor:debug
22+
23+
# Steps represent a sequence of tasks that will be executed as part of the job
24+
steps:
25+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26+
- uses: actions/checkout@v3
27+
28+
# Runs a set of commands using the runners shell
29+
- name: Build & Push via kaniko
30+
run: |
31+
mkdir -p /kaniko/.docker
32+
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
33+
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY/$CI_REGISTRY_PATH/deep-lynx-dev:latest"

API Documentation/Core.swagger_collection.yaml

+35-2
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,9 @@ paths:
496496
content:
497497
application/json:
498498
schema:
499-
$ref: '#/components/schemas/Generic200Response'
499+
type: array
500+
items:
501+
$ref: '#/components/schemas/Node'
500502
deprecated: false
501503
x-codegen-request-body-name: Body
502504
'/containers/{container_id}/graphs/nodes/{node_id}':
@@ -1117,7 +1119,9 @@ paths:
11171119
content:
11181120
application/json:
11191121
schema:
1120-
$ref: '#/components/schemas/Generic200Response'
1122+
type: array
1123+
items:
1124+
$ref: '#/components/schemas/Edge'
11211125
description: 'This endpoint will attempt to create a connection between two nodes. You can either pass in the node''s Deep Lynx IDs, or the node''s original id, metatype id, and data source id to create these edges.'
11221126
requestBody:
11231127
content:
@@ -4804,6 +4808,35 @@ paths:
48044808
'200':
48054809
description: OK
48064810
description: Publishes an ontology version
4811+
'/containers/{container_id}/import/datasources/{sourceID}/mappings/{mappingID}/copy/{originalMappingID}':
4812+
parameters:
4813+
- schema:
4814+
type: string
4815+
name: container_id
4816+
in: path
4817+
required: true
4818+
- schema:
4819+
type: string
4820+
name: sourceID
4821+
in: path
4822+
required: true
4823+
- schema:
4824+
type: string
4825+
name: mappingID
4826+
in: path
4827+
required: true
4828+
- schema:
4829+
type: string
4830+
name: originalMappingID
4831+
in: path
4832+
required: true
4833+
post:
4834+
summary: ''
4835+
operationId: CopyTransformations
4836+
responses:
4837+
'200':
4838+
description: OK
4839+
description: 'This endpoint copies transformations from the {originalMappingID} type mapping (final parameter) to the {mappingID} type mapping. This POST has NO body.'
48074840
components:
48084841
securitySchemes:
48094842
BearerAuth:

AdminWebApp/.env-sample

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ VUE_APP_DEEP_LYNX_API_URL=http://localhost:8090
22
VUE_APP_DEEP_LYNX_API_AUTH_METHOD=token
33
VUE_APP_APP_URL=http://localhost:8080
44
VUE_APP_TIME_SERIES_ENABLED=false
5+
VUE_APP_DATA_MANAGEMENT_ENABLED=false
56

67
# application URL created through Deep Lynx's Applications page
78
VUE_APP_DEEP_LYNX_APP_ID=root
9+
VUE_APP_BUNDLED_BUILD=false

0 commit comments

Comments
 (0)