Skip to content
Snippets Groups Projects
Commit 03d75080 authored by NTUMBA WA NTUMBA Patient's avatar NTUMBA WA NTUMBA Patient
Browse files

Update README.md

parent 8692f53e
No related branches found
No related tags found
No related merge requests found
......@@ -27,11 +27,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
For instance based on the above figure, to generate the BC we need to follow this steps :
* Create a maven based project
* Creating the Generic Interface Description Language (GIDL) of the service or thing to interconnect
For instance, relying on the above figure, a developer has to create the GIDL of the Temperature ressource. By using the eclipse plugin or the [VSB Web Console](https://gitlab.inria.fr/pntumba/vsb-web-console/wikis/home).
Relying on the above figure, we have to create the GIDL of the Temperature ressource. By using the eclipse plugin or the [VSB Web Console](https://gitlab.inria.fr/pntumba/vsb-web-console/wikis/home).
* Updating the pom.xml
......@@ -57,6 +59,8 @@ Add dependecy :
```
VsbManager vsbm = new VsbManager();
vsbm.setServiceEndpoint("HOST-IP_TEMPERATURE_SENSOR", "HOST-PORT_TEMPERATURE_SENSOR");
vsbm.setBusEndpoint("HOST-IP_CLIENT","HOST-PORT_CLIENT");
vsbm.generateWar(PATH_TO_GIDL, ProtocolType.REST, "REST_to_COAP");
```
After executing this lines of codes, the BC will be generated into the temporary folder of the system.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment