... | ... | @@ -115,7 +115,51 @@ while(listener.isConnect()){ |
|
|
listener.disconnect();
|
|
|
```
|
|
|
|
|
|
**5. Who do I talk to?**
|
|
|
**5. GIDL example**
|
|
|
|
|
|
``
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<gidl:GIDLModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gidl="http://eu.chorevolution/modelingnotations/gidl" hostAddress="http://jinx.viktoria.chalmers.se:3000/" protocol="REST">
|
|
|
<hasInterfaces role="provider">
|
|
|
<hasOperations name="waypointWeatherInformation" type="two_way_sync" qos="reliable">
|
|
|
<hasScope name="waypointWeatherInformation" verb="POST" uri="waypointWeatherInformation"/>
|
|
|
<inputData name="request" context="body" media="json">
|
|
|
<hasDataType xsi:type="gidl:ComplexType" name="segmentInformationRequest" minOccurs="one" maxOccurs="one">
|
|
|
<hasDataType xsi:type="gidl:ComplexType" name="waypoint0" minOccurs="one" maxOccurs="one">
|
|
|
<hasDataType xsi:type="gidl:SimpleType" name="lat" minOccurs="one" maxOccurs="one" type="string"/>
|
|
|
<hasDataType xsi:type="gidl:SimpleType" name="lon" minOccurs="one" maxOccurs="one" type="string"/>
|
|
|
</hasDataType>
|
|
|
<hasDataType xsi:type="gidl:ComplexType" name="waypoint1" minOccurs="one" maxOccurs="one">
|
|
|
<hasDataType xsi:type="gidl:SimpleType" name="lat" minOccurs="one" maxOccurs="one" type="string"/>
|
|
|
<hasDataType xsi:type="gidl:SimpleType" name="lon" minOccurs="one" maxOccurs="one" type="string"/>
|
|
|
</hasDataType>
|
|
|
</hasDataType>
|
|
|
</inputData>
|
|
|
<outputData name="response" context="body" media="json">
|
|
|
<hasDataType xsi:type="gidl:ComplexType" name="segmentWeatherInformationResponse" minOccurs="one" maxOccurs="one">
|
|
|
<hasDataType xsi:type="gidl:ComplexType" name="waypoint0" minOccurs="one" maxOccurs="one">
|
|
|
<hasDataType xsi:type="gidl:SimpleType" name="lat" minOccurs="one" maxOccurs="one" type="string"/>
|
|
|
<hasDataType xsi:type="gidl:SimpleType" name="lon" minOccurs="one" maxOccurs="one" type="string"/>
|
|
|
</hasDataType>
|
|
|
<hasDataType xsi:type="gidl:ComplexType" name="waypoint1" minOccurs="one" maxOccurs="one">
|
|
|
<hasDataType xsi:type="gidl:SimpleType" name="lat" minOccurs="one" maxOccurs="one" type="string"/>
|
|
|
<hasDataType xsi:type="gidl:SimpleType" name="lon" minOccurs="one" maxOccurs="one" type="string"/>
|
|
|
</hasDataType>
|
|
|
<hasDataType xsi:type="gidl:ComplexType" name="weatherInfo" minOccurs="one" maxOccurs="one">
|
|
|
<hasDataType xsi:type="gidl:SimpleType" name="roadTemperature" minOccurs="one" maxOccurs="one" type="string"/>
|
|
|
<hasDataType xsi:type="gidl:SimpleType" name="airTemperature" minOccurs="one" maxOccurs="one" type="string"/>
|
|
|
<hasDataType xsi:type="gidl:SimpleType" name="airRelativeHumidity" minOccurs="one" maxOccurs="one" type="string"/>
|
|
|
<hasDataType xsi:type="gidl:SimpleType" name="windForce" minOccurs="one" maxOccurs="one" type="string"/>
|
|
|
</hasDataType>
|
|
|
<hasDataType xsi:type="gidl:SimpleType" name="type" minOccurs="one" maxOccurs="one" type="string"/>
|
|
|
</hasDataType>
|
|
|
</outputData>
|
|
|
</hasOperations>
|
|
|
</hasInterfaces>
|
|
|
</gidl:GIDLModel>
|
|
|
``
|
|
|
|
|
|
**6. Who do I talk to?**
|
|
|
|
|
|
Patient NTUMBA: patient.ntumba AT inria.fr (developer/architect)
|
|
|
|
... | ... | |