Skip to content

Commit 90435f3

Browse files
authored
Merge pull request #767 from TNO/prepare_for_release
Prepare for release.
2 parents f918f78 + e98776e commit 90435f3

16 files changed

Lines changed: 46 additions & 46 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The easiest way to start a Knowledge Engine runtime is with Docker:
7676
```bash
7777
docker run \
7878
-p 8280:8280 \
79-
ghcr.io/tno/knowledge-engine/smart-connector:1.3.2
79+
ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
8080
```
8181

8282
The Knowledge Engine runtime is now available to use via the REST API at base URL `http://localhost:8280/rest` on your host machine.
@@ -98,7 +98,7 @@ docker run \
9898
-p 8081:8081 \
9999
-e KD_URL=https://knowledge-directory.example.org \
100100
-e KE_RUNTIME_EXPOSED_URL=https://your-domain.example.org:8081 \
101-
ghcr.io/tno/knowledge-engine/smart-connector:1.3.2
101+
ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
102102
```
103103

104104
### Running with Java
@@ -116,7 +116,7 @@ export KE_RUNTIME_EXPOSED_URL=https://your-domain.example.org:8081
116116
# Start it. The argument (8280) denotes the port number at which it
117117
# will listen for connections to the Knowledge Engine REST API.
118118
java -jar -Dorg.slf4j.simpleLogger.logFile=smart-connector.log \
119-
smart-connector-rest-dist-1.3.2-with-dependencies.jar 8280
119+
smart-connector-rest-dist-1.4.0-with-dependencies.jar 8280
120120
```
121121

122122
The JAR can be retrieved by compiling the project:
@@ -227,7 +227,7 @@ These are instructions on what to do when we release a new version of the knowle
227227
The code conventions of the knowledge-engine can be found in the `/ide` folder in the Eclipse IDE format. The format can often also be imported in other Java IDEs like IntelliJ, VSCode or Netbeans.
228228

229229
## (advanced) Administering a Knowledge Engine runtime
230-
To start a new instance of the REST API knowledge engine version 1.3.2, make sure you have `git checkout 1.3.2` the tag `1.3.2`. Now make sure you run the `mvn clean install` command successfully from the root of the repository.
230+
To start a new instance of the REST API knowledge engine version 1.4.0, make sure you have `git checkout 1.4.0` the tag `1.4.0`. Now make sure you run the `mvn clean install` command successfully from the root of the repository.
231231

232232
### Starting the Knowledge Engine in local mode
233233
When no additional configuration parameters are provided, the Knowledge Engine will by default run in local mode. This means you can create multiple smart connectors that can communicate with each other through the REST API, but the Knowledge Engine will not connect to a knowledge directory and will not be able to connect with smart connectors running in other runtimes.
@@ -241,13 +241,13 @@ cd smart-connector-rest-dist/target
241241
Finally, start the server (note that you can configure a log file by including the `-Dorg.slf4j.simpleLogger.logFile=ke.log` system property to the JVM):
242242

243243
```bash
244-
java -Dorg.slf4j.simpleLogger.logFile=ke.log -cp "smart-connector-rest-dist-1.3.2.jar:dependency/*" eu.knowledge.engine.rest.Main 8280
244+
java -Dorg.slf4j.simpleLogger.logFile=ke.log -cp "smart-connector-rest-dist-1.4.0.jar:dependency/*" eu.knowledge.engine.rest.Main 8280
245245
```
246246

247247
If you want to run in it in the background, you can use the `nohup` linux command (which does not use the simpleLogger configuration system property, but redirects the standard err/out):
248248

249249
```bash
250-
nohup java -cp "smart-connector-rest-dist-1.3.2.jar:dependency/*" eu.knowledge.engine.rest.Main 8280 > ke.log
250+
nohup java -cp "smart-connector-rest-dist-1.4.0.jar:dependency/*" eu.knowledge.engine.rest.Main 8280 > ke.log
251251
```
252252

253253
### Starting the Knowledge Engine in distributed mode

admin-ui/src/main/resources/openapi-admin-ui.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ info:
55
description:
66
This API provides information on Knowledge Engine Runtimes (todo), Smart Connectors, Knowledge Bases, and Knowledge
77
Interactions in a Knowledge Engine Network.
8-
version: 1.3.2
8+
version: 1.4.0
99

1010
paths:
1111
/rest/admin/sc/all/{include-meta}:

docs/docs/distributed_mode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ First of all, you need to start a knowledge directory. The desired port number f
2020
```bash
2121
cd knowledge-directory/target/
2222

23-
java -Dorg.slf4j.simpleLogger.logFile=kd.log -cp "knowledge-directory-1.3.2.jar:dependency/*" eu.knowledge.engine.knowledgedirectory.Main 8080
23+
java -Dorg.slf4j.simpleLogger.logFile=kd.log -cp "knowledge-directory-1.4.0.jar:dependency/*" eu.knowledge.engine.knowledgedirectory.Main 8080
2424
```
2525

2626
The `nohup` command can be used to run the process in the background. On overview of the registered Knowledge Engine runtimes can be found on `http://localhost:8080/ker/` (or another host or port if you desire).
@@ -43,7 +43,7 @@ export KD_URL=http://localhost:8080
4343
export KE_RUNTIME_EXPOSED_URL=http://localhost:8081
4444
export KE_RUNTIME_PORT=8081
4545

46-
java -Dorg.slf4j.simpleLogger.logFile=ke.log -cp "smart-connector-rest-dist-1.3.2.jar:dependency/*" eu.knowledge.engine.rest.Main 8280
46+
java -Dorg.slf4j.simpleLogger.logFile=ke.log -cp "smart-connector-rest-dist-1.4.0.jar:dependency/*" eu.knowledge.engine.rest.Main 8280
4747
```
4848

4949
### Using Basic Authentication to secure data exchange

docs/docs/get-started/knowledge-directory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ You can start the Knowledge Directory on ports 8080 with the available JAR:
88
```bash
99
cd knowledge-directory/target/
1010

11-
java -Dorg.slf4j.simpleLogger.logFile=kd.log -cp "knowledge-directory-1.3.2.jar:dependency/*" eu.knowledge.engine.knowledgedirectory.Main 8080
11+
java -Dorg.slf4j.simpleLogger.logFile=kd.log -cp "knowledge-directory-1.4.0.jar:dependency/*" eu.knowledge.engine.knowledgedirectory.Main 8080
1212
```
1313
You can of course run the Knowledge Directory on another port by replacing 8080 by your preferred port number.

docs/docs/get-started/smart-connector.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import TabItem from '@theme/TabItem';
99
This page describes how to connect to an (existing) Knowledge Network using a Smart Connector.
1010

1111
To connect to a Knowledge Network, you need a Knowledge Engine Runtime (KER).
12-
Every KER in distributed mode consists of two APIs: [Knowledge Engine Developer REST API](https://github.com/TNO/knowledge-engine/blob/1.3.2/smart-connector-rest-server/src/main/resources/openapi-sc.yaml) and the [Inter-Knowledge Engine Runtime API](https://github.com/TNO/knowledge-engine/blob/1.3.2/smart-connector/src/main/resources/openapi-inter-ker.yaml).
12+
Every KER in distributed mode consists of two APIs: [Knowledge Engine Developer REST API](https://github.com/TNO/knowledge-engine/blob/1.4.0/smart-connector-rest-server/src/main/resources/openapi-sc.yaml) and the [Inter-Knowledge Engine Runtime API](https://github.com/TNO/knowledge-engine/blob/1.4.0/smart-connector/src/main/resources/openapi-inter-ker.yaml).
1313
The former is started on port `8280` by default, and you use this API to register your Knowledge Base and Knowledge Interactions.
1414
The latter API is meant for internal communication between KERs and you do not need to use it yourself.
1515
However, you do need to make sure this API is reachable for other KERs in the Knowledge Network.
@@ -62,7 +62,7 @@ export KD_URL=http://localhost:8080
6262
export KE_RUNTIME_EXPOSED_URL=http://localhost:8081
6363
export KE_RUNTIME_PORT=8081
6464

65-
java -Dorg.slf4j.simpleLogger.logFile=ke.log -cp "smart-connector-rest-dist-1.3.2.jar:dependency/*" eu.knowledge.engine.rest.Main 8280
65+
java -Dorg.slf4j.simpleLogger.logFile=ke.log -cp "smart-connector-rest-dist-1.4.0.jar:dependency/*" eu.knowledge.engine.rest.Main 8280
6666
```
6767

6868
</TabItem>

examples/anomaly-detection/docker-compose.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
services:
22
knowledge-directory:
3-
image: ghcr.io/tno/knowledge-engine/knowledge-directory:1.3.2
3+
image: ghcr.io/tno/knowledge-engine/knowledge-directory:1.4.0
44

55
#ANOMALY DETECTION
66
anomaly-detection-ker:
7-
image: ghcr.io/tno/knowledge-engine/smart-connector:1.3.2
7+
image: ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
88
environment:
99
KE_RUNTIME_PORT: 8081
1010
KE_RUNTIME_EXPOSED_URL: http://anomaly-detection-ker:8081
@@ -30,7 +30,7 @@ services:
3030
3131
#SENSOR1
3232
sensor1-ker:
33-
image: ghcr.io/tno/knowledge-engine/smart-connector:1.3.2
33+
image: ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
3434
environment:
3535
KE_RUNTIME_PORT: 8081
3636
KE_RUNTIME_EXPOSED_URL: http://sensor1-ker:8081
@@ -64,7 +64,7 @@ services:
6464
6565
#SENSOR2
6666
sensor2-ker:
67-
image: ghcr.io/tno/knowledge-engine/smart-connector:1.3.2
67+
image: ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
6868
environment:
6969
KE_RUNTIME_PORT: 8081
7070
KE_RUNTIME_EXPOSED_URL: http://sensor2-ker:8081
@@ -98,7 +98,7 @@ services:
9898
9999
#SENSOR3
100100
sensor3-ker:
101-
image: ghcr.io/tno/knowledge-engine/smart-connector:1.3.2
101+
image: ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
102102
environment:
103103
KE_RUNTIME_PORT: 8081
104104
KE_RUNTIME_EXPOSED_URL: http://sensor3-ker:8081
@@ -130,7 +130,7 @@ services:
130130
}
131131
]
132132
building-ker:
133-
image: ghcr.io/tno/knowledge-engine/smart-connector:1.3.2
133+
image: ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
134134
environment:
135135
KE_RUNTIME_PORT: 8081
136136
KE_RUNTIME_EXPOSED_URL: http://building-ker:8081
@@ -164,7 +164,7 @@ services:
164164
}
165165
]
166166
converter-ker:
167-
image: ghcr.io/tno/knowledge-engine/smart-connector:1.3.2
167+
image: ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
168168
environment:
169169
KE_RUNTIME_PORT: 8081
170170
KE_RUNTIME_EXPOSED_URL: http://converter-ker:8081

examples/authentication/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ services:
99
depends_on:
1010
- knowledge-directory
1111
knowledge-directory:
12-
image: ghcr.io/tno/knowledge-engine/knowledge-directory:1.3.2
12+
image: ghcr.io/tno/knowledge-engine/knowledge-directory:1.4.0
1313
runtime-1:
14-
image: ghcr.io/tno/knowledge-engine/smart-connector:1.3.2
14+
image: ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
1515
environment:
1616
KE_RUNTIME_PORT: 8081 # The port that the KE uses to listen for inter-KE-runtime communication.
1717
KD_URL: http://thisisausername:thisisapassword@nginx/kd
1818
KE_RUNTIME_EXPOSED_URL: http://thisisausername:thisisapassword@nginx/ker1
1919
runtime-2:
20-
image: ghcr.io/tno/knowledge-engine/smart-connector:1.3.2
20+
image: ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
2121
environment:
2222
KE_RUNTIME_PORT: 8081 # The port that the KE uses to listen for inter-KE-runtime communication.
2323
KD_URL: http://thisisausername:thisisapassword@nginx/kd

examples/edc-example/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ One knowledge base asks for information and the other two provide an answer to t
5353
### Executing the example
5454
Execute the following steps to run the example:
5555
1. In this project, execute a `mvn clean install`.
56-
2. In the `knowledge-directory` directory in this project, execute `docker build . -t testkd:1.3.3-SNAPSHOT`.
57-
3. In the `smart-connector-rest-dist` directory in this project, execute `docker build . -t testsc:1.3.3-SNAPSHOT`.
56+
2. In the `knowledge-directory` directory in this project, execute `docker build . -t testkd:1.4.0`.
57+
3. In the `smart-connector-rest-dist` directory in this project, execute `docker build . -t testsc:1.4.0`.
5858
4. In the `examples/edc-example` directory in this project, execute `docker compose build`.
5959
5. In the `examples/edc-example` directory in this project, execute `docker compose up -d tke-edc-one tke-edc-two tke-edc-three`. This starts three EDC-IDS Connectors.
6060
6. Wait around 10 seconds to give the EDC Connectors time to finish setting up. Then, execute `docker compose up -d` to start three KERs, three linked Knowledge Bases and a Knowledge Directory.

examples/edc-example/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ services:
33
# This is the knowledge directory, facilitating discovery between different
44
# runtimes. It exposes its service over port 8282.
55
knowledge-directory:
6-
image: ghcr.io/tno/knowledge-engine/knowledge-directory:1.3.3-SNAPSHOT
6+
image: ghcr.io/tno/knowledge-engine/knowledge-directory:1.4.0
77
networks:
88
- tke-edc-manager_default
99

1010
# These services are seperate Knowledge Engine runtime, which can host
1111
# multiple smart connectors. Note that the REST API port is a DIFFERENT port
1212
# number than the ones configured below. It is still the default 8280.
1313
runtime-1:
14-
image: ghcr.io/tno/knowledge-engine/smart-connector:1.3.3-SNAPSHOT
14+
image: ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
1515
networks:
1616
- tke-edc-manager_default
1717
environment:
@@ -28,7 +28,7 @@ services:
2828
depends_on:
2929
- tke-edc-one
3030
runtime-2:
31-
image: ghcr.io/tno/knowledge-engine/smart-connector:1.3.3-SNAPSHOT
31+
image: ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
3232
networks:
3333
- tke-edc-manager_default
3434
environment:
@@ -45,7 +45,7 @@ services:
4545
depends_on:
4646
- tke-edc-two
4747
runtime-3:
48-
image: ghcr.io/tno/knowledge-engine/smart-connector:1.3.3-SNAPSHOT
48+
image: ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
4949
networks:
5050
- tke-edc-manager_default
5151
environment:

examples/multiple-runtimes/docker-compose.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@ services:
22
# This is the knowledge directory, facilitating discovery between different
33
# runtimes. It exposes its service over port 8282.
44
knowledge-directory:
5-
image: ghcr.io/tno/knowledge-engine/knowledge-directory:1.3.2
5+
image: ghcr.io/tno/knowledge-engine/knowledge-directory:1.4.0
66

77
# These services are seperate Knowledge Engine runtime, which can host
88
# multiple smart connectors. Note that the REST API port is a DIFFERENT port
99
# number than the ones configured below. It is still the default 8280.
1010
runtime-1:
11-
image: ghcr.io/tno/knowledge-engine/smart-connector:1.3.2
11+
image: ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
1212
environment:
1313
KE_RUNTIME_PORT: 8081 # The port that the KE uses to listen for inter-KE-runtime communication.
1414
KE_RUNTIME_EXPOSED_URL: http://runtime-1:8081 # The URL where the runtime is available for inter-runtime communication from the outside.
1515
KD_URL: http://knowledge-directory:8282
1616
runtime-2:
17-
image: ghcr.io/tno/knowledge-engine/smart-connector:1.3.2
17+
image: ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
1818
environment:
1919
KE_RUNTIME_PORT: 8081
2020
KE_RUNTIME_EXPOSED_URL: http://runtime-2:8081
2121
KD_URL: http://knowledge-directory:8282
2222
runtime-3:
23-
image: ghcr.io/tno/knowledge-engine/smart-connector:1.3.2
23+
image: ghcr.io/tno/knowledge-engine/smart-connector:1.4.0
2424
environment:
2525
KE_RUNTIME_PORT: 8081
2626
KE_RUNTIME_EXPOSED_URL: http://runtime-3:8081

0 commit comments

Comments
 (0)