... | ... | @@ -30,11 +30,13 @@ To interconnect services and things, developer has to generate a middleware arti |
|
|
|
|
|
![Binding Component](https://gitlab.inria.fr/pntumba/vsb-web-console/raw/master/vsbwebconsole/WebContent/css/images/BC.png)
|
|
|
|
|
|
To generate the BC, create a maven based project
|
|
|
|
|
|
* Creating the Generic Interface Description Language (GIDL) of the service or thing to interconnect
|
|
|
|
|
|
Relying on the above image, a developer has to create the GIDL of the Temperature ressource. By using the eclipse plugin.
|
|
|
|
|
|
* Using a maven based project, set the pom.xml
|
|
|
* Set the pom.xml
|
|
|
|
|
|
```
|
|
|
Add repository :
|
... | ... | @@ -55,13 +57,13 @@ Add dependecy : |
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
* Generate BC as follow :
|
|
|
|
|
|
------
|
|
|
|
|
|
* Deploy your BC and start it
|
|
|
|
|
|
```
|
|
|
VsbManager vsbm = new VsbManager();
|
|
|
vsbm.generateWar(PATH_TO_GIDL, ProtocolType.COAP, "REST_to_COAP");
|
|
|
```
|
|
|
|
|
|
|
|
|
**4. Monitoring services and things**
|
... | ... | |