Elffuss BraidHub

kikocis/EDC public

docs: remove outdated documentation (#4309)

Changesetd314de6f0886bec6d336340dbbc1279b68dc604ba9848fbc607716c1be82081f
Authorndr_brt <andrea.bertagnolli@gmail.com> · 2024-06-27 14:42 +02:00
CommitterGitHub <noreply@github.com> · 2024-06-27 14:42 +02:00
Parents6250efa17805

Browse the files at this changeset

1 file changed

deleted docs/developer/build-your-own-connector.md +0 −110
@@ -1,110 +0,0 @@
1-# Build your own connector
2-
3-EDC is a set of modules that, wedged together can build up different components to be used to create your dataspace or
4-to join to an existent one.
5-
6-This guide will explain how to set up a **connector**, that would be able to communicate with other connectors to
7-negotiate contracts and transfer data.
8-
9-A connector is logically divided in 3 parts:
10-
11-- control-plane
12-- data-plane
13-- data-plane-selector
14-
15-The connector can run as a single deployable composed by the 3 parts or as separated units, the latter will permit
16-to scale data-planes independently of control-planes.
17-
18-## Prerequisites
19-
20-Java 17+
21-Gradle 8+
22-
23-## Build and run a monolithic connector
24-
25-The easiest way to build up a connector is to build all their parts into a single deployment unit.
26-To do this, create a new gradle project with a `build.gradle.kts` file in it:
27-
28-```kotlin
29-plugins {
30- `java-library`
31- id("application")
32- id("com.github.johnrengelman.shadow") version "8.1.1"
33-}
34-
35-repositories {
36- mavenCentral()
37-}
38-
39-// pick-up the latest version from https://github.com/eclipse-edc/Connector/releases
40-val edcVersion = "<x.x.x>"
41-
42-dependencies {
43- // the core control-plane module set
44- implementation("org.eclipse.edc:control-plane-core:${edcVersion}")
45-
46- // the dsp protocol module
47- implementation("org.eclipse.edc:dsp:${edcVersion}")
48-
49- // a test implementation of the `IdentityService`
50- implementation("org.eclipse.edc:iam-mock:${edcVersion}")
51-
52- // management api, will permit to manage the connector through a REST interface
53- implementation("org.eclipse.edc:management-api:${edcVersion}")
54-
55- // the core data-plane-selector module set
56- implementation("org.eclipse.edc:data-plane-selector-core:${edcVersion}")
57-
58- // the core data-plane module set
59- implementation("org.eclipse.edc:data-plane-core:${edcVersion}")
60-}
61-
62-// configure the main class
63-application {
64- mainClass.set("org.eclipse.edc.boot.system.runtime.BaseRuntime")
65-}
66-
67-// build the application as a single jar that will be available in `build/libs/connector.jar`
68-tasks.withType<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar> {
69- mergeServiceFiles()
70- archiveFileName.set("connector.jar")
71-}
72-
73-```
74-
75-Build:
76-
77-```
78-gradle build
79-```
80-
81-Run:
82-
83-```
84-java -jar build/libs/connector.jar
85-```
86-
87-### Setting database
88-
89-The connector you just built stores all the data in memory by default. This is obviously not enough to use the connector
90-in an environment that's not your local machine.
91-Currently, there are two different database extensions for the control-plane:
92-
93-- `control-plane-sql`: Sql database ([postgresql](https://www.postgresql.org/) is the only dialect currently supported)
94-- `control-plane-cosmos`: [Microsoft CosmosDB](https://azure.microsoft.com/products/cosmos-db) database
95-
96-### Setting data-plane
97-
98-To make the *control-plane* interact with the *data-plane*, it will need at least one of these extensions:
99-
100-- `data-plane-transfer-client`: provides a client to delegate data transfer to the *data-plane*.
101-- `data-plane-transfer-sync`: provides services to use the *data-plane* as a proxy for querying data from the provider
102- data source.
103-
104-The *data-plane* will need extensions to being able to read/write data from/to different protocols/services, e.g.:
105-
106-- `data-plane-api`: will make the *data-plane* expose APIs that are needed to actually transfer data
107-- `data-plane-http`: support HTTP protocol
108-- `data-plane-azure-storage`: support [Azure Blob Storage](https://azure.microsoft.com/products/storage/blobs/) service
109-- `data-plane-aws-s3`: support [AWS S3](https://aws.amazon.com/s3/) service
110-- other custom provided *data-plane* extensions