You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/basics/configuration.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ The `core` configuration block contains properties not related to the implementa
44
44
| assetConnectionReadTimeout<br>*(optional)*| Long | Timeout in ms for reading all asset connections for a single AAS command | 5000 |
45
45
| assetConnectionRetryInterval<br>*(optional)*| Long | Interval in ms in which to retry establishing asset connections | 1000 |
46
46
| assetConnectionWriteMaxThreadPoolSize<br>*(optional)*| Integer | Size of thread pool used to write to asset connections | 1000 |
47
+
| callbackAddress<br>*(optional)*| String | The external URI the FA³ST Service is reachable from. Used in registry synchronization and cloud events message bus. ||
47
48
| minInflateRatio<br>*(optional)*| Double | Ratio between de- and inflated bytes to detect zipbomb when loading AASX files | 0.001 |
48
49
| operationTimeout<br>*(optional)*| Long | Timeout in ms for executing AAS operations. Set to 0 for no timeout. | 3600000 |
49
50
| requestHandlerThreadPoolSize<br>*(optional)*| Integer | Number of concurrent thread that can execute API requests | 2 |
| callbackAddress<br>*(optional)*| String | The callback URI to be used for automated registration of descriptors at a registry. **Overrides `hostname`.** A descriptor will contain the following `href`-endpoints: [{callbackAddress}, {callbackAddress}/{id}]||
52
51
| certificate<br>*(optional)*|[CertificateInfo](#providing-certificates-in-configuration)| The HTTPS certificate to use.<br> | self-signed certificate |
Copy file name to clipboardExpand all lines: docs/source/interfaces/message-bus.md
+60Lines changed: 60 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,3 +161,63 @@ For deserialization of events the class `JsonEventDeserializer` in module `dataf
161
161
//...
162
162
}
163
163
```
164
+
165
+
166
+
167
+
## CloudEvents
168
+
169
+
This implementation of the `MessageBus` interface publishes CloudEvent messages via MQTT by using an externally hosted MQTT broker.
170
+
171
+
### Topics & Payload
172
+
173
+
Each message type is published on its own topic in the form of `[topicPrefix]`.
174
+
The payload is a JSON serialization of a CloudEvent as specified in the async-aas specification: https://factory-x-contributions.github.io/async-aas-helm
175
+
176
+
### Configuration
177
+
178
+
:::{table} Configuration properties of MQTT MessageBus.
179
+
| Name | Allowed Value | Description | Default Value |
| host<br> | String | The host name of the MQTT server with scheme, port and path segments if relevant. ||
182
+
| clientId<br>*(optional)*| String | ClientId to use when connecting to the MQTT server. This clientId will only be used to identify as a MQTT publisher, not for oauth-flows or as a username. | FA3ST MQTT MessageBus |
183
+
| username<br>*(optional)*| String | Username used to connect to the MQTT server. ||
184
+
| password<br>*(optional)*| String | Password used to connect to the MQTT server. ||
185
+
| identityProviderUrl<br>*(optional)*| String | Oauth2 IdP URL. Obtained tokens are placed as the MQTT broker password, the username is obtained from the username config. Token refresh happens automatically. ||
186
+
| oauth2ClientId<br>*(optional)*| String | Oauth2 client id to use when retrieving an oauth2-token from the IdP. ||
187
+
| oauth2ClientSecret<br>*(optional)*| String | Oauth2 client secret to use when retrieving an oauth2-token from the IdP. ||
188
+
| topicPrefix<br>*(optional)*| String | Prefix to use for the topic names. | noauth |
189
+
| slimEvents<br>*(optional)*| boolean | Whether the full referable is sent in a CloudEvent's data-field. If true, the data-field will be empty. | true |
190
+
| eventTypePrefix<br>*(optional)*| String | Prefix to use in the CloudEvents type-field. Should end with a ".". | io.admin-shell.events.v1. |
191
+
| dataSchemaPrefix<br>*(optional)*| String | Prefix to use in the CloudEvents dataschema-field. Should end with a "/". |https://api.swaggerhub.com/domains/Plattform_i40/Part1-MetaModel-Schemas/V3.1.0#/components/schemas/|
192
+
| clientCertificate<br>*(optional)*|[CertificateInfo](#providing-certificates-in-configuration)| The client certificate to use. If not set, SSL will be disabled. ||
193
+
:::
194
+
195
+
```{code-block} json
196
+
:caption: Example configuration for MQTT MessageBus.
Copy file name to clipboardExpand all lines: endpoint/http/src/test/java/de/fraunhofer/iosb/ilt/faaast/service/endpoint/http/AbstractHttpEndpointTest.java
0 commit comments