mwgencode 1.4.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. gencode/__init__.py +140 -0
  2. gencode/dd_models.py +256 -0
  3. gencode/ext.py +19 -0
  4. gencode/gen_code.py +343 -0
  5. gencode/gencode/__init__.py +0 -0
  6. gencode/gencode/export_class2swgclass.py +206 -0
  7. gencode/gencode/gen_bo_models_code.py +719 -0
  8. gencode/gencode/gen_state_code.py +171 -0
  9. gencode/gencode/gen_swagger_code.py +94 -0
  10. gencode/gencode/gen_tests_code.py +113 -0
  11. gencode/gencode/sample/__init__.py +2 -0
  12. gencode/gencode/sample/babel.cfg +3 -0
  13. gencode/gencode/sample/config-sample.ini +9 -0
  14. gencode/gencode/sample/config.ini +14 -0
  15. gencode/gencode/sample/create_new_table_run.pys +19 -0
  16. gencode/gencode/sample/dockerignore.dock +57 -0
  17. gencode/gencode/sample/file_utils.pys +396 -0
  18. gencode/gencode/sample/gencode.xmi +33 -0
  19. gencode/gencode/sample/gitignore.git +14 -0
  20. gencode/gencode/sample/migrate_run.bat +5 -0
  21. gencode/gencode/sample/migrate_run.pys +9 -0
  22. gencode/gencode/sample/requirements.txt +17 -0
  23. gencode/gencode/sample/run.sh +27 -0
  24. gencode/gencode/sample/seeds/__init__.py +0 -0
  25. gencode/gencode/sample/seeds/models_rm.pys +187 -0
  26. gencode/gencode/sample/seeds/seed_dev_data.pys +21 -0
  27. gencode/gencode/sample/seeds/seed_init.pys +17 -0
  28. gencode/gencode/sample/seeds/seed_rm.pys +39 -0
  29. gencode/gencode/sample/seeds/seed_run.pys +13 -0
  30. gencode/gencode/sample/seeds/seed_utils.pys +23 -0
  31. gencode/gencode/sample/test__init__.pys +6 -0
  32. gencode/gencode/sample/test_run.pys +4 -0
  33. gencode/gencode/sample/utils.pys +92 -0
  34. gencode/gencode/template/Dockerfile.tmp +55 -0
  35. gencode/gencode/template/README.md +91 -0
  36. gencode/gencode/template/__init__.py +0 -0
  37. gencode/gencode/template/__init__.pys +99 -0
  38. gencode/gencode/template/config.pys +134 -0
  39. gencode/gencode/template/default.conf +21 -0
  40. gencode/gencode/template/docker-compose-dev.yaml +52 -0
  41. gencode/gencode/template/docker-compose.yaml +55 -0
  42. gencode/gencode/template/drone.tmp +45 -0
  43. gencode/gencode/template/flask_models.pys +107 -0
  44. gencode/gencode/template/flask_models_base.pys +159 -0
  45. gencode/gencode/template/gen_code_flask.yaml +21 -0
  46. gencode/gencode/template/gen_code_run.pys +28 -0
  47. gencode/gencode/template/k8s-tmp.yml +141 -0
  48. gencode/gencode/template/run.pys +52 -0
  49. gencode/gencode/template/sample.mdj +1193 -0
  50. gencode/gencode/template/setup.tmp +48 -0
  51. gencode/gencode/template/supervisord.conf +21 -0
  52. gencode/gencode/template/swagger_file.yaml +195 -0
  53. gencode/gencode/template/swg_class.tmp +41 -0
  54. gencode/gencode/template/swg_ctrl_code.pys +130 -0
  55. gencode/gencode/template/swg_package_mng.tmp +4423 -0
  56. gencode/gencode/template/test_test_base.tmp +34 -0
  57. gencode/gencode/template/tests/__init__.py +0 -0
  58. gencode/gencode/template/tests/__init__.pys +5 -0
  59. gencode/gencode/template/tests/init_test_data.pys +80 -0
  60. gencode/gencode/template/tests/run.pys +4 -0
  61. gencode/gencode/template/tests/test_base.pys +87 -0
  62. gencode/gencode/template/tests/test_classmng.pys +58 -0
  63. gencode/gencode/template/uwsgi.ini +20 -0
  64. gencode/gencode/template/uwsgi_run.pys +44 -0
  65. gencode/importmdj/__init__.py +0 -0
  66. gencode/importmdj/import_dd_classes.py +369 -0
  67. gencode/importmdj/import_swagger2_class.py +371 -0
  68. gencode/importmdj/import_uml_models.py +466 -0
  69. gencode/importxmi/__init__.py +1 -0
  70. gencode/importxmi/import_classes.py +342 -0
  71. gencode/importxmi/import_sequences.py +291 -0
  72. gencode/importxmi/import_states.py +150 -0
  73. gencode/importxmi/import_swagger.py +151 -0
  74. gencode/swg2_class_models.py +179 -0
  75. gencode/uml_class_models.py +295 -0
  76. gencode/upgrade.py +113 -0
  77. gencode/utils.py +225 -0
  78. manage.py +194 -0
  79. mwgencode-1.4.1.dist-info/METADATA +325 -0
  80. mwgencode-1.4.1.dist-info/RECORD +84 -0
  81. mwgencode-1.4.1.dist-info/WHEEL +5 -0
  82. mwgencode-1.4.1.dist-info/entry_points.txt +2 -0
  83. mwgencode-1.4.1.dist-info/licenses/LICENSE.txt +19 -0
  84. mwgencode-1.4.1.dist-info/top_level.txt +2 -0
@@ -0,0 +1,1193 @@
1
+ {
2
+ "_type": "Project",
3
+ "_id": "AAAAAAFF+h6SjaM2Hec=",
4
+ "name": "gencode",
5
+ "ownedElements": [
6
+ {
7
+ "_type": "UMLModel",
8
+ "_id": "AAAAAAFcnKvRxd9Z09Q=",
9
+ "_parent": {
10
+ "$ref": "AAAAAAFF+h6SjaM2Hec="
11
+ },
12
+ "name": "use case",
13
+ "ownedElements": [
14
+ {
15
+ "_type": "UMLUseCaseDiagram",
16
+ "_id": "AAAAAAFcnKwPb99d3WA=",
17
+ "_parent": {
18
+ "$ref": "AAAAAAFcnKvRxd9Z09Q="
19
+ },
20
+ "name": "main"
21
+ }
22
+ ]
23
+ },
24
+ {
25
+ "_type": "UMLModel",
26
+ "_id": "AAAAAAFX+txqBkS8DRI=",
27
+ "_parent": {
28
+ "$ref": "AAAAAAFF+h6SjaM2Hec="
29
+ },
30
+ "name": "swagger",
31
+ "ownedElements": [
32
+ {
33
+ "_type": "UMLClassDiagram",
34
+ "_id": "AAAAAAFcnK0dbeAQkro=",
35
+ "_parent": {
36
+ "$ref": "AAAAAAFX+txqBkS8DRI="
37
+ },
38
+ "name": "main",
39
+ "ownedViews": [
40
+ {
41
+ "_type": "UMLDataTypeView",
42
+ "_id": "AAAAAAF+QqP8dJexAK4=",
43
+ "_parent": {
44
+ "$ref": "AAAAAAFcnK0dbeAQkro="
45
+ },
46
+ "model": {
47
+ "$ref": "AAAAAAF+QqP8b5evE04="
48
+ },
49
+ "subViews": [
50
+ {
51
+ "_type": "UMLNameCompartmentView",
52
+ "_id": "AAAAAAF+QqP8dZeyyzc=",
53
+ "_parent": {
54
+ "$ref": "AAAAAAF+QqP8dJexAK4="
55
+ },
56
+ "model": {
57
+ "$ref": "AAAAAAF+QqP8b5evE04="
58
+ },
59
+ "subViews": [
60
+ {
61
+ "_type": "LabelView",
62
+ "_id": "AAAAAAF+QqP8dZezz68=",
63
+ "_parent": {
64
+ "$ref": "AAAAAAF+QqP8dZeyyzc="
65
+ },
66
+ "font": "Arial;13;0",
67
+ "left": 133,
68
+ "top": 141,
69
+ "width": 74.0517578125,
70
+ "height": 13,
71
+ "text": "«dataType»"
72
+ },
73
+ {
74
+ "_type": "LabelView",
75
+ "_id": "AAAAAAF+QqP8dpe0Lh4=",
76
+ "_parent": {
77
+ "$ref": "AAAAAAF+QqP8dZeyyzc="
78
+ },
79
+ "font": "Arial;13;1",
80
+ "left": 133,
81
+ "top": 156,
82
+ "width": 74.0517578125,
83
+ "height": 13,
84
+ "text": "422_result"
85
+ },
86
+ {
87
+ "_type": "LabelView",
88
+ "_id": "AAAAAAF+QqP8dpe1LgI=",
89
+ "_parent": {
90
+ "$ref": "AAAAAAF+QqP8dZeyyzc="
91
+ },
92
+ "visible": false,
93
+ "font": "Arial;13;0",
94
+ "width": 87.4072265625,
95
+ "height": 13,
96
+ "text": "(from swagger)"
97
+ },
98
+ {
99
+ "_type": "LabelView",
100
+ "_id": "AAAAAAF+QqP8dpe2Cy8=",
101
+ "_parent": {
102
+ "$ref": "AAAAAAF+QqP8dZeyyzc="
103
+ },
104
+ "visible": false,
105
+ "font": "Arial;13;0",
106
+ "height": 13,
107
+ "horizontalAlignment": 1
108
+ }
109
+ ],
110
+ "font": "Arial;13;0",
111
+ "left": 128,
112
+ "top": 136,
113
+ "width": 84.0517578125,
114
+ "height": 38,
115
+ "stereotypeLabel": {
116
+ "$ref": "AAAAAAF+QqP8dZezz68="
117
+ },
118
+ "nameLabel": {
119
+ "$ref": "AAAAAAF+QqP8dpe0Lh4="
120
+ },
121
+ "namespaceLabel": {
122
+ "$ref": "AAAAAAF+QqP8dpe1LgI="
123
+ },
124
+ "propertyLabel": {
125
+ "$ref": "AAAAAAF+QqP8dpe2Cy8="
126
+ }
127
+ },
128
+ {
129
+ "_type": "UMLAttributeCompartmentView",
130
+ "_id": "AAAAAAF+QqP8dpe354A=",
131
+ "_parent": {
132
+ "$ref": "AAAAAAF+QqP8dJexAK4="
133
+ },
134
+ "model": {
135
+ "$ref": "AAAAAAF+QqP8b5evE04="
136
+ },
137
+ "subViews": [
138
+ {
139
+ "_type": "UMLAttributeView",
140
+ "_id": "AAAAAAF+QqQ2ZJfd66g=",
141
+ "_parent": {
142
+ "$ref": "AAAAAAF+QqP8dpe354A="
143
+ },
144
+ "model": {
145
+ "$ref": "AAAAAAF+QqQ2UJfabVY="
146
+ },
147
+ "font": "Arial;13;0",
148
+ "left": 133,
149
+ "top": 179,
150
+ "width": 74.0517578125,
151
+ "height": 13,
152
+ "text": "+error: string",
153
+ "horizontalAlignment": 0
154
+ }
155
+ ],
156
+ "font": "Arial;13;0",
157
+ "left": 128,
158
+ "top": 174,
159
+ "width": 84.0517578125,
160
+ "height": 23
161
+ },
162
+ {
163
+ "_type": "UMLOperationCompartmentView",
164
+ "_id": "AAAAAAF+QqP8d5e4qFo=",
165
+ "_parent": {
166
+ "$ref": "AAAAAAF+QqP8dJexAK4="
167
+ },
168
+ "model": {
169
+ "$ref": "AAAAAAF+QqP8b5evE04="
170
+ },
171
+ "visible": false,
172
+ "font": "Arial;13;0",
173
+ "width": 10,
174
+ "height": 10
175
+ },
176
+ {
177
+ "_type": "UMLReceptionCompartmentView",
178
+ "_id": "AAAAAAF+QqP8d5e5CXY=",
179
+ "_parent": {
180
+ "$ref": "AAAAAAF+QqP8dJexAK4="
181
+ },
182
+ "model": {
183
+ "$ref": "AAAAAAF+QqP8b5evE04="
184
+ },
185
+ "visible": false,
186
+ "font": "Arial;13;0",
187
+ "width": 10,
188
+ "height": 10
189
+ },
190
+ {
191
+ "_type": "UMLTemplateParameterCompartmentView",
192
+ "_id": "AAAAAAF+QqP8d5e6wkE=",
193
+ "_parent": {
194
+ "$ref": "AAAAAAF+QqP8dJexAK4="
195
+ },
196
+ "model": {
197
+ "$ref": "AAAAAAF+QqP8b5evE04="
198
+ },
199
+ "visible": false,
200
+ "font": "Arial;13;0",
201
+ "width": 10,
202
+ "height": 10
203
+ }
204
+ ],
205
+ "font": "Arial;13;0",
206
+ "containerChangeable": true,
207
+ "left": 128,
208
+ "top": 136,
209
+ "width": 84.0517578125,
210
+ "height": 61,
211
+ "nameCompartment": {
212
+ "$ref": "AAAAAAF+QqP8dZeyyzc="
213
+ },
214
+ "suppressOperations": true,
215
+ "attributeCompartment": {
216
+ "$ref": "AAAAAAF+QqP8dpe354A="
217
+ },
218
+ "operationCompartment": {
219
+ "$ref": "AAAAAAF+QqP8d5e4qFo="
220
+ },
221
+ "receptionCompartment": {
222
+ "$ref": "AAAAAAF+QqP8d5e5CXY="
223
+ },
224
+ "templateParameterCompartment": {
225
+ "$ref": "AAAAAAF+QqP8d5e6wkE="
226
+ }
227
+ }
228
+ ]
229
+ },
230
+ {
231
+ "_type": "UMLPackage",
232
+ "_id": "AAAAAAFgAaisXYfkW8E=",
233
+ "_parent": {
234
+ "$ref": "AAAAAAFX+txqBkS8DRI="
235
+ },
236
+ "name": "healthmng",
237
+ "ownedElements": [
238
+ {
239
+ "_type": "UMLClassDiagram",
240
+ "_id": "AAAAAAFgAaisXofleNQ=",
241
+ "_parent": {
242
+ "$ref": "AAAAAAFgAaisXYfkW8E="
243
+ },
244
+ "name": "main",
245
+ "ownedViews": [
246
+ {
247
+ "_type": "UMLSignalView",
248
+ "_id": "AAAAAAFgAaisXofmrek=",
249
+ "_parent": {
250
+ "$ref": "AAAAAAFgAaisXofleNQ="
251
+ },
252
+ "model": {
253
+ "$ref": "AAAAAAFgAaisX4gGZQs="
254
+ },
255
+ "subViews": [
256
+ {
257
+ "_type": "UMLNameCompartmentView",
258
+ "_id": "AAAAAAFgAaisXofnpfk=",
259
+ "_parent": {
260
+ "$ref": "AAAAAAFgAaisXofmrek="
261
+ },
262
+ "model": {
263
+ "$ref": "AAAAAAFgAaisX4gGZQs="
264
+ },
265
+ "subViews": [
266
+ {
267
+ "_type": "LabelView",
268
+ "_id": "AAAAAAFgAaisXofoItY=",
269
+ "_parent": {
270
+ "$ref": "AAAAAAFgAaisXofnpfk="
271
+ },
272
+ "font": "Arial;13;0",
273
+ "left": 77,
274
+ "top": 85,
275
+ "width": 268.150390625,
276
+ "height": 13,
277
+ "text": "«signal»"
278
+ },
279
+ {
280
+ "_type": "LabelView",
281
+ "_id": "AAAAAAFgAaisXofpu10=",
282
+ "_parent": {
283
+ "$ref": "AAAAAAFgAaisXofnpfk="
284
+ },
285
+ "font": "Arial;13;1",
286
+ "left": 77,
287
+ "top": 100,
288
+ "width": 268.150390625,
289
+ "height": 13,
290
+ "text": "health_s"
291
+ },
292
+ {
293
+ "_type": "LabelView",
294
+ "_id": "AAAAAAFgAaisXofq0vM=",
295
+ "_parent": {
296
+ "$ref": "AAAAAAFgAaisXofnpfk="
297
+ },
298
+ "visible": false,
299
+ "font": "Arial;13;0",
300
+ "left": -176,
301
+ "width": 109.8271484375,
302
+ "height": 13,
303
+ "text": "(from healthmng)"
304
+ },
305
+ {
306
+ "_type": "LabelView",
307
+ "_id": "AAAAAAFgAaisXofrh1A=",
308
+ "_parent": {
309
+ "$ref": "AAAAAAFgAaisXofnpfk="
310
+ },
311
+ "visible": false,
312
+ "font": "Arial;13;0",
313
+ "left": -176,
314
+ "height": 13,
315
+ "horizontalAlignment": 1
316
+ }
317
+ ],
318
+ "font": "Arial;13;0",
319
+ "left": 72,
320
+ "top": 80,
321
+ "width": 278.150390625,
322
+ "height": 38,
323
+ "stereotypeLabel": {
324
+ "$ref": "AAAAAAFgAaisXofoItY="
325
+ },
326
+ "nameLabel": {
327
+ "$ref": "AAAAAAFgAaisXofpu10="
328
+ },
329
+ "namespaceLabel": {
330
+ "$ref": "AAAAAAFgAaisXofq0vM="
331
+ },
332
+ "propertyLabel": {
333
+ "$ref": "AAAAAAFgAaisXofrh1A="
334
+ }
335
+ },
336
+ {
337
+ "_type": "UMLAttributeCompartmentView",
338
+ "_id": "AAAAAAFgAaisXofssCE=",
339
+ "_parent": {
340
+ "$ref": "AAAAAAFgAaisXofmrek="
341
+ },
342
+ "model": {
343
+ "$ref": "AAAAAAFgAaisX4gGZQs="
344
+ },
345
+ "font": "Arial;13;0",
346
+ "left": 72,
347
+ "top": 118,
348
+ "width": 278.150390625,
349
+ "height": 10
350
+ },
351
+ {
352
+ "_type": "UMLOperationCompartmentView",
353
+ "_id": "AAAAAAFgAaisXoftCTs=",
354
+ "_parent": {
355
+ "$ref": "AAAAAAFgAaisXofmrek="
356
+ },
357
+ "model": {
358
+ "$ref": "AAAAAAFgAaisX4gGZQs="
359
+ },
360
+ "subViews": [
361
+ {
362
+ "_type": "UMLOperationView",
363
+ "_id": "AAAAAAFgAaisXofuDXc=",
364
+ "_parent": {
365
+ "$ref": "AAAAAAFgAaisXoftCTs="
366
+ },
367
+ "model": {
368
+ "$ref": "AAAAAAFgAaisX4gHeEQ="
369
+ },
370
+ "font": "Arial;13;0",
371
+ "left": 77,
372
+ "top": 133,
373
+ "width": 268.150390625,
374
+ "height": 13,
375
+ "text": "«get»+health(in: get_health_i): get_health_r",
376
+ "horizontalAlignment": 0
377
+ }
378
+ ],
379
+ "font": "Arial;13;0",
380
+ "left": 72,
381
+ "top": 128,
382
+ "width": 278.150390625,
383
+ "height": 23
384
+ },
385
+ {
386
+ "_type": "UMLReceptionCompartmentView",
387
+ "_id": "AAAAAAFgAaisXofvHao=",
388
+ "_parent": {
389
+ "$ref": "AAAAAAFgAaisXofmrek="
390
+ },
391
+ "model": {
392
+ "$ref": "AAAAAAFgAaisX4gGZQs="
393
+ },
394
+ "visible": false,
395
+ "font": "Arial;13;0",
396
+ "left": -88,
397
+ "width": 10,
398
+ "height": 10
399
+ },
400
+ {
401
+ "_type": "UMLTemplateParameterCompartmentView",
402
+ "_id": "AAAAAAFgAaisXofwZys=",
403
+ "_parent": {
404
+ "$ref": "AAAAAAFgAaisXofmrek="
405
+ },
406
+ "model": {
407
+ "$ref": "AAAAAAFgAaisX4gGZQs="
408
+ },
409
+ "visible": false,
410
+ "font": "Arial;13;0",
411
+ "left": -88,
412
+ "width": 10,
413
+ "height": 10
414
+ }
415
+ ],
416
+ "font": "Arial;13;0",
417
+ "containerChangeable": true,
418
+ "left": 72,
419
+ "top": 80,
420
+ "width": 278.150390625,
421
+ "height": 86,
422
+ "nameCompartment": {
423
+ "$ref": "AAAAAAFgAaisXofnpfk="
424
+ },
425
+ "attributeCompartment": {
426
+ "$ref": "AAAAAAFgAaisXofssCE="
427
+ },
428
+ "operationCompartment": {
429
+ "$ref": "AAAAAAFgAaisXoftCTs="
430
+ },
431
+ "receptionCompartment": {
432
+ "$ref": "AAAAAAFgAaisXofvHao="
433
+ },
434
+ "templateParameterCompartment": {
435
+ "$ref": "AAAAAAFgAaisXofwZys="
436
+ }
437
+ },
438
+ {
439
+ "_type": "UMLPrimitiveTypeView",
440
+ "_id": "AAAAAAFgAaisXofxDJA=",
441
+ "_parent": {
442
+ "$ref": "AAAAAAFgAaisXofleNQ="
443
+ },
444
+ "model": {
445
+ "$ref": "AAAAAAFgAaisYIgKcO0="
446
+ },
447
+ "subViews": [
448
+ {
449
+ "_type": "UMLNameCompartmentView",
450
+ "_id": "AAAAAAFgAaisX4fyz1Q=",
451
+ "_parent": {
452
+ "$ref": "AAAAAAFgAaisXofxDJA="
453
+ },
454
+ "model": {
455
+ "$ref": "AAAAAAFgAaisYIgKcO0="
456
+ },
457
+ "subViews": [
458
+ {
459
+ "_type": "LabelView",
460
+ "_id": "AAAAAAFgAaisX4fz3lQ=",
461
+ "_parent": {
462
+ "$ref": "AAAAAAFgAaisX4fyz1Q="
463
+ },
464
+ "font": "Arial;13;0",
465
+ "left": 397,
466
+ "top": 101,
467
+ "width": 99.328125,
468
+ "height": 13,
469
+ "text": "«primitiveType»"
470
+ },
471
+ {
472
+ "_type": "LabelView",
473
+ "_id": "AAAAAAFgAaisX4f0w6I=",
474
+ "_parent": {
475
+ "$ref": "AAAAAAFgAaisX4fyz1Q="
476
+ },
477
+ "font": "Arial;13;1",
478
+ "left": 397,
479
+ "top": 116,
480
+ "width": 99.328125,
481
+ "height": 13,
482
+ "text": "get_health_i"
483
+ },
484
+ {
485
+ "_type": "LabelView",
486
+ "_id": "AAAAAAFgAaisX4f1TF8=",
487
+ "_parent": {
488
+ "$ref": "AAAAAAFgAaisX4fyz1Q="
489
+ },
490
+ "visible": false,
491
+ "font": "Arial;13;0",
492
+ "left": 176,
493
+ "width": 109.8271484375,
494
+ "height": 13,
495
+ "text": "(from healthmng)"
496
+ },
497
+ {
498
+ "_type": "LabelView",
499
+ "_id": "AAAAAAFgAaisX4f2f4s=",
500
+ "_parent": {
501
+ "$ref": "AAAAAAFgAaisX4fyz1Q="
502
+ },
503
+ "visible": false,
504
+ "font": "Arial;13;0",
505
+ "left": 176,
506
+ "height": 13,
507
+ "horizontalAlignment": 1
508
+ }
509
+ ],
510
+ "font": "Arial;13;0",
511
+ "left": 392,
512
+ "top": 96,
513
+ "width": 109.328125,
514
+ "height": 38,
515
+ "stereotypeLabel": {
516
+ "$ref": "AAAAAAFgAaisX4fz3lQ="
517
+ },
518
+ "nameLabel": {
519
+ "$ref": "AAAAAAFgAaisX4f0w6I="
520
+ },
521
+ "namespaceLabel": {
522
+ "$ref": "AAAAAAFgAaisX4f1TF8="
523
+ },
524
+ "propertyLabel": {
525
+ "$ref": "AAAAAAFgAaisX4f2f4s="
526
+ }
527
+ },
528
+ {
529
+ "_type": "UMLAttributeCompartmentView",
530
+ "_id": "AAAAAAFgAaisX4f39fY=",
531
+ "_parent": {
532
+ "$ref": "AAAAAAFgAaisXofxDJA="
533
+ },
534
+ "model": {
535
+ "$ref": "AAAAAAFgAaisYIgKcO0="
536
+ },
537
+ "visible": false,
538
+ "font": "Arial;13;0",
539
+ "left": 88,
540
+ "width": 10,
541
+ "height": 10
542
+ },
543
+ {
544
+ "_type": "UMLOperationCompartmentView",
545
+ "_id": "AAAAAAFgAaisX4f4j8U=",
546
+ "_parent": {
547
+ "$ref": "AAAAAAFgAaisXofxDJA="
548
+ },
549
+ "model": {
550
+ "$ref": "AAAAAAFgAaisYIgKcO0="
551
+ },
552
+ "visible": false,
553
+ "font": "Arial;13;0",
554
+ "left": 88,
555
+ "width": 10,
556
+ "height": 10
557
+ },
558
+ {
559
+ "_type": "UMLReceptionCompartmentView",
560
+ "_id": "AAAAAAFgAaisX4f5YTk=",
561
+ "_parent": {
562
+ "$ref": "AAAAAAFgAaisXofxDJA="
563
+ },
564
+ "model": {
565
+ "$ref": "AAAAAAFgAaisYIgKcO0="
566
+ },
567
+ "visible": false,
568
+ "font": "Arial;13;0",
569
+ "left": 88,
570
+ "width": 10,
571
+ "height": 10
572
+ },
573
+ {
574
+ "_type": "UMLTemplateParameterCompartmentView",
575
+ "_id": "AAAAAAFgAaisX4f6za8=",
576
+ "_parent": {
577
+ "$ref": "AAAAAAFgAaisXofxDJA="
578
+ },
579
+ "model": {
580
+ "$ref": "AAAAAAFgAaisYIgKcO0="
581
+ },
582
+ "visible": false,
583
+ "font": "Arial;13;0",
584
+ "left": 88,
585
+ "width": 10,
586
+ "height": 10
587
+ }
588
+ ],
589
+ "font": "Arial;13;0",
590
+ "containerChangeable": true,
591
+ "left": 392,
592
+ "top": 96,
593
+ "width": 109.328125,
594
+ "height": 38,
595
+ "nameCompartment": {
596
+ "$ref": "AAAAAAFgAaisX4fyz1Q="
597
+ },
598
+ "suppressAttributes": true,
599
+ "suppressOperations": true,
600
+ "attributeCompartment": {
601
+ "$ref": "AAAAAAFgAaisX4f39fY="
602
+ },
603
+ "operationCompartment": {
604
+ "$ref": "AAAAAAFgAaisX4f4j8U="
605
+ },
606
+ "receptionCompartment": {
607
+ "$ref": "AAAAAAFgAaisX4f5YTk="
608
+ },
609
+ "templateParameterCompartment": {
610
+ "$ref": "AAAAAAFgAaisX4f6za8="
611
+ }
612
+ },
613
+ {
614
+ "_type": "UMLPrimitiveTypeView",
615
+ "_id": "AAAAAAFgAaisX4f7k2o=",
616
+ "_parent": {
617
+ "$ref": "AAAAAAFgAaisXofleNQ="
618
+ },
619
+ "model": {
620
+ "$ref": "AAAAAAFgAaisYIgLyT4="
621
+ },
622
+ "subViews": [
623
+ {
624
+ "_type": "UMLNameCompartmentView",
625
+ "_id": "AAAAAAFgAaisX4f8eoM=",
626
+ "_parent": {
627
+ "$ref": "AAAAAAFgAaisX4f7k2o="
628
+ },
629
+ "model": {
630
+ "$ref": "AAAAAAFgAaisYIgLyT4="
631
+ },
632
+ "subViews": [
633
+ {
634
+ "_type": "LabelView",
635
+ "_id": "AAAAAAFgAaisX4f96b0=",
636
+ "_parent": {
637
+ "$ref": "AAAAAAFgAaisX4f8eoM="
638
+ },
639
+ "font": "Arial;13;0",
640
+ "left": 525,
641
+ "top": 101,
642
+ "width": 99.328125,
643
+ "height": 13,
644
+ "text": "«primitiveType»"
645
+ },
646
+ {
647
+ "_type": "LabelView",
648
+ "_id": "AAAAAAFgAaisX4f+HcU=",
649
+ "_parent": {
650
+ "$ref": "AAAAAAFgAaisX4f8eoM="
651
+ },
652
+ "font": "Arial;13;1",
653
+ "left": 525,
654
+ "top": 116,
655
+ "width": 99.328125,
656
+ "height": 13,
657
+ "text": "get_health_r"
658
+ },
659
+ {
660
+ "_type": "LabelView",
661
+ "_id": "AAAAAAFgAaisX4f/K9E=",
662
+ "_parent": {
663
+ "$ref": "AAAAAAFgAaisX4f8eoM="
664
+ },
665
+ "visible": false,
666
+ "font": "Arial;13;0",
667
+ "top": -16,
668
+ "width": 109.8271484375,
669
+ "height": 13,
670
+ "text": "(from healthmng)"
671
+ },
672
+ {
673
+ "_type": "LabelView",
674
+ "_id": "AAAAAAFgAaisX4gAmX4=",
675
+ "_parent": {
676
+ "$ref": "AAAAAAFgAaisX4f8eoM="
677
+ },
678
+ "visible": false,
679
+ "font": "Arial;13;0",
680
+ "top": -16,
681
+ "height": 13,
682
+ "horizontalAlignment": 1
683
+ }
684
+ ],
685
+ "font": "Arial;13;0",
686
+ "left": 520,
687
+ "top": 96,
688
+ "width": 109.328125,
689
+ "height": 38,
690
+ "stereotypeLabel": {
691
+ "$ref": "AAAAAAFgAaisX4f96b0="
692
+ },
693
+ "nameLabel": {
694
+ "$ref": "AAAAAAFgAaisX4f+HcU="
695
+ },
696
+ "namespaceLabel": {
697
+ "$ref": "AAAAAAFgAaisX4f/K9E="
698
+ },
699
+ "propertyLabel": {
700
+ "$ref": "AAAAAAFgAaisX4gAmX4="
701
+ }
702
+ },
703
+ {
704
+ "_type": "UMLAttributeCompartmentView",
705
+ "_id": "AAAAAAFgAaisX4gBJvU=",
706
+ "_parent": {
707
+ "$ref": "AAAAAAFgAaisX4f7k2o="
708
+ },
709
+ "model": {
710
+ "$ref": "AAAAAAFgAaisYIgLyT4="
711
+ },
712
+ "subViews": [
713
+ {
714
+ "_type": "UMLAttributeView",
715
+ "_id": "AAAAAAFgAaisX4gC4KE=",
716
+ "_parent": {
717
+ "$ref": "AAAAAAFgAaisX4gBJvU="
718
+ },
719
+ "model": {
720
+ "$ref": "AAAAAAFgAaisYIgMkfo="
721
+ },
722
+ "font": "Arial;13;0",
723
+ "left": 525,
724
+ "top": 139,
725
+ "width": 99.328125,
726
+ "height": 13,
727
+ "text": "+default: string",
728
+ "horizontalAlignment": 0
729
+ },
730
+ {
731
+ "_type": "UMLAttributeView",
732
+ "_id": "AAAAAAF+QqSLSZfk7i4=",
733
+ "_parent": {
734
+ "$ref": "AAAAAAFgAaisX4gBJvU="
735
+ },
736
+ "model": {
737
+ "$ref": "AAAAAAF+QqSLDJfhKTs="
738
+ },
739
+ "font": "Arial;13;0",
740
+ "left": 525,
741
+ "top": 154,
742
+ "width": 99.328125,
743
+ "height": 13,
744
+ "text": "+422: 422_result",
745
+ "horizontalAlignment": 0
746
+ }
747
+ ],
748
+ "font": "Arial;13;0",
749
+ "left": 520,
750
+ "top": 134,
751
+ "width": 109.328125,
752
+ "height": 38
753
+ },
754
+ {
755
+ "_type": "UMLOperationCompartmentView",
756
+ "_id": "AAAAAAFgAaisX4gDzt0=",
757
+ "_parent": {
758
+ "$ref": "AAAAAAFgAaisX4f7k2o="
759
+ },
760
+ "model": {
761
+ "$ref": "AAAAAAFgAaisYIgLyT4="
762
+ },
763
+ "visible": false,
764
+ "font": "Arial;13;0",
765
+ "top": -8,
766
+ "width": 10,
767
+ "height": 10
768
+ },
769
+ {
770
+ "_type": "UMLReceptionCompartmentView",
771
+ "_id": "AAAAAAFgAaisX4gE614=",
772
+ "_parent": {
773
+ "$ref": "AAAAAAFgAaisX4f7k2o="
774
+ },
775
+ "model": {
776
+ "$ref": "AAAAAAFgAaisYIgLyT4="
777
+ },
778
+ "visible": false,
779
+ "font": "Arial;13;0",
780
+ "top": -8,
781
+ "width": 10,
782
+ "height": 10
783
+ },
784
+ {
785
+ "_type": "UMLTemplateParameterCompartmentView",
786
+ "_id": "AAAAAAFgAaisX4gFeks=",
787
+ "_parent": {
788
+ "$ref": "AAAAAAFgAaisX4f7k2o="
789
+ },
790
+ "model": {
791
+ "$ref": "AAAAAAFgAaisYIgLyT4="
792
+ },
793
+ "visible": false,
794
+ "font": "Arial;13;0",
795
+ "top": -8,
796
+ "width": 10,
797
+ "height": 10
798
+ }
799
+ ],
800
+ "font": "Arial;13;0",
801
+ "containerChangeable": true,
802
+ "left": 520,
803
+ "top": 96,
804
+ "width": 109.328125,
805
+ "height": 76,
806
+ "nameCompartment": {
807
+ "$ref": "AAAAAAFgAaisX4f8eoM="
808
+ },
809
+ "suppressOperations": true,
810
+ "attributeCompartment": {
811
+ "$ref": "AAAAAAFgAaisX4gBJvU="
812
+ },
813
+ "operationCompartment": {
814
+ "$ref": "AAAAAAFgAaisX4gDzt0="
815
+ },
816
+ "receptionCompartment": {
817
+ "$ref": "AAAAAAFgAaisX4gE614="
818
+ },
819
+ "templateParameterCompartment": {
820
+ "$ref": "AAAAAAFgAaisX4gFeks="
821
+ }
822
+ },
823
+ {
824
+ "_type": "UMLDataTypeView",
825
+ "_id": "AAAAAAF+QqvPgJfpOx8=",
826
+ "_parent": {
827
+ "$ref": "AAAAAAFgAaisXofleNQ="
828
+ },
829
+ "model": {
830
+ "$ref": "AAAAAAF+QqP8b5evE04="
831
+ },
832
+ "subViews": [
833
+ {
834
+ "_type": "UMLNameCompartmentView",
835
+ "_id": "AAAAAAF+QqvPgJfqgRw=",
836
+ "_parent": {
837
+ "$ref": "AAAAAAF+QqvPgJfpOx8="
838
+ },
839
+ "model": {
840
+ "$ref": "AAAAAAF+QqP8b5evE04="
841
+ },
842
+ "subViews": [
843
+ {
844
+ "_type": "LabelView",
845
+ "_id": "AAAAAAF+QqvPgJfr8qw=",
846
+ "_parent": {
847
+ "$ref": "AAAAAAF+QqvPgJfqgRw="
848
+ },
849
+ "font": "Arial;13;0",
850
+ "left": 506,
851
+ "top": 284,
852
+ "width": 87.4072265625,
853
+ "height": 13,
854
+ "text": "«dataType»"
855
+ },
856
+ {
857
+ "_type": "LabelView",
858
+ "_id": "AAAAAAF+QqvPgJfs7cw=",
859
+ "_parent": {
860
+ "$ref": "AAAAAAF+QqvPgJfqgRw="
861
+ },
862
+ "font": "Arial;13;1",
863
+ "left": 506,
864
+ "top": 299,
865
+ "width": 87.4072265625,
866
+ "height": 13,
867
+ "text": "422_result"
868
+ },
869
+ {
870
+ "_type": "LabelView",
871
+ "_id": "AAAAAAF+QqvPgJftbYs=",
872
+ "_parent": {
873
+ "$ref": "AAAAAAF+QqvPgJfqgRw="
874
+ },
875
+ "font": "Arial;13;0",
876
+ "left": 506,
877
+ "top": 314,
878
+ "width": 87.4072265625,
879
+ "height": 13,
880
+ "text": "(from swagger)"
881
+ },
882
+ {
883
+ "_type": "LabelView",
884
+ "_id": "AAAAAAF+QqvPgJfu8EY=",
885
+ "_parent": {
886
+ "$ref": "AAAAAAF+QqvPgJfqgRw="
887
+ },
888
+ "visible": false,
889
+ "font": "Arial;13;0",
890
+ "height": 13,
891
+ "horizontalAlignment": 1
892
+ }
893
+ ],
894
+ "font": "Arial;13;0",
895
+ "left": 501,
896
+ "top": 279,
897
+ "width": 97.4072265625,
898
+ "height": 53,
899
+ "stereotypeLabel": {
900
+ "$ref": "AAAAAAF+QqvPgJfr8qw="
901
+ },
902
+ "nameLabel": {
903
+ "$ref": "AAAAAAF+QqvPgJfs7cw="
904
+ },
905
+ "namespaceLabel": {
906
+ "$ref": "AAAAAAF+QqvPgJftbYs="
907
+ },
908
+ "propertyLabel": {
909
+ "$ref": "AAAAAAF+QqvPgJfu8EY="
910
+ }
911
+ },
912
+ {
913
+ "_type": "UMLAttributeCompartmentView",
914
+ "_id": "AAAAAAF+QqvPgZfvFYE=",
915
+ "_parent": {
916
+ "$ref": "AAAAAAF+QqvPgJfpOx8="
917
+ },
918
+ "model": {
919
+ "$ref": "AAAAAAF+QqP8b5evE04="
920
+ },
921
+ "subViews": [
922
+ {
923
+ "_type": "UMLAttributeView",
924
+ "_id": "AAAAAAF+QqvPw5gPj9I=",
925
+ "_parent": {
926
+ "$ref": "AAAAAAF+QqvPgZfvFYE="
927
+ },
928
+ "model": {
929
+ "$ref": "AAAAAAF+QqQ2UJfabVY="
930
+ },
931
+ "font": "Arial;13;0",
932
+ "left": 506,
933
+ "top": 337,
934
+ "width": 87.4072265625,
935
+ "height": 13,
936
+ "text": "+error: string",
937
+ "horizontalAlignment": 0
938
+ }
939
+ ],
940
+ "font": "Arial;13;0",
941
+ "left": 501,
942
+ "top": 332,
943
+ "width": 97.4072265625,
944
+ "height": 23
945
+ },
946
+ {
947
+ "_type": "UMLOperationCompartmentView",
948
+ "_id": "AAAAAAF+QqvPgZfwsxg=",
949
+ "_parent": {
950
+ "$ref": "AAAAAAF+QqvPgJfpOx8="
951
+ },
952
+ "model": {
953
+ "$ref": "AAAAAAF+QqP8b5evE04="
954
+ },
955
+ "visible": false,
956
+ "font": "Arial;13;0",
957
+ "width": 10,
958
+ "height": 10
959
+ },
960
+ {
961
+ "_type": "UMLReceptionCompartmentView",
962
+ "_id": "AAAAAAF+QqvPgZfx+QQ=",
963
+ "_parent": {
964
+ "$ref": "AAAAAAF+QqvPgJfpOx8="
965
+ },
966
+ "model": {
967
+ "$ref": "AAAAAAF+QqP8b5evE04="
968
+ },
969
+ "visible": false,
970
+ "font": "Arial;13;0",
971
+ "width": 10,
972
+ "height": 10
973
+ },
974
+ {
975
+ "_type": "UMLTemplateParameterCompartmentView",
976
+ "_id": "AAAAAAF+QqvPgZfybh4=",
977
+ "_parent": {
978
+ "$ref": "AAAAAAF+QqvPgJfpOx8="
979
+ },
980
+ "model": {
981
+ "$ref": "AAAAAAF+QqP8b5evE04="
982
+ },
983
+ "visible": false,
984
+ "font": "Arial;13;0",
985
+ "width": 10,
986
+ "height": 10
987
+ }
988
+ ],
989
+ "font": "Arial;13;0",
990
+ "containerChangeable": true,
991
+ "left": 501,
992
+ "top": 279,
993
+ "width": 97.4072265625,
994
+ "height": 91,
995
+ "showNamespace": true,
996
+ "nameCompartment": {
997
+ "$ref": "AAAAAAF+QqvPgJfqgRw="
998
+ },
999
+ "suppressOperations": true,
1000
+ "attributeCompartment": {
1001
+ "$ref": "AAAAAAF+QqvPgZfvFYE="
1002
+ },
1003
+ "operationCompartment": {
1004
+ "$ref": "AAAAAAF+QqvPgZfwsxg="
1005
+ },
1006
+ "receptionCompartment": {
1007
+ "$ref": "AAAAAAF+QqvPgZfx+QQ="
1008
+ },
1009
+ "templateParameterCompartment": {
1010
+ "$ref": "AAAAAAF+QqvPgZfybh4="
1011
+ }
1012
+ }
1013
+ ]
1014
+ },
1015
+ {
1016
+ "_type": "UMLSignal",
1017
+ "_id": "AAAAAAFgAaisX4gGZQs=",
1018
+ "_parent": {
1019
+ "$ref": "AAAAAAFgAaisXYfkW8E="
1020
+ },
1021
+ "name": "health_s",
1022
+ "operations": [
1023
+ {
1024
+ "_type": "UMLOperation",
1025
+ "_id": "AAAAAAFgAaisX4gHeEQ=",
1026
+ "_parent": {
1027
+ "$ref": "AAAAAAFgAaisX4gGZQs="
1028
+ },
1029
+ "name": "health",
1030
+ "documentation": "服务健康检查",
1031
+ "stereotype": "get",
1032
+ "parameters": [
1033
+ {
1034
+ "_type": "UMLParameter",
1035
+ "_id": "AAAAAAFgAaisYIgIifA=",
1036
+ "_parent": {
1037
+ "$ref": "AAAAAAFgAaisX4gHeEQ="
1038
+ },
1039
+ "name": "in",
1040
+ "type": {
1041
+ "$ref": "AAAAAAFgAaisYIgKcO0="
1042
+ }
1043
+ },
1044
+ {
1045
+ "_type": "UMLParameter",
1046
+ "_id": "AAAAAAFgAaisYIgJ9Xg=",
1047
+ "_parent": {
1048
+ "$ref": "AAAAAAFgAaisX4gHeEQ="
1049
+ },
1050
+ "type": {
1051
+ "$ref": "AAAAAAFgAaisYIgLyT4="
1052
+ },
1053
+ "direction": "return"
1054
+ }
1055
+ ]
1056
+ }
1057
+ ]
1058
+ },
1059
+ {
1060
+ "_type": "UMLPrimitiveType",
1061
+ "_id": "AAAAAAFgAaisYIgKcO0=",
1062
+ "_parent": {
1063
+ "$ref": "AAAAAAFgAaisXYfkW8E="
1064
+ },
1065
+ "name": "get_health_i"
1066
+ },
1067
+ {
1068
+ "_type": "UMLPrimitiveType",
1069
+ "_id": "AAAAAAFgAaisYIgLyT4=",
1070
+ "_parent": {
1071
+ "$ref": "AAAAAAFgAaisXYfkW8E="
1072
+ },
1073
+ "name": "get_health_r",
1074
+ "attributes": [
1075
+ {
1076
+ "_type": "UMLAttribute",
1077
+ "_id": "AAAAAAFgAaisYIgMkfo=",
1078
+ "_parent": {
1079
+ "$ref": "AAAAAAFgAaisYIgLyT4="
1080
+ },
1081
+ "name": "default",
1082
+ "type": "string"
1083
+ },
1084
+ {
1085
+ "_type": "UMLAttribute",
1086
+ "_id": "AAAAAAF+QqSLDJfhKTs=",
1087
+ "_parent": {
1088
+ "$ref": "AAAAAAFgAaisYIgLyT4="
1089
+ },
1090
+ "name": "422",
1091
+ "type": {
1092
+ "$ref": "AAAAAAF+QqP8b5evE04="
1093
+ }
1094
+ }
1095
+ ]
1096
+ }
1097
+ ],
1098
+ "documentation": "健康檢查的api"
1099
+ },
1100
+ {
1101
+ "_type": "UMLDataType",
1102
+ "_id": "AAAAAAF+QqP8b5evE04=",
1103
+ "_parent": {
1104
+ "$ref": "AAAAAAFX+txqBkS8DRI="
1105
+ },
1106
+ "name": "422_result",
1107
+ "attributes": [
1108
+ {
1109
+ "_type": "UMLAttribute",
1110
+ "_id": "AAAAAAF+QqQ2UJfabVY=",
1111
+ "_parent": {
1112
+ "$ref": "AAAAAAF+QqP8b5evE04="
1113
+ },
1114
+ "name": "error",
1115
+ "documentation": "错误原因",
1116
+ "type": "string"
1117
+ }
1118
+ ]
1119
+ }
1120
+ ],
1121
+ "documentation": "swagger 定义\n---\n{\n'name':'{{service_name}}',\n'ver':'v1.0',\n'auth':'jwt',\n'format':'json/html'\n}",
1122
+ "stereotype": ""
1123
+ },
1124
+ {
1125
+ "_type": "UMLModel",
1126
+ "_id": "AAAAAAFcnKhBF9pEd2k=",
1127
+ "_parent": {
1128
+ "$ref": "AAAAAAFF+h6SjaM2Hec="
1129
+ },
1130
+ "name": "logic view",
1131
+ "ownedElements": [
1132
+ {
1133
+ "_type": "UMLClassDiagram",
1134
+ "_id": "AAAAAAFcnKi0XNpKyYw=",
1135
+ "_parent": {
1136
+ "$ref": "AAAAAAFcnKhBF9pEd2k="
1137
+ },
1138
+ "name": "main"
1139
+ },
1140
+ {
1141
+ "_type": "UMLPackage",
1142
+ "_id": "AAAAAAFhskp9laNp52I=",
1143
+ "_parent": {
1144
+ "$ref": "AAAAAAFcnKhBF9pEd2k="
1145
+ },
1146
+ "name": "basedatamng",
1147
+ "ownedElements": [
1148
+ {
1149
+ "_type": "UMLClassDiagram",
1150
+ "_id": "AAAAAAFhskp9lqNq3To=",
1151
+ "_parent": {
1152
+ "$ref": "AAAAAAFhskp9laNp52I="
1153
+ },
1154
+ "name": "main"
1155
+ }
1156
+ ],
1157
+ "documentation": "基本资料"
1158
+ }
1159
+ ],
1160
+ "documentation": "类图"
1161
+ }
1162
+ ],
1163
+ "tags": [
1164
+ {
1165
+ "_type": "Tag",
1166
+ "_id": "AAAAAAFhHALjNNcPdYc=",
1167
+ "_parent": {
1168
+ "$ref": "AAAAAAFF+h6SjaM2Hec="
1169
+ },
1170
+ "name": "swagger",
1171
+ "kind": "string",
1172
+ "value": "{\n'name':'{{service_name}}',\n'ver':'v1.0',\n'auth':'jwt',\n'format':'json'\n}",
1173
+ "reference": {
1174
+ "$ref": "AAAAAAFX+txqBkS8DRI="
1175
+ }
1176
+ },
1177
+ {
1178
+ "_type": "Tag",
1179
+ "_id": "AAAAAAFhHAO9e9cWTas=",
1180
+ "_parent": {
1181
+ "$ref": "AAAAAAFF+h6SjaM2Hec="
1182
+ },
1183
+ "name": "boclass",
1184
+ "kind": "string",
1185
+ "reference": {
1186
+ "$ref": "AAAAAAFcnKhBF9pEd2k="
1187
+ }
1188
+ }
1189
+ ],
1190
+ "author": "cxh",
1191
+ "company": "maxwin",
1192
+ "version": "1.0"
1193
+ }