-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
4579 lines (3148 loc) · 147 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
commit a80479b340a4fd6e557aa9547707c9867ff72526
Merge: 2532be0 7a8aa34
Author: Jenkins <[email protected]>
Date: Tue Oct 22 21:40:17 2013 +0000
Merge "Support for optional task arguments"
commit 2532be0e893af523f0d09d033a44b85a17522165
Merge: 004d483 176bfa6
Author: Jenkins <[email protected]>
Date: Tue Oct 22 18:41:47 2013 +0000
Merge "Do not erase task progress details"
commit 7a8aa34c86530e34e7ed7d6d87344af2c2db0489
Author: Ivan A. Melnikov <[email protected]>
Date: Tue Oct 22 11:25:42 2013 +0400
Support for optional task arguments
We used to ignore optional task arguments (arguments of 'execute' method
with default value). With this change flow author can pass such
arguments to task by mentioning them in 'requires' and/or 'rebind'
task constructor parameters.
Change-Id: Ib92f87eb05623d30db6f1691d75c11376d45c87a
commit 004d48378172417d78810e2d50288f29142232a3
Merge: ba129e2 52c8869
Author: Jenkins <[email protected]>
Date: Fri Oct 18 23:06:49 2013 +0000
Merge "Prepare for 0.1 release"
commit ba129e2201a2a4661666ad55fd5265f0dec6296f
Merge: d3caec4 e7508eb
Author: Jenkins <[email protected]>
Date: Fri Oct 18 19:58:12 2013 +0000
Merge "Unit tests refactoring"
commit d3caec48e4dd305f5079b2b6bcf1f03f219787b1
Merge: cd9c69f 2fb146a
Author: Jenkins <[email protected]>
Date: Fri Oct 18 19:53:36 2013 +0000
Merge "Storage: restore injected data on resumption"
commit 176bfa6ccbac22cf29ef24cf87a825676caa5dfc
Author: Ivan A. Melnikov <[email protected]>
Date: Thu Oct 17 16:35:32 2013 +0400
Do not erase task progress details
Before this change we used to loose any progress details set by task
when it was updating its progress when task state was changed from
RUNNING to SUCCESS (and thus progress forced to 1.0). This commit
fixes this, so that when progress is updated from the engine latest
progress details are preserved.
Breaking change: to allow details to be associated with progress
value they were set for we save progress and then return progress
value with details.
Change-Id: Ic90e61ee3dcf62731696a0f10134bc448e7d6384
commit 2fb146a994fb797e643f55afb9c79326e85fbb59
Author: Ivan A. Melnikov <[email protected]>
Date: Thu Oct 17 15:29:51 2013 +0400
Storage: restore injected data on resumption
In storage we now use single task for injector (we look it up by name)
and we restore result mapping for that task in constructor if there
is one in flow detail we are given. This has visible effect
of injected data staying in storage after resumption.
Closes-bug: #1240931
Change-Id: I2e8fb2c4b5cca769d36f578a934119db4a530f5c
commit cd9c69fa567f06000f7d5f890e38423fea8a1e55
Author: Joshua Harlow <[email protected]>
Date: Thu Oct 17 17:48:54 2013 -0700
Inherit the greenpool default size
Change-Id: Ia2dc394a03c748e919f2251f618131daea9d5eca
commit aee68f5e530f4e2b292b120d63ba5000ae219fe1
Merge: 921081a 7efb839
Author: Jenkins <[email protected]>
Date: Thu Oct 17 19:26:42 2013 +0000
Merge "Add debug logging showing what is flattened"
commit 921081aba8e07d8c2ce6a54698bfb59148d695ab
Merge: 3926304 15e0e00
Author: Jenkins <[email protected]>
Date: Thu Oct 17 19:02:30 2013 +0000
Merge "Use py3kcompat.urlutils from oslo instead of six.urllib_parse"
commit 392630474f03f564573cf53cdff3e8f00a1e2710
Merge: a1fc883 d382a20
Author: Jenkins <[email protected]>
Date: Thu Oct 17 19:01:52 2013 +0000
Merge "Update oslo and bring py3kcompat in"
commit 7efb839f479e80929814407197154716e76ec4b1
Author: Joshua Harlow <[email protected]>
Date: Sun Oct 13 02:38:21 2013 +0000
Add debug logging showing what is flattened
To make it easier to debug what the flattening
process is doing add a decorator that shows the
result of the translation of tasks/flows into
graphs (and prints a useful summary of what is
in the graph after flattening).
Change-Id: I865bda00a0f192c2497cc35537d8ab654d6e8235
commit a1fc8837a9be2816390e6c8bca3bb3227f1f01b1
Author: Joshua Harlow <[email protected]>
Date: Thu Oct 17 08:43:28 2013 -0700
Remove incorrect comment
Change-Id: I1944a9876c221b22f17822970d8929079c0cf5ee
commit e7508eb8e53217d889fe8af24a92cdd0dbb28068
Author: Anastasia Karpinska <[email protected]>
Date: Thu Oct 17 13:16:06 2013 +0300
Unit tests refactoring
* duplicated tests were removed
* common tasks moved to utils
Change-Id: I69c91a264ec668b1333db8fd907298262af098cb
commit 15e0e00051c71c3b39f0a74466c9aac92eae7636
Author: Ivan A. Melnikov <[email protected]>
Date: Thu Oct 17 11:42:46 2013 +0400
Use py3kcompat.urlutils from oslo instead of six.urllib_parse
Six before 1.4.0 does not provide urllib_parse module, so we need
another solution.
Closes-bug: #1240827
Change-Id: I6b49b80b94028e01da0e3c4930f3e97cd32f73d0
commit d382a20517fb40d4ab869c53be512757e8c93570
Author: Ivan A. Melnikov <[email protected]>
Date: Thu Oct 17 11:42:13 2013 +0400
Update oslo and bring py3kcompat in
Related-bug: #1240827
Change-Id: I8f4c78f1ff1cb73fca8af9f6df8392d1636ae95f
commit 176d0a920effa3c4052271de8cedc3b0228a97fc
Author: Ivan A. Melnikov <[email protected]>
Date: Wed Oct 16 19:52:29 2013 +0400
Support several output formats in state_graph tool
This commit adds -T aka --format option to state graph tool that
can be used to specify output format. Supported values are 'dot',
'svg', 'svgz' and 'png'.
Change-Id: I27a74b582726da24a1b05d4ffb72bde860fff417
commit aeb8fb9678475751cf0cdf7143c600be0e7daf71
Merge: d0f61b8 34a4228
Author: Jenkins <[email protected]>
Date: Thu Oct 17 04:21:36 2013 +0000
Merge "Remove task_action state checks"
commit 34a4228fc98c9a6b39402e10ab02cb63a9a8dd6e
Author: Joshua Harlow <[email protected]>
Date: Mon Oct 14 12:25:44 2013 -0700
Remove task_action state checks
Move to using the states module and its
set of states we can ignore transitions to
accomplish the same effect that our previous
task_action lists were accomplishing.
Change-Id: I06c785c0c543634c033997cab22a1f5409f41f25
commit d0f61b8e2fac7a8e60777b03c072242f3afcb868
Merge: 9697732 77f32c2
Author: Jenkins <[email protected]>
Date: Thu Oct 17 00:39:27 2013 +0000
Merge "Wrapped exception doc/intro comment updates"
commit 77f32c2406781a5d6065ec07e5cbb51fe4520e8f
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 16 17:33:16 2013 -0700
Wrapped exception doc/intro comment updates
Change-Id: I21f353858c8556ce375f36693e434004e4b275da
commit 9697732062dbf7ff4aa69f90d7a3dbf273cf3058
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 16 17:09:34 2013 -0700
Doc/intro updates for simple_linear_listening
Change-Id: I084ea894b9c24c3449bd29df5ef1ee999a0fc25a
commit ebfd9d0da9050ae85d0403c2ab30e97a38483b9c
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 16 16:50:57 2013 -0700
Add docs/intro to simple_linear example
Change-Id: I6911337bf492d5cfc7e48a006dbf076826a18a62
commit 99bfca62ebd090d70132e15b57a47444e3895972
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 16 16:39:25 2013 -0700
Update intro/comments for reverting_linear example
Change-Id: Ib06ad263287eed122bfdd61965a9f26c9ec533e6
commit 4fa3a1d35980467f5219e4a925cb1dad53f043d0
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 16 16:18:41 2013 -0700
Add docs explaining what/how resume_volume_create works
Change-Id: I502ba91fe61a236b7643b9799d1cdbc1d1caeeb1
commit 1500be7bf49c15ec42fdfbffea699a46649db81c
Merge: 37ef807 0e75585
Author: Jenkins <[email protected]>
Date: Wed Oct 16 22:49:54 2013 +0000
Merge "A few resuming from backend comment adjustments"
commit 37ef807c6ea16d15a5dc383178c290d41dcf285b
Merge: dedcb8d 2109e9c
Author: Jenkins <[email protected]>
Date: Wed Oct 16 22:48:49 2013 +0000
Merge "Add an introduction to explain resume_many example"
commit dedcb8d4942150406239e471292ea5803bf3aa24
Merge: 31463e9 daa7c9c
Author: Jenkins <[email protected]>
Date: Wed Oct 16 22:46:57 2013 +0000
Merge "Increase persistence example comments"
commit 0e75585e8597a6a7341a5b108bc2a002620fac18
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 16 15:11:32 2013 -0700
A few resuming from backend comment adjustments
Change-Id: I40d8c1926b4bef337eaaf0adc6cae66d023dc200
commit 2109e9c1e51afb4af1282a4e47f6dfd0f20f517a
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 16 15:41:14 2013 -0700
Add an introduction to explain resume_many example
Change-Id: I162eff7b2988418f8dde9d89cd55c9095e72b40a
commit daa7c9cfd8a86955dc50e9144cebb461c1586e2b
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 16 14:12:53 2013 -0700
Increase persistence example comments
Change-Id: Ibd137ea7017bdf248e6ea524cfa7e5b39f4ad37f
commit 31463e952a735387736fe553ffa5f6de9a587cd7
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 16 13:56:03 2013 -0700
Boost graph flow example comments
Change-Id: Ibcfc2cd8e1b516d6481d3ae7e2c4fc753014fb53
commit b8ed518075f6f0c459a3ecf69257989886bf1407
Merge: 4af9fc6 ee1d583
Author: Jenkins <[email protected]>
Date: Wed Oct 16 19:15:33 2013 +0000
Merge "Add task state verification"
commit 4af9fc66e42e423ef880c09863a0227419485591
Merge: 568843f 70d4677
Author: Jenkins <[email protected]>
Date: Tue Oct 15 20:15:38 2013 +0000
Merge "Also allow "_" to be valid identifier"
commit 70d46772b4aadcab3bfed6f6c34dffe4f80bce5f
Author: Joshua Harlow <[email protected]>
Date: Sun Oct 13 17:50:01 2013 +0000
Also allow "_" to be valid identifier
A "_" is a valid python identifier as long as it
is not the first letter of the given attribute (as
an attribute dict doesn't have the concept of
protected/private variables).
Also include a few links and comments as to why
the restrictions are inplace.
Change-Id: I23f17113cedb99b2817bad0c464a43d10af6722c
commit 568843f8ade414211423512b36d49747045c47a1
Author: Ivan A. Melnikov <[email protected]>
Date: Mon Oct 14 13:06:04 2013 +0400
Remove uuid from taskflow.flow.Flow
In a way our resumption works it may not correspond uuid from flow
details, and so it is hardly useful.
Change-Id: I090d017e2f0f8475594af94a2430a34e6ed1ce70
commit ec620ef8a2f81a21cd646a2346ca5df995738e9c
Author: Joshua Harlow <[email protected]>
Date: Mon Oct 14 17:30:45 2013 -0700
A few additional example boot_vm comments + tweaks
Change-Id: I2b8758a16d139bb4454c0debc972a12cac737ad1
commit c8f1f9e173a38555d02e3bd9b592c0dc902ad5c9
Merge: 54632ab 38cf198
Author: Jenkins <[email protected]>
Date: Tue Oct 15 00:14:41 2013 +0000
Merge "Add a resuming booting vm example"
commit 54632ab00d156a92e331870ca1efefbb617586fc
Merge: e69e0f7 f48fb7f
Author: Jenkins <[email protected]>
Date: Tue Oct 15 00:14:12 2013 +0000
Merge "Beef up storage comments"
commit 38cf1981b239a2759a571f27f15df8e5605ea57b
Author: Joshua Harlow <[email protected]>
Date: Mon Oct 14 16:47:33 2013 -0700
Add a resuming booting vm example
Change-Id: I903d55df4c574856e24242def8753f87c2094e9a
commit ee1d583721934cf6cec5c4d443ef66a39f9f6141
Author: Joshua Harlow <[email protected]>
Date: Sat Oct 12 18:33:04 2013 +0000
Add task state verification
Change-Id: I85abee2a1112ce1b9bb708cb9129f06c794f83b1
commit e69e0f7cd4f62f57db4dd24886f6693ac4ad185f
Merge: 0ce2bd0 009f9a1
Author: Jenkins <[email protected]>
Date: Mon Oct 14 18:46:47 2013 +0000
Merge "Removed unused utilities"
commit 0ce2bd086450e2e66f30f543989154dbb83da946
Merge: 78f9da6 961d91f
Author: Jenkins <[email protected]>
Date: Mon Oct 14 18:45:07 2013 +0000
Merge "Helpers to save flow factory in metadata"
commit 78f9da6b574c12425567b642e0d5ded71b23e5fc
Merge: bae0f50 c866318
Author: Jenkins <[email protected]>
Date: Mon Oct 14 18:42:56 2013 +0000
Merge "Storage: add flow name and uuid properties"
commit bae0f506b9f19c89a5ecb66262596e43b7178d05
Merge: c38fbac 28556fd
Author: Jenkins <[email protected]>
Date: Mon Oct 14 18:40:55 2013 +0000
Merge "Create logbook if not provided for create_flow_details"
commit f48fb7f3c3337cd2f6ed82e44580854199d63d1f
Author: Joshua Harlow <[email protected]>
Date: Mon Oct 14 11:29:59 2013 -0700
Beef up storage comments
Add a few comment adjustments and changes to
the storage layer code comments.
Change-Id: I6e8ca80473d4db7588aeacb06d00e5d6774e4f7e
commit c38fbac0001e72ec9dc37f84a554f9973f7714bc
Merge: 8e0035a 1caf6fb
Author: Jenkins <[email protected]>
Date: Mon Oct 14 18:14:07 2013 +0000
Merge "Add more comments to flow/task"
commit 8e0035a3823463f13d895db7da47cb89ba71bf7b
Merge: ca581fd ee83a3f
Author: Jenkins <[email protected]>
Date: Mon Oct 14 17:48:31 2013 +0000
Merge "Pattern comment additions/adjustments"
commit ca581fd593b4726af8e3d7be52c4a69674e364d6
Merge: 0bbfcee 0ff51a5
Author: Jenkins <[email protected]>
Date: Mon Oct 14 17:48:28 2013 +0000
Merge "Comment additions for exponential backoff"
commit 0bbfcee6ab0659f7ee5e223514dc08082fc1194a
Merge: 3009e4e fc2a057
Author: Jenkins <[email protected]>
Date: Mon Oct 14 17:48:27 2013 +0000
Merge "Beef up the action engine comments"
commit 3009e4e114499218beaa87c0a74639acb3b8b9d6
Merge: a553eca 918ee8b
Author: Jenkins <[email protected]>
Date: Mon Oct 14 17:48:24 2013 +0000
Merge "Add a persistence util logbook formatting function"
commit a553eca0dc62643116d417b08d039688e207de99
Merge: c0e376d 7cf5734
Author: Jenkins <[email protected]>
Date: Mon Oct 14 17:47:49 2013 +0000
Merge "Save with the same connection"
commit c0e376de1f5e058c6b746628f7a2941f9089b89e
Merge: a682717 756e097
Author: Jenkins <[email protected]>
Date: Mon Oct 14 17:40:26 2013 +0000
Merge "Rename get_graph() -> execution_graph"
commit 009f9a17eadf6ebb8b106bd52a569274f334d0cb
Author: Ivan A. Melnikov <[email protected]>
Date: Mon Oct 14 19:09:24 2013 +0400
Removed unused utilities
Change-Id: Ifa3e7b820d594303c6c02eae12f55bce2bd1dacc
commit 961d91ff7aec0fd96844885c40a129c5beb15ba4
Author: Ivan A. Melnikov <[email protected]>
Date: Mon Oct 14 18:08:00 2013 +0400
Helpers to save flow factory in metadata
This change adds new helpers that, taken together, allow to resume
the flows having nothing but flow detail at hands. First one,
load_from_factory, gets flow factory function as a parameter and
saves its fully qualified name and arguments to flow metadata. Others
can be used to re-create the flow using that metadata, and load
it into engine.
Change-Id: Ia3cd989b3b0388ec0a9f09fe527f768eec5cc904
commit c866318b3ed48945b8f184f201c10a6669badb41
Author: Ivan A. Melnikov <[email protected]>
Date: Mon Oct 14 16:01:25 2013 +0400
Storage: add flow name and uuid properties
This commit adds flow_name and flow_uuid properties to storage.
We also add couple of unit tests for storage while we are at it.
Change-Id: I58e6fcf7e799d7a69d75eab4fdc40400c1dc488d
commit 28556fd572668a4edf2f28f3a3dc3a213e45eef3
Author: Ivan A. Melnikov <[email protected]>
Date: Mon Oct 14 13:44:26 2013 +0400
Create logbook if not provided for create_flow_details
This simplifies code and gives flow details correct name even
if log book was not provided.
Change-Id: Icef03ff843002f15c3ed90fd8c44d69c0bd4d9f0
commit 52c8869014fdb009d75a1eb73abc051421c2f828
Author: Joshua Harlow <[email protected]>
Date: Sat Oct 12 03:25:56 2013 +0000
Prepare for 0.1 release
Change-Id: I4a56aa50d296f50a5b907635d2e53154500703c9
commit 0ff51a5c92b4284894ba46aa30379184f3e94170
Author: Joshua Harlow <[email protected]>
Date: Sun Oct 13 22:59:14 2013 +0000
Comment additions for exponential backoff
Change-Id: If43d6e5ceedc17b1763ecd8a244f959150b802e1
commit fc2a057ac7d39b87157de1f53ba7bbad2bd62aa3
Author: Joshua Harlow <[email protected]>
Date: Sat Oct 12 23:19:12 2013 -0700
Beef up the action engine comments
Also make a few minor tweaks to the
underlying functions and relax the
networkx requirement slightly.
Change-Id: Ibbfa7f786d3c33956f7ca39b7ea9423696859e45
commit ee83a3ff6f0b16b37c9fbfb634857a659a4205ad
Author: Joshua Harlow <[email protected]>
Date: Sat Oct 12 23:04:27 2013 -0700
Pattern comment additions/adjustments
Change-Id: I3154d1c228474d8699f3ae4d0be2fb46406a2f41
commit 1caf6fb316b15581117d3770af4685b02192f14b
Author: Joshua Harlow <[email protected]>
Date: Sat Oct 12 22:45:32 2013 -0700
Add more comments to flow/task
Increase the number of comments which
will help users of these 2 modules better
understand there desired usage.
Change-Id: Ief248770de3bedd7fc87bfcfbce4da77c011de7f
commit 7cf5734807966e1070620cb14543c444e7736ce2
Author: Joshua Harlow <[email protected]>
Date: Sat Oct 12 22:22:26 2013 -0700
Save with the same connection
Instead of 2 different connections, one
for saving the flow detail and then one
for saving the task detail just use one
connection for both.
Change-Id: I68315a6c201325bb154f5ab5fc69a3824055c912
commit 918ee8b8ed41cf9d55216ff43ae065a2f9b6063a
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 9 20:05:58 2013 -0700
Add a persistence util logbook formatting function
It is quite useful to be able to dump what is in a
logbook in a human readable format so this adds a
helper utility function to do just this.
Change-Id: I84d8a9caf531de018fb361211624fc5b8c030260
commit 756e09778d8f1fffcc2a5a32c4260fb93dd5e4d1
Author: Joshua Harlow <[email protected]>
Date: Sun Oct 13 02:03:37 2013 +0000
Rename get_graph() -> execution_graph
Instead of having a generic get_graph()
it is nicer to have this function be named
closer to what it returns (the graph of tasks
to be executed) as well as make it a property
since it is more of a property of the engine.
Change-Id: I4bb458b1069d7e6877f1cc51d42bfc0d8c751951
commit a682717f734f1488306a4266cb8e18eb07faa9d4
Author: Joshua Harlow <[email protected]>
Date: Fri Oct 11 18:25:04 2013 -0700
Continue adding docs to examples
Add more docs to the fake billing example and
move the utility AttrDict to utils/misc.py at
the same time (since its a useful utility to
allow others to use).
Change-Id: Id372032ae1545e0bd666bf991c21b21d320aba4b
commit faf2d155dfc3d9225a4def5c492c37a9c7d18c5d
Merge: 246a4ff 0723817
Author: Jenkins <[email protected]>
Date: Sat Oct 12 00:05:43 2013 +0000
Merge "Add more comments that explain example & usage"
commit 246a4ff7e5f84e7d5a66acaaf444d27cca50f474
Merge: 529ee93 2ba6fda
Author: Jenkins <[email protected]>
Date: Sat Oct 12 00:05:31 2013 +0000
Merge "Add more comments that explain example & usage"
commit 529ee93ae7c89a58d577e5e848f37ae080426db3
Merge: c9a7cfd 0d458d0
Author: Jenkins <[email protected]>
Date: Sat Oct 12 00:05:30 2013 +0000
Merge "Add more comments that explain example & usage"
commit 2ba6fda3a25ce8af6c6eb9169222140ebdb872dd
Author: Joshua Harlow <[email protected]>
Date: Fri Oct 11 17:00:25 2013 -0700
Add more comments that explain example & usage
Change-Id: I4665cda50c2bbc8e0e323efb1baff653ace12579
commit 0d458d051892921d08200a421afd4fb336615146
Author: Joshua Harlow <[email protected]>
Date: Fri Oct 11 16:16:22 2013 -0700
Add more comments that explain example & usage
Change-Id: I049b47e56d7f859c9b339d4557d4d292b33f2f74
commit 07238176db8d5ff84acc6a64b8c2736e2b3d7796
Author: Joshua Harlow <[email protected]>
Date: Fri Oct 11 16:07:27 2013 -0700
Add more comments that explain example & usage
Change-Id: I3389554dfbe67aeb8c22a78b1929798988e57bc0
commit c9a7cfdc1740544509de97c2f2a90ef315401b3d
Author: Joshua Harlow <[email protected]>
Date: Fri Oct 11 15:51:16 2013 -0700
Add more comments that explain example & usage
Change-Id: I888200f2afbbc9d4118ebf1c8d2a2cf9a232e560
commit bdda31c7f038769576b4c2823bced1a2160e49b3
Merge: c1bee55 f1642d2
Author: Jenkins <[email protected]>
Date: Fri Oct 11 18:12:39 2013 +0000
Merge "Add a mini-cinder volume create with resumption"
commit c1bee55192516ddaac39b948fcea37745c6ca752
Author: Ivan A. Melnikov <[email protected]>
Date: Thu Oct 10 15:06:44 2013 +0400
Fix several python3 incompatibilities
Change-Id: Ibf5dd6c0b6bcd161364daf35d618641f6079acf5
commit 10f3cfca485a4f60d8c47964ee7ea17934ff3249
Merge: aa02579 04ebc6a
Author: Jenkins <[email protected]>
Date: Fri Oct 11 00:57:26 2013 +0000
Merge "Python3 compatibility for utils.reflection"
commit aa02579fcf375967281780f0da9f15f699a9f1f9
Merge: 0709da2 5429b89
Author: Jenkins <[email protected]>
Date: Fri Oct 11 00:57:20 2013 +0000
Merge "No module name for builtin type and exception names"
commit 0709da23b2bb090f9cba36a5b4a61c5d3bf54de3
Merge: fca1a66 c5b84d0
Author: Jenkins <[email protected]>
Date: Fri Oct 11 00:56:51 2013 +0000
Merge "Fix python3 compatibility issues in examples"
commit fca1a6631f8e8604d99b7f4b1646aa3ac51d7e87
Merge: cc77224 4c5cb77
Author: Jenkins <[email protected]>
Date: Fri Oct 11 00:56:42 2013 +0000
Merge "Add a secondary booting vm example"
commit cc772244473931b68373643efb7f162bbb6fdd38
Merge: 09873df 50d4383
Author: Jenkins <[email protected]>
Date: Fri Oct 11 00:53:21 2013 +0000
Merge "Update oslo copy and bring over versionutils"
commit 09873dfc7313e469b5b3640bb5a6d1c4256bc70f
Merge: 0abfe90 026fc83
Author: Jenkins <[email protected]>
Date: Fri Oct 11 00:52:52 2013 +0000
Merge "Fix print statements for python 2/3"
commit 04ebc6a01d07f2c01af17f3e96715b08c7863ae9
Author: Ivan A. Melnikov <[email protected]>
Date: Thu Oct 10 14:59:04 2013 +0400
Python3 compatibility for utils.reflection
Refactor taskflow.utils.reflection to use six and py3-compatible
constructs.
Breaking change: drop class name from result of get_callable_name
for unbound methods. One can't get class name for unbound method
in python 3.
Change-Id: I98c5b33e7ee4520caf365aa87c9859ec967990de
commit 5429b891fb7d8fbe3bc63b40b463be9ec9380a4a
Author: Ivan A. Melnikov <[email protected]>
Date: Thu Oct 10 14:20:08 2013 +0400
No module name for builtin type and exception names
Make utils.reflection.get_class_name() return just type name (without
module) for builtin exceptions and types. This makes output less
clumsy and makes this function return same strings for python 2 and 3.
Change-Id: Ibc599ed34c804cf2cf2ab67e7466a48ebe7f6df3
commit c5b84d021df305d5022a1012d788f855b7a2c40a
Author: Ivan A. Melnikov <[email protected]>
Date: Thu Oct 10 14:14:03 2013 +0400
Fix python3 compatibility issues in examples
Change-Id: I024207864668751455874cf3cb60de31cc01de87
commit 026fc8329a94d9678ef8b6807b6c5de456930c14
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 9 19:36:48 2013 -0700
Fix print statements for python 2/3
Change-Id: Ic05af4d5defe26b729bd7dda3f04b790509bb155
commit f1642d2b9b35c17ec5bb2a3a11b97010c6feabff
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 9 15:28:03 2013 -0700
Add a mini-cinder volume create with resumption
Add a toy example showing how resumption works
in a miniaturized cinder like case. It allows
for the user of the example to kill the program
and later resume by providing back the initial
tracking id (think fedex/ups).
Change-Id: I7084ae50cf994e43b48c31bd22d60d77c78d50af
commit 50d438384aa88254c55ac7f0f3b79e37374545f6
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 9 19:17:51 2013 -0700
Update oslo copy and bring over versionutils
Change-Id: I93ab20ae26033574e1f25ecc8276ffe291994ce6
commit 0abfe90eb36e1205ce4ccedfa3c389a66c744ddb
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 9 17:33:12 2013 -0700
Move toward python 3/2 compatible metaclass
Change-Id: Ia7e07a7530e26c388c5da3e362510233b6a65aa6
commit 4c5cb775904adecfb43757cd0455a18b07b489a1
Author: Joshua Harlow <[email protected]>
Date: Wed Oct 9 13:03:33 2013 -0700
Add a secondary booting vm example
This one uses rebinds to make simultaneous vms using
a parallel engine to run the non-dependent tasks at
the same time (the 2 vms are created at the same time).
Change-Id: I795fa279d777e7a54e7ef34bf88021600c70a506
commit b2c82c8dce7397179dccb7c728ee1b4758b04c94
Merge: 73651a5 38206d9
Author: Jenkins <[email protected]>
Date: Wed Oct 9 19:39:11 2013 +0000
Merge "Create a green executor & green future"
commit 73651a5272b572a31fee9369e44294f4e9436811
Merge: c26fbb2 01fcad6
Author: Jenkins <[email protected]>
Date: Wed Oct 9 19:15:50 2013 +0000
Merge "Add state to dot->svg tool"
commit c26fbb2387332268b7432d4d67f7df0a394df6a5
Author: Ivan A. Melnikov <[email protected]>
Date: Thu Oct 3 17:03:22 2013 +0400
Resumption from backend for action engine
Simple refactoring and minor code adjustments to make resumption
from backend actually work:
- call engine.compile and check for missing dependencies
on every run;
- misc.Failure equality semantics adjusted;
- load failures from backend on every run.
Change-Id: I8a0462f2dec0ec66a19ee6a5ef10e4be48110e19
commit ce7e2ad38e9c136d5c2b43db8744e62605dd777c
Author: Joshua Harlow <[email protected]>
Date: Tue Oct 8 14:00:03 2013 -0700
A few wording/spelling adjustments
Change-Id: Id77c7983d7d03319ffcb945268cb972ae53552b6
commit 38206d9c0c1d7e84e0a601a229125fb9ae2d0d2b
Author: Joshua Harlow <[email protected]>
Date: Fri Oct 4 19:56:10 2013 -0700
Create a green executor & green future
In order to use the multi-threaded engine
which takes an executor as input for projects
which have *not* eventlet monkey patched the
threading module we provide a eventlet
compatible executor and future objects which
can work with the same multi-threaded engine.
This executor also works in natively threaded
applications by correctly altering the future
condition attribute to use a greened condition,
which is required to make sure that greenthreads
run when the condition is waited on.
blueprint eventlet-engine
Change-Id: Ida9ce6183471ad6b323a3c9ca863561699e32ddc
commit ddfb2a791afd39dd523017d452d04b6c6eb82ade
Merge: a5953e0 7e96a53
Author: Jenkins <[email protected]>
Date: Tue Oct 8 01:28:53 2013 +0000
Merge "Add a simple mini-billing stack example"
commit 7e96a53b9bb75137e2b3b112f167668047de65b9
Author: Joshua Harlow <[email protected]>
Date: Fri Oct 4 15:47:09 2013 -0700
Add a simple mini-billing stack example
Change-Id: Idf9a7b57935298d347738df9c7f7002379dbfde2
commit a5953e03493184b08fe3495bb73470c8c106fafc
Author: Joshua Harlow <[email protected]>
Date: Mon Oct 7 17:57:49 2013 -0700
Add a example which uses a sqlite persistence layer
Add an example that will use a sqlite layer for
persisting flow and task information, and will use
the layer for future resumption.
Show how to output what a logbook contains as well.
Change-Id: If5f936fe100cb43ed857b99e3fae0c6e6baba5ed
commit 01fcad6616d1c1544a852ebedccfe58cc024427b
Author: Joshua Harlow <[email protected]>
Date: Mon Oct 7 13:26:10 2013 -0700
Add state to dot->svg tool
Add a helper tool that can convert the
allowed state transitions into a dot graph
which itself then converts it into a browser
compatible svg file, which can then be looked
at to have a pretty state diagram.
Change-Id: I3cbbc75bd58182700ddc07f00395da5d1093a26c
commit 0bc77eecfbb48f3004b7e1bfea3c0f0f6f3d8d3f
Merge: 02587b8 c8f3903
Author: Jenkins <[email protected]>
Date: Mon Oct 7 23:00:00 2013 +0000
Merge "Add a set of useful listeners"
commit c8f3903fa4f1dd3d4359be51ffb5295ecb21c897
Author: Joshua Harlow <[email protected]>
Date: Fri Oct 4 12:58:14 2013 -0700
Add a set of useful listeners
In order to understand how listeners are used it is pretty
nice to have a default set that do basic printing and logging
that can be used in debugging (or just as examples).
Include an example that uses this as well.
Fixes: bug 1224060
Change-Id: I7ba6e9dcbdca84d014b9d1f5054ce7a37eb766f2
commit 02587b884e903d121c31f432f2eee5b8a8ca0a82
Merge: 2dc03b7 e70032d
Author: Jenkins <[email protected]>
Date: Mon Oct 7 22:54:03 2013 +0000
Merge "Remove decorators and move to utils"
commit e70032d0d9749a48bf56f14b7b677fb5d92ff332
Author: Joshua Harlow <[email protected]>
Date: Sun Oct 6 21:38:43 2013 +0000
Remove decorators and move to utils
In order to avoid the circular import
in threading utils move the decorators
functionality to utils/misc and move the
locking functionality to utils/lock_utils
and then use these functions from the
threading util (and elsewhere).
Fixes bug: 1236080
Change-Id: I9e71c2ba15782cbb6dd5ab7e1264b77ed47bc29e
commit 2dc03b7333be5aa1128e76bacf461f0f5b0702b8
Author: Joshua Harlow <[email protected]>
Date: Mon Sep 23 14:29:46 2013 -0700
Add reasons as to why the edges were created
Reasons are useful for later analysis when running
as to why the edge between two nodes was created so
when linking items in the graph it would be nice to
assign a reason.
Change-Id: I2185cf5fb3c2c07c0f5536d3b210080c6f61d5dd
commit 8750840ac872cb1bf983be5cbad3d0448e4f3ee6
Merge: 98d4032 9417307
Author: Jenkins <[email protected]>
Date: Mon Oct 7 22:19:44 2013 +0000
Merge "Fix entrypoints being updated/created by update.py"
commit 98d40324d3d2c320aac2b989b7e3d66f6f9b5cc0
Merge: a66df3a 57f5b8c
Author: Jenkins <[email protected]>
Date: Mon Oct 7 20:02:38 2013 +0000
Merge "Allow access by index"
commit a66df3ab137ff961269290a72e1cb3a19098b3b6
Merge: 5e062df ea272ee
Author: Jenkins <[email protected]>
Date: Mon Oct 7 20:02:06 2013 +0000
Merge "Validate each flow state change"
commit 5e062df7dc347dcabe7dc4f6cf60e6442fba7619
Merge: fdd2d8e 63f8e3e
Author: Jenkins <[email protected]>
Date: Mon Oct 7 19:58:02 2013 +0000
Merge "Update state sequence for failed flows"
commit fdd2d8ece06408279dfb5d7a6bcaba194fd72a0d
Merge: b1f81ba e014875
Author: Jenkins <[email protected]>
Date: Mon Oct 7 19:56:30 2013 +0000
Merge "Flow utils and adding comments"