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/adapters/nats.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -638,7 +638,7 @@ If a Password is configured then the Username must be configured as well.
638
638
While authentication restricts the number of clients that can connect, TLS can be employed to encrypt traffic between the client and server, verifying the server's identity. Furthermore, in the most secure version of TLS (NATS), the server can be configured to verify the client's identity, thereby authenticating it. Upon initiating TLS mode, a nats-server will mandate that all clients connect using TLS.
639
639
Additionally, if configured to utilize TLS, client libraries will fail to establish connections to servers without TLS.
Copy file name to clipboardExpand all lines: docs/adapters/pccc.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -372,7 +372,7 @@ The PcccSourceConfiguration class defines which values (channels) to read from a
372
372
373
373
### AdapterController
374
374
375
-
The AdapterController property specifies the server identifier for the PLC controller to read from. This identifier must match a controller defined in the Controllers section of the PCCC adapter configuration referenced by the source's [ProtocolAdapter](../core/source-configuration#protocoladapter) attribute.
375
+
The AdapterController property specifies the server identifier for the PLC controller to read from. This identifier must match a controller defined in the Controllers section of the PCCC adapter configuration referenced by the source's [ProtocolAdapter](../core/source-configuration.md#protocoladapter) attribute.
Copy file name to clipboardExpand all lines: docs/core/channel-configuration.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -49,7 +49,7 @@ The ChangeFilter property specifies a reference to a [change filter](./change-fi
49
49
50
50
---
51
51
### ConditionFilter
52
-
The ConditionFilter property specifies a reference to a [condition filter](./condition-filter-configuration) that should be applied to the channel's values. It accepts a string value that must match an ID of a filter defined in the [ConditionFilters](./sfc-configuration.md#conditionfilters) section of the top-level SFC configuration. This filter evaluates whether values should be processed based on specified conditions. The property is optional - if not specified, no condition filtering will be applied to the channel. This allows for selective processing of values based on defined conditions.
52
+
The ConditionFilter property specifies a reference to a [condition filter](./condition-filter-configuration.md) that should be applied to the channel's values. It accepts a string value that must match an ID of a filter defined in the [ConditionFilters](./sfc-configuration.md#conditionfilters) section of the top-level SFC configuration. This filter evaluates whether values should be processed based on specified conditions. The property is optional - if not specified, no condition filtering will be applied to the channel. This allows for selective processing of values based on defined conditions.
Copy file name to clipboardExpand all lines: docs/core/schedule-configuration.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ Default is 1000
52
52
53
53
### Metadata
54
54
55
-
Optional key-value pairs that add contextual information to the schedule's output data. When specified, these metadata values are included at the schedule level and can be customized using the [ElementNames](sfc-configuration#elementnames) configuration's Metadata entry
55
+
Optional key-value pairs that add contextual information to the schedule's output data. When specified, these metadata values are included at the schedule level and can be customized using the [ElementNames](./sfc-configuration.md#elementnames) configuration's Metadata entry
>Note! <br> This permission set is too open for production and should be reduced. It is used here only for simplicity!
79
79
80
-
5. Furthermore we assume you have the ability to run the following docker container for testing the setup in your Greengrass environment:
80
+
5. Furthermore, we assume you have the ability to run the following docker container for testing the setup in your Greengrass environment:
81
81
82
82
```sh
83
83
docker run -d -p 4840:4840 ghcr.io/umati/sample-server:main
@@ -96,7 +96,7 @@ The complete setup will create components for the SFC modules:
96
96
- aws-iot-mqtt-target
97
97
- opcua
98
98
99
-
**The setup will configure all modules to be started in SFC's [`in-process mode`](../README.md#in-process-and-ipc-deployment-models)**. That means that all SFC modules run inside the sfc-main process on a single host.
99
+
**The setup will configure all modules to be started in SFC's [`in-process mode`](../../docs/sfc-running-adapters.md#running-protocol-adapters-in-process)**. That means that all SFC modules run inside the sfc-main process on a single host.
100
100
101
101
>Note! <br>
102
102
If you have previously installed the modules in SFC's IPC mode you must remove the components from IOT CORE and from your Greengrass deployment!
@@ -139,7 +139,7 @@ You should see now the following directory structure:
139
139

140
140
141
141
142
-
## Step 3: Creating Greengrass recipes
142
+
## Step 3: Creating Greengrass recipes
143
143
Now we create the recipes for the sfc modules. Execute the following command:
144
144
145
145
```sh
@@ -197,7 +197,7 @@ Now copy the following content into the file **~/environment/GreengrassSFC/recip
197
197
198
198
```
199
199
200
-
>Note! <br> Replace the placeholder ***[REPLACE WITH YOUR S3 BUCKET]*** with an S3 bucket name where you want later to store your Greengrass components artifacts and recepies!
200
+
>Note! <br> Replace the placeholder ***[REPLACE WITH YOUR S3 BUCKET]*** with an S3 bucket name where you want later to store your Greengrass components artifacts and recepes!
201
201
202
202
203
203
Now copy the following content into the file **~/environment/GreengrassSFC/recipes/com.amazon.sfc.aws-s3-target-1.0.0.json**:
@@ -245,7 +245,7 @@ Now copy the following content into the file **~/environment/GreengrassSFC/recip
245
245
246
246
```
247
247
248
-
>Note! <br> Replace the placeholder ***[REPLACE WITH YOUR S3 BUCKET]*** with an S3 bucket name where you want later to store your Greengrass components artifacts and recepies!
248
+
>Note! <br> Replace the placeholder ***[REPLACE WITH YOUR S3 BUCKET]*** with an S3 bucket name where you want later to store your Greengrass components artifacts and recepes!
249
249
250
250
Now copy the following content into the file **~/environment/GreengrassSFC/recipes/com.amazon.sfc.debug-target-1.0.0.json**:
251
251
```json
@@ -291,7 +291,7 @@ Now copy the following content into the file **~/environment/GreengrassSFC/recip
291
291
}
292
292
293
293
```
294
-
>Note! <br> Replace the placeholder ***[REPLACE WITH YOUR S3 BUCKET]*** with an S3 bucket name where you want later to store your Greengrass components artifacts and recepies!
294
+
>Note! <br> Replace the placeholder ***[REPLACE WITH YOUR S3 BUCKET]*** with an S3 bucket name where you want later to store your Greengrass components artifacts and recepes!
295
295
296
296
Now copy the following content into the file **~/environment/GreengrassSFC/recipes/com.amazon.sfc.opcua-1.0.0.json**:
297
297
```json
@@ -337,7 +337,7 @@ Now copy the following content into the file **~/environment/GreengrassSFC/recip
337
337
}
338
338
339
339
```
340
-
>Note! <br> Replace the placeholder ***[REPLACE WITH YOUR S3 BUCKET]*** with an S3 bucket name where you want later to store your Greengrass components artifacts and recepies!
340
+
>Note! <br> Replace the placeholder ***[REPLACE WITH YOUR S3 BUCKET]*** with an S3 bucket name where you want later to store your Greengrass components artifacts and recepes!
341
341
342
342
Now copy the following content into the file **~/environment/GreengrassSFC/recipes/com.amazon.sfc.sfc-main-1.0.0.json**:
343
343
@@ -568,7 +568,7 @@ Now copy the following content into the file **~/environment/GreengrassSFC/recip
568
568
```
569
569
>Note! <br>
570
570
1. Make sure that after copying the script into the file that the line with the **"Script": "printf '{configuration:/SFC_CONFIG_JSON}' > {artifacts:path}/conf.json && {artifacts:path}/sfc-main/bin/sfc-main -config {artifacts:path}/conf.json""** has the ticks (') and not the less than character (**<**) as some markup viewer replace the (**'**) with (**<**).
571
-
2. Replace the placeholder ***[REPLACE WITH YOUR S3 BUCKET]*** with an S3 bucket name where you want later to store your Greengrass components artifacts and recepies!
571
+
2. Replace the placeholder ***[REPLACE WITH YOUR S3 BUCKET]*** with an S3 bucket name where you want later to store your Greengrass components artifacts and recepes!
572
572
573
573
3. Replace the placeholder ***[REPLACE WITH YOUR S3 BUCKET FOR OPCUA DATA]*** with an S3 bucket name and ***[AWS BUCKET REGION]*** with the AWS region where you want to store the data collected from the OPCUA server!
Because we use [`in process model`](../../docs#in-process-and-ipc-deployment-models) the components on which sfc-main depends only unpack the the modules during deployment and do not start a process. So they report State: *Finished*. <br>
635
+
Because we use [`in process model`](../../docs/sfc-running-adapters.md#running-protocol-adapters-in-process) the components on which sfc-main depends only unpack the modules during deployment and do not start a process. So they report State: *Finished*. <br>
636
636
The component sfc-main is the only component which actually start a process and keeps running.
If you had not started the OPCUA test docker container before deploying the sfc-main component you will see in the **/greengrass/v2/logscom.amazon.sfc.sfc-main.log** the following error code which you can ignore: <br>
650
-
*ERROR - Error creating client for for source "OPCUA-SOURCE" at opc.tcp://localhost:4840//, Connection refused: localhost/127.0.0.1:4840*.
650
+
*ERROR - Error creating client for source "OPCUA-SOURCE" at opc.tcp://localhost:4840//, Connection refused: localhost/127.0.0.1:4840*.
651
651
652
652
653
653
## Step 5: Testing the deployment
654
-
To test the deployment we have to start the docker container with the test OPCUA server. Do do this use the following command:
654
+
To test the deployment we have to start the docker container with the test OPCUA server. Do this use the following command:
655
655
656
656
```bash
657
657
docker run -d -p 4840:4840 ghcr.io/umati/sample-server:main
@@ -705,7 +705,7 @@ For that open the **IOT Core web console** and select **MQTT test client**.
705
705
706
706

707
707
708
-
You should be able to see messages beeing received.
708
+
You should be able to see messages being received.
709
709
710
710
## Step 6: Remove the local deployment
711
711
After successful testing we remove the deployment which was done locally with the following command:
To publish these these components make one more time sure that you have replaced the ***[REPLACE WITH YOUR S3 BUCKET]*** placeholder with the S3 bucket where you want to upload the components in all recipes!
719
+
To publish these components make one more time sure that you have replaced the ***[REPLACE WITH YOUR S3 BUCKET]*** placeholder with the S3 bucket where you want to upload the components in all recipes!
720
720
721
721
Upload all artifacts and recipies to S3 with the following command:
722
722
@@ -817,7 +817,7 @@ Because we used SFC's `in-process` model all components which deploy the depende
817
817
# Removing components from deployment and deleting components
818
818
## Remove SFC components from deployment
819
819
820
-
To remove the components from the Greengrass environemnt do the following steps:
820
+
To remove the components from the Greengrass environment do the following steps:
821
821
822
822
1. Go to the AWS IoT Core web console and select **Greengrass devices** then select **Deployments** then check the box before your deployment then select **Revise**
823
823
@@ -866,7 +866,7 @@ To delete the components from IOT Core do the following steps:
0 commit comments