Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
evolution-service-bus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CHOReVOLUTION
evolution-service-bus
Commits
59c7d7b8
Commit
59c7d7b8
authored
8 years ago
by
boulouk
Browse files
Options
Downloads
Patches
Plain Diff
creating BC for wp4 weather service
parent
e8aac774
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bc-manager/src/main/resources/weather_wp4.gidl
+22
-0
22 additions, 0 deletions
bc-manager/src/main/resources/weather_wp4.gidl
vsb-manager/src/test/java/eu/chorevolution/vsb/manager/VsbManagerTest.java
+3
-1
3 additions, 1 deletion
...est/java/eu/chorevolution/vsb/manager/VsbManagerTest.java
with
25 additions
and
1 deletion
bc-manager/src/main/resources/weather_wp4.gidl
0 → 100644
+
22
−
0
View file @
59c7d7b8
<?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:3002/"
protocol=
"REST"
>
<hasInterfaces
role=
"provider"
>
<hasOperations
name=
"getWeather"
type=
"two_way_sync"
qos=
"reliable"
>
<hasScope
name=
"getWeather"
verb=
"POST"
uri=
"getWeather"
/>
<inputData
name=
"request"
context=
"body"
>
<hasDataType
xsi:type=
"gidl:ComplexType"
name=
"weatherInformationRequest"
occurences=
"one"
>
<hasDataType
xsi:type=
"gidl:SimpleType"
name=
"lat"
occurences=
"one"
type=
"string"
/>
<hasDataType
xsi:type=
"gidl:SimpleType"
name=
"lon"
occurences=
"one"
type=
"string"
/>
</hasDataType>
</inputData>
<outputData
name=
"response"
context=
"body"
>
<hasDataType
xsi:type=
"gidl:ComplexType"
name=
"weatherInformationResponse"
occurences=
"one"
>
<hasDataType
xsi:type=
"gidl:SimpleType"
name=
"roadTemperature"
occurences=
"one"
type=
"string"
/>
<hasDataType
xsi:type=
"gidl:SimpleType"
name=
"airTemperature"
occurences=
"one"
type=
"string"
/>
<hasDataType
xsi:type=
"gidl:SimpleType"
name=
"airRelativeHumidity"
occurences=
"one"
type=
"string"
/>
<hasDataType
xsi:type=
"gidl:SimpleType"
name=
"windForce"
occurences=
"one"
type=
"string"
/>
</hasDataType>
</outputData>
</hasOperations>
</hasInterfaces>
</gidl:GIDLModel>
This diff is collapsed.
Click to expand it.
vsb-manager/src/test/java/eu/chorevolution/vsb/manager/VsbManagerTest.java
+
3
−
1
View file @
59c7d7b8
...
@@ -14,7 +14,9 @@ public class VsbManagerTest{
...
@@ -14,7 +14,9 @@ public class VsbManagerTest{
public
static
void
main
(
String
[]
args
)
{
public
static
void
main
(
String
[]
args
)
{
String
interfaceDescriptionPath
=
"/home/pntumba/inria_code/repositories/evolution-service-bus/bc-manager/target/classes/weather.gidl"
;
// String interfaceDescriptionPath = "D:\\inria\\code\\repositories\\chorevolution\\evolution-service-bus\\bc-manager\\src\\main\\resources\\weather.gidl";
String
interfaceDescriptionPath
=
"D:\\inria\\code\\repositories\\chorevolution\\evolution-service-bus\\bc-manager\\src\\main\\resources\\weather_wp4.gidl"
;
generateWarFile
(
interfaceDescriptionPath
);
generateWarFile
(
interfaceDescriptionPath
);
// generateWarBytes(interfaceDescriptionPath);
// generateWarBytes(interfaceDescriptionPath);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment