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
* chore: refactoring data-plane packages
* feat: support to multiple regions
* feat: support to multiple regions
* feat: support to multiple regions
* chore: refactoring provision packages
* feat: disabling extension if token not provided
* fix: validating if transfer dataSource not have name
* feat: removing unused tags (accessKey and secretKey) from dataDestination
* feat: disabling extension if token not provided
* feat: refactoring validators
* feat: deployment scripts review
* feat: migrating to edc 0.10.1
* feat: migrating to edc 0.10.1
* feat: README review
* feat: disabling extension if token not provided
---------
Co-authored-by: Glaucio Jannotti <glaucio.jannotti@dengun.com>
@@ -49,7 +49,7 @@ The extension has the following dependencies:
49
49
|`org.eclipse.edc:data-plane-selector-core`| Main features of the data plane selector |
50
50
51
51
### Configurations
52
-
It is required to configure an `Access key`and a `Secret Access Key` from the IONOS S3 storage service.
52
+
It is required to configure an `Authentication Token`[docs](https://docs.ionos.com/cloud/set-up-ionos-cloud/management/token-management)and a `S3 Access key`[docs](https://docs.ionos.com/cloud/storage-and-backup/ionos-object-storage/concepts/key-management) to use the extension.
53
53
54
54
The credentials can be found/configured in one of the following:
55
55
- Vault;
@@ -59,17 +59,15 @@ The credentials can be found/configured in one of the following:
|`edc.ionos.access.key`| IONOS Access Key Id to access S3 | Yes if the context is accessing file |
65
-
|`edc.ionos.secret.access.key`| IONOS Secret Access Key to access S3 | Yes if the context is accessing file |
66
-
|`edc.ionos.token`| IONOS token to allow S3 provisioning | Yes if the context is provisioning access for others |
67
-
|`edc.ionos.endpoint.region`| IONOS S3 endpoint region. Refer to [docs](https://docs.ionos.com/cloud/managed-services/s3-object-storage/endpoints) for further information. | No, the default value is "de" |
68
-
|`edc.ionos.max.files`| Maximum number of files retrieved by list files function. | No, the default value is 5,000 files |
69
-
|`edc.ionos.key.validation.attempts`| Maximum number of attemps to validate a temporary key after its creation. | No, the default values is 10 attempts |
70
-
|`edc.ionos.key.validation.delay`| Time to wait (in milisseconds) before each key validation attempt. In each new attempt the delay is multiplied by the attempt number. | No, the default value is 3,000 (3 seconds) |
71
-
72
-
To create the token please take a look at the following [documentation](./ionos_token.md).
|`edc.ionos.access.key`| IONOS Access Key Id to access S3 | Yes if the context is accessing file |
65
+
|`edc.ionos.secret.access.key`| IONOS Secret Access Key to access S3 | Yes if the context is accessing file |
66
+
|`edc.ionos.token`| IONOS Token to allow S3 provisioning | Yes if the context is provisioning access for others |
67
+
|`edc.ionos.endpoint.region`| IONOS S3 endpoint default region. It will be used if a region is not defined in the dataAddress or dataDestination. Refer to [docs](https://docs.ionos.com/cloud/managed-services/s3-object-storage/endpoints) for further information. | No, the default value is "de" |
68
+
|`edc.ionos.max.files`| Maximum number of files copied by S3 bucket folder. | No, the default value is 5,000 files |
69
+
|`edc.ionos.key.validation.attempts`| Maximum number of attemps to validate a temporary key after its creation. | No, the default values is 10 attempts |
70
+
|`edc.ionos.key.validation.delay`| Time to wait (in milisseconds) before each key validation attempt. In each new attempt the delay is multiplied by the attempt number. | No, the default value is 3,000 (3 seconds) |
73
71
74
72
## Building and Running
75
73
@@ -93,9 +91,115 @@ cd launchers/prod/connector-persistence
In order to see working examples go to [edc-ionos-samples](https://github.com/Digital-Ecosystems/edc-ionos-samples).
98
-
99
-
## Deploying to IONOS Kubernetes
94
+
## Deploying
100
95
Check the [deployment readme](https://github.com/ionos-cloud/edc-ionos-s3/tree/main/deployment/README.md) to see how to deploy the Connector locally or to an external Kubernetes cluster.
101
96
97
+
## Usage
98
+
99
+
### DataAddress
100
+
To create an asset using an IONOS S3 Bucket as its data address, use the following format:
| dataAddress.type | This extension uses the `IonosS3` designation | Yes |
144
+
| dataAddress.region | S3 Bucket region used to retrieve the S3 API endpoint. [Possible values](https://docs.ionos.com/cloud/storage-and-backup/ionos-object-storage/endpoints)| No. If not send the configuration `edc.ionos.endpoint.region` will be used |
145
+
| dataAddress.bucketName | Name of the S3 Bucket used to store the asset data | Yes |
146
+
| dataAddress.blobName | Path to a file or folder on the source S3 Bucket | Yes |
147
+
| filter.includes | Regular expression to filter the files or folders to be copied from the blobName | No |
148
+
| filter.excludes | Regular expression to filter the files or folders to be NOT be copied from the blobName | No |
149
+
150
+
### DataDestination
151
+
To start a transfer using an IONOS S3 Bucket as its data destination, use the following formats:
| transferType | This extension uses the `IonosS3-PUSH` designation | Yes |
199
+
| dataAddress.type | This extension uses the `IonosS3` designation | Yes |
200
+
| dataAddress.keyName | Key name used to store the temporary S3 Keys during the transfer. Need to be an unique value. | Yes |
201
+
| dataAddress.region | S3 Bucket region used to retrieve the S3 API endpoint. [Possible values](https://docs.ionos.com/cloud/storage-and-backup/ionos-object-storage/endpoints)| No. If not send, the configuration `edc.ionos.endpoint.region` will be used |
202
+
| dataAddress.bucketName | Name of the destination S3 Bucket, to receive the transferred data | Yes |
203
+
| dataAddress.path | Path of a folder, on the destination S3 Bucket, to receive the transferred data | No |
204
+
205
+
Note: the scope of this repo is NOT to explain the complete flows (and payloads) of the EDC Connector. If you want to know more please take a look at the [Eclipse EDC Samples](https://github.com/eclipse-edc/Samples).
0 commit comments