Skip to content

Commit 0a83e95

Browse files
authored
Feature/service cutter integration (#155)
1 parent dfae78e commit 0a83e95

File tree

46 files changed

+1903
-531
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1903
-531
lines changed

org.contextmapper.dsl.repository/category.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
<feature id="org.contextmapper.dsl.feature.source" version="0.0.0">
77
<category name="main.source"/>
88
</feature>
9+
<feature id="org.contextmapper.servicecutter.feature">
10+
<category name="main"/>
11+
</feature>
912
<bundle id="org.eclipse.emf.henshin.interpreter" version="1.4.0.201611301251">
1013
<category name="main"/>
1114
</bundle>
@@ -15,8 +18,12 @@
1518
<feature id="org.contextmapper.contextmap.generator.feature" version="0.0.0">
1619
<category name="main"/>
1720
</feature>
21+
<feature id="org.contextmapper.servicecutter.feature" version="0.0.0">
22+
<category name="main"/>
23+
</feature>
1824
<category-def name="main" label="ContextMappingDSL"/>
1925
<category-def name="main.source" label="ContextMappingDSL (Sources)"/>
2026
<repository-reference location="http://download.eclipse.org/modeling/emft/henshin/updates/release/" enabled="true" />
2127
<repository-reference location="https://dl.bintray.com/contextmapper/context-map-generator-releases/" enabled="true" />
28+
<repository-reference location="https://dl.bintray.com/contextmapper/service-cutter-library-releases/" enabled="true" />
2229
</site>

org.contextmapper.dsl.target/org.contextmapper.dsl.target.target

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,9 @@
5757
<repository location="https://dl.bintray.com/contextmapper/context-map-generator-releases/"/>
5858
<unit id="org.contextmapper.contextmap.generator.feature.feature.group" version="1.0.1"/>
5959
</location>
60+
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
61+
<repository location="https://dl.bintray.com/contextmapper/service-cutter-library-releases/"/>
62+
<unit id="org.contextmapper.servicecutter.feature.feature.group" version="1.1.2"/>
63+
</location>
6064
</locations>
6165
</target>

org.contextmapper.dsl.tests/META-INF/MANIFEST.MF

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ Require-Bundle: org.contextmapper.dsl,
1313
org.eclipse.xtext.xbase.testing,
1414
org.eclipse.xtext.xbase.lib;bundle-version="2.14.0",
1515
org.apache.commons.io;bundle-version="2.2.0",
16-
org.contextmapper.contextmap.generator;bundle-version="1.0.1"
16+
org.contextmapper.contextmap.generator;bundle-version="1.0.1",
17+
org.contextmapper.servicecutter.library;bundle-version="1.1.2",
18+
org.graphstream.gs-core;bundle-version="1.3.0",
19+
org.graphstream.gs-algo;bundle-version="1.3.0"
1720
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
1821
Export-Package: org.contextmapper.dsl.tests;x-internal=true,
1922
org.contextmapper.tactic.dsl.tests;x-internal=true,
Lines changed: 255 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,255 @@
1+
{
2+
"name" : "DDD_Sample",
3+
"entities" : [ {
4+
"name" : "Cargo",
5+
"nanoentities" : [ "trackingId" ]
6+
}, {
7+
"name" : "Delivery",
8+
"nanoentities" : [ "misdirected", "eta", "isUnloadedAtDestination", "calculatedAt", "transportStatus", "routingStatus" ]
9+
}, {
10+
"name" : "HandlingActivity",
11+
"nanoentities" : [ "handlingEventType" ]
12+
}, {
13+
"name" : "Itinerary",
14+
"nanoentities" : [ "itineraryNumber" ]
15+
}, {
16+
"name" : "Leg",
17+
"nanoentities" : [ "loadTime", "unloadTime" ]
18+
}, {
19+
"name" : "RouteSpecification",
20+
"nanoentities" : [ "arrivalDeadline" ]
21+
}, {
22+
"name" : "CargoItineraryLegDeliveryRouteSpecification_Aggregate",
23+
"nanoentities" : [ ]
24+
}, {
25+
"name" : "HandlingEvent",
26+
"nanoentities" : [ "handlingType", "completionTime", "registrationTime" ]
27+
}, {
28+
"name" : "HandlingHistory",
29+
"nanoentities" : [ ]
30+
}, {
31+
"name" : "Handling_Aggregate",
32+
"nanoentities" : [ ]
33+
}, {
34+
"name" : "CargoBookingContext_BC",
35+
"nanoentities" : [ ]
36+
}, {
37+
"name" : "Voyage",
38+
"nanoentities" : [ ]
39+
}, {
40+
"name" : "CarrierMovement",
41+
"nanoentities" : [ "departureTime", "arrivalTime" ]
42+
}, {
43+
"name" : "Schedule",
44+
"nanoentities" : [ ]
45+
}, {
46+
"name" : "VoyageNumber",
47+
"nanoentities" : [ "number" ]
48+
}, {
49+
"name" : "Voyage_Aggregate",
50+
"nanoentities" : [ ]
51+
}, {
52+
"name" : "VoyagePlanningContext_BC",
53+
"nanoentities" : [ ]
54+
}, {
55+
"name" : "Location",
56+
"nanoentities" : [ "portcode", "name" ]
57+
}, {
58+
"name" : "UnLocode",
59+
"nanoentities" : [ "unLocode" ]
60+
}, {
61+
"name" : "LocationShared",
62+
"nanoentities" : [ "portCode" ]
63+
}, {
64+
"name" : "Location_Aggregate",
65+
"nanoentities" : [ ]
66+
}, {
67+
"name" : "LocationContext_BC",
68+
"nanoentities" : [ ]
69+
} ],
70+
"relations" : [ {
71+
"origin" : "Cargo",
72+
"destination" : "LocationShared",
73+
"type" : "AGGREGATION"
74+
}, {
75+
"origin" : "Cargo",
76+
"destination" : "RouteSpecification",
77+
"type" : "AGGREGATION"
78+
}, {
79+
"origin" : "Cargo",
80+
"destination" : "Itinerary",
81+
"type" : "AGGREGATION"
82+
}, {
83+
"origin" : "Cargo",
84+
"destination" : "Delivery",
85+
"type" : "AGGREGATION"
86+
}, {
87+
"origin" : "CargoItineraryLegDeliveryRouteSpecification_Aggregate",
88+
"destination" : "Cargo",
89+
"type" : "AGGREGATION"
90+
}, {
91+
"origin" : "Delivery",
92+
"destination" : "LocationShared",
93+
"type" : "AGGREGATION"
94+
}, {
95+
"origin" : "Delivery",
96+
"destination" : "Voyage",
97+
"type" : "AGGREGATION"
98+
}, {
99+
"origin" : "Delivery",
100+
"destination" : "HandlingActivity",
101+
"type" : "AGGREGATION"
102+
}, {
103+
"origin" : "Delivery",
104+
"destination" : "HandlingEvent",
105+
"type" : "AGGREGATION"
106+
}, {
107+
"origin" : "CargoItineraryLegDeliveryRouteSpecification_Aggregate",
108+
"destination" : "Delivery",
109+
"type" : "AGGREGATION"
110+
}, {
111+
"origin" : "HandlingActivity",
112+
"destination" : "LocationShared",
113+
"type" : "AGGREGATION"
114+
}, {
115+
"origin" : "HandlingActivity",
116+
"destination" : "Voyage",
117+
"type" : "AGGREGATION"
118+
}, {
119+
"origin" : "CargoItineraryLegDeliveryRouteSpecification_Aggregate",
120+
"destination" : "HandlingActivity",
121+
"type" : "AGGREGATION"
122+
}, {
123+
"origin" : "Itinerary",
124+
"destination" : "Leg",
125+
"type" : "AGGREGATION"
126+
}, {
127+
"origin" : "CargoItineraryLegDeliveryRouteSpecification_Aggregate",
128+
"destination" : "Itinerary",
129+
"type" : "AGGREGATION"
130+
}, {
131+
"origin" : "Leg",
132+
"destination" : "Voyage",
133+
"type" : "AGGREGATION"
134+
}, {
135+
"origin" : "Leg",
136+
"destination" : "LocationShared",
137+
"type" : "AGGREGATION"
138+
}, {
139+
"origin" : "Leg",
140+
"destination" : "LocationShared",
141+
"type" : "AGGREGATION"
142+
}, {
143+
"origin" : "CargoItineraryLegDeliveryRouteSpecification_Aggregate",
144+
"destination" : "Leg",
145+
"type" : "AGGREGATION"
146+
}, {
147+
"origin" : "RouteSpecification",
148+
"destination" : "LocationShared",
149+
"type" : "AGGREGATION"
150+
}, {
151+
"origin" : "RouteSpecification",
152+
"destination" : "LocationShared",
153+
"type" : "AGGREGATION"
154+
}, {
155+
"origin" : "CargoItineraryLegDeliveryRouteSpecification_Aggregate",
156+
"destination" : "RouteSpecification",
157+
"type" : "AGGREGATION"
158+
}, {
159+
"origin" : "CargoBookingContext_BC",
160+
"destination" : "CargoItineraryLegDeliveryRouteSpecification_Aggregate",
161+
"type" : "AGGREGATION"
162+
}, {
163+
"origin" : "HandlingEvent",
164+
"destination" : "Voyage",
165+
"type" : "AGGREGATION"
166+
}, {
167+
"origin" : "HandlingEvent",
168+
"destination" : "LocationShared",
169+
"type" : "AGGREGATION"
170+
}, {
171+
"origin" : "HandlingEvent",
172+
"destination" : "Cargo",
173+
"type" : "AGGREGATION"
174+
}, {
175+
"origin" : "Handling_Aggregate",
176+
"destination" : "HandlingEvent",
177+
"type" : "AGGREGATION"
178+
}, {
179+
"origin" : "HandlingHistory",
180+
"destination" : "HandlingEvent",
181+
"type" : "AGGREGATION"
182+
}, {
183+
"origin" : "Handling_Aggregate",
184+
"destination" : "HandlingHistory",
185+
"type" : "AGGREGATION"
186+
}, {
187+
"origin" : "CargoBookingContext_BC",
188+
"destination" : "Handling_Aggregate",
189+
"type" : "AGGREGATION"
190+
}, {
191+
"origin" : "Voyage",
192+
"destination" : "VoyageNumber",
193+
"type" : "AGGREGATION"
194+
}, {
195+
"origin" : "Voyage",
196+
"destination" : "Schedule",
197+
"type" : "AGGREGATION"
198+
}, {
199+
"origin" : "Voyage_Aggregate",
200+
"destination" : "Voyage",
201+
"type" : "AGGREGATION"
202+
}, {
203+
"origin" : "CarrierMovement",
204+
"destination" : "LocationShared",
205+
"type" : "AGGREGATION"
206+
}, {
207+
"origin" : "CarrierMovement",
208+
"destination" : "LocationShared",
209+
"type" : "AGGREGATION"
210+
}, {
211+
"origin" : "Voyage_Aggregate",
212+
"destination" : "CarrierMovement",
213+
"type" : "AGGREGATION"
214+
}, {
215+
"origin" : "Schedule",
216+
"destination" : "CarrierMovement",
217+
"type" : "AGGREGATION"
218+
}, {
219+
"origin" : "Voyage_Aggregate",
220+
"destination" : "Schedule",
221+
"type" : "AGGREGATION"
222+
}, {
223+
"origin" : "Voyage_Aggregate",
224+
"destination" : "VoyageNumber",
225+
"type" : "AGGREGATION"
226+
}, {
227+
"origin" : "VoyagePlanningContext_BC",
228+
"destination" : "Voyage_Aggregate",
229+
"type" : "AGGREGATION"
230+
}, {
231+
"origin" : "Location",
232+
"destination" : "UnLocode",
233+
"type" : "AGGREGATION"
234+
}, {
235+
"origin" : "Location_Aggregate",
236+
"destination" : "Location",
237+
"type" : "AGGREGATION"
238+
}, {
239+
"origin" : "Location_Aggregate",
240+
"destination" : "UnLocode",
241+
"type" : "AGGREGATION"
242+
}, {
243+
"origin" : "LocationShared",
244+
"destination" : "Location",
245+
"type" : "AGGREGATION"
246+
}, {
247+
"origin" : "Location_Aggregate",
248+
"destination" : "LocationShared",
249+
"type" : "AGGREGATION"
250+
}, {
251+
"origin" : "LocationContext_BC",
252+
"destination" : "Location_Aggregate",
253+
"type" : "AGGREGATION"
254+
} ]
255+
}

0 commit comments

Comments
 (0)