Skip to content

Commit 999b7d2

Browse files
committed
Update Stellio.
1 parent 8178cf2 commit 999b7d2

File tree

4 files changed

+16
-20
lines changed

4 files changed

+16
-20
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ EXPOSED_PORT=1026
44

55
# Orion LD variables
66
ORION_LD_PORT=1026
7-
ORION_LD_VERSION=1.7.1
7+
ORION_LD_VERSION=1.8.0
88

99
# Scorpio variables
1010
SCORPIO_PORT=9090

FIWARE Working with @context.postman_collection.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
""
127127
]
128128
},
129-
"description": "New context data entities can be created by making a POST request to the `/ngsi-ld/v1/entities` endpoint and supply an `@context` along with structured **NGSI-LD** data.\n\nThe first request will take some time, as the context broker must navigate and load all of the files mentioned in the\n`@context`.\n\nSince the `Content-Type: application/ld+json` the `@context` is supplied in the body of the request. As with all **NGSI-LD** interactions, the core **NGSI-LD** `@context` ([`https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld`](https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld) is implicitly included as well.)\n\nThis means that the actual `@context` is:\n\n```jsonld\n{\n \"@context\": [\n \"http://context-provider:3000/data-models/ngsi-context.jsonld\",\n \"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld\"\n ]\n}\n```\n\nwith the core `@context` being processed **last** and therefore overriding any terms previously defined with the same `@id`."
129+
"description": "New context data entities can be created by making a POST request to the `/ngsi-ld/v1/entities` endpoint and supply an `@context` along with structured **NGSI-LD** data.\n\nThe first request will take some time, as the context broker must navigate and load all of the files mentioned in the\n`@context`.\n\nSince the `Content-Type: application/ld+json` the `@context` is supplied in the body of the request. As with all **NGSI-LD** interactions, the core **NGSI-LD** `@context` ([`https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.8.jsonld`](https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.8.jsonld) is implicitly included as well.)\n\nThis means that the actual `@context` is:\n\n```jsonld\n{\n \"@context\": [\n \"http://context-provider:3000/data-models/ngsi-context.jsonld\",\n \"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.8.jsonld\"\n ]\n}\n```\n\nwith the core `@context` being processed **last** and therefore overriding any terms previously defined with the same `@id`."
130130
},
131131
"response": []
132132
},
@@ -245,7 +245,7 @@
245245
}
246246
]
247247
},
248-
"description": "This example returns the data of all `Building` entities within the context data The `type` parameter is mandatory for\nNGSI-LD and is used to filter the response. The Accept HTTP header is needed to retrieve JSON-LD content in the response body.\n\nSince no explicit `@context` was sent in the request, the response returns the Core `@context` by default (`https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld`) and\nall attributes are expanded whenever possible.\n\n- `id`, `type`, `location` and `name`are defined in the core context and are not expanded.\n- `address` has been mapped to `http://schema.org/address`\n- `category` has been mapped to `https://uri.fiware.org/ns/data-models#category`\n\nNote that if an attribute has not been not associated to an FQN when the entity was created, the short name will\n**always** be displayed."
248+
"description": "This example returns the data of all `Building` entities within the context data The `type` parameter is mandatory for\nNGSI-LD and is used to filter the response. The Accept HTTP header is needed to retrieve JSON-LD content in the response body.\n\nSince no explicit `@context` was sent in the request, the response returns the Core `@context` by default (`https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.8.jsonld`) and\nall attributes are expanded whenever possible.\n\n- `id`, `type`, `location` and `name`are defined in the core context and are not expanded.\n- `address` has been mapped to `http://schema.org/address`\n- `category` has been mapped to `https://uri.fiware.org/ns/data-models#category`\n\nNote that if an attribute has not been not associated to an FQN when the entity was created, the short name will\n**always** be displayed."
249249
},
250250
"response": []
251251
},

docker-compose/stellio.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ services:
99
- SPRING_PROFILES_ACTIVE=docker
1010
ports:
1111
- "${EXPOSED_PORT}:${STELLIO_PORT}"
12+
networks:
13+
- default
1214

1315
search-service:
1416
container_name: stellio-search-service
@@ -32,6 +34,8 @@ services:
3234
- APPLICATION_PAGINATION_LIMIT-MAX=1000
3335
ports:
3436
- 8083:8083
37+
networks:
38+
- default
3539
restart: always
3640
depends_on:
3741
postgres:
@@ -43,7 +47,7 @@ services:
4347
container_name: stellio-subscription-service
4448
labels:
4549
org.fiware: 'tutorial'
46-
image: quay.io/fiware/stellio-subscription-service:${STELLIO_DOCKER_TAG}
50+
image: quay.io/fiware/stellio-subscription-service:${STELLIO_DOCKER_TAG}
4751
environment:
4852
- SPRING_PROFILES_ACTIVE=docker
4953
- SPRING_R2DBC_URL=r2dbc:postgresql://postgres/stellio_subscription
@@ -61,6 +65,8 @@ services:
6165
- APPLICATION_PAGINATION_LIMIT-MAX=1000
6266
ports:
6367
- 8085:8084
68+
networks:
69+
- default
6470
restart: always
6571
depends_on:
6672
postgres:
@@ -71,10 +77,12 @@ services:
7177
kafka:
7278
labels:
7379
org.fiware: 'tutorial'
74-
image: confluentinc/cp-kafka:7.3.1
80+
image: confluentinc/cp-kafka:7.6.0
7581
container_name: kafka
7682
ports:
7783
- 29092:29092
84+
networks:
85+
- default
7886
restart: always
7987
environment:
8088
KAFKA_BROKER_ID: 1
@@ -88,17 +96,14 @@ services:
8896
KAFKA_INTER_BROKER_LISTENER_NAME: 'PLAINTEXT'
8997
KAFKA_CONTROLLER_LISTENER_NAMES: 'CONTROLLER'
9098
KAFKA_LOG4J_ROOT_LOGLEVEL: INFO
91-
volumes:
92-
- ./stellio/kafka/update_run.sh:/tmp/update_run.sh
93-
command: "bash -c 'if [ ! -f /tmp/update_run.sh ]; then echo \"ERROR: Did you forget the update_run.sh file that came with this docker-compose.yml file?\" && exit 1 ; else /tmp/update_run.sh && /etc/confluent/docker/run ; fi'"
99+
CLUSTER_ID: NjExODZhMWVjMzllMTFlZm
94100

95101

96102
# Databases
97103
postgres:
98104
labels:
99105
org.fiware: 'tutorial'
100106
image: stellio/stellio-timescale-postgis:${STELLIO_TIMESCALE_POSTGIS}
101-
102107
hostname: postgres
103108
container_name: db-postgres
104109
environment:
@@ -109,6 +114,8 @@ services:
109114
- ACCEPT_TIMESCALE_TUNING=TRUE
110115
ports:
111116
- 5432:5432
117+
networks:
118+
- default
112119
volumes:
113120
- postgres-db:/var/lib/postgresql
114121
healthcheck:

docker-compose/stellio/kafka/update_run.sh

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)