This repository was archived by the owner on May 20, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +49
-46
lines changed
app/code/Magento/AsynchronousOperations Expand file tree Collapse file tree 3 files changed +49
-46
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ public function getUserType();
43
43
44
44
/**
45
45
* Set user type
46
+ *
46
47
* @param int $userType
47
48
* @return $this
48
49
*/
Original file line number Diff line number Diff line change 23
23
24
24
/**
25
25
* Class MassSchedule used for adding multiple entities as Operations to Bulk Management with the status tracking
26
+ *
27
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects) Suppressed without refactoring to not introduce BiC
26
28
*/
27
29
class MassSchedule
28
30
{
@@ -93,10 +95,10 @@ public function __construct(
93
95
/**
94
96
* Schedule new bulk operation based on the list of entities
95
97
*
96
- * @param $topicName
97
- * @param $entitiesArray
98
- * @param null $groupId
99
- * @param null $userId
98
+ * @param string $topicName
99
+ * @param array $entitiesArray
100
+ * @param string $groupId
101
+ * @param string $userId
100
102
* @return AsyncResponseInterface
101
103
* @throws BulkException
102
104
* @throws LocalizedException
Original file line number Diff line number Diff line change 1
1
{
2
- "magento_bulk" : {
3
- "column" : {
4
- "id" : true ,
5
- "uuid" : true ,
6
- "user_id" : true ,
7
- "user_type" : true ,
8
- "description" : true ,
9
- "operation_count" : true ,
10
- "start_time" : true
2
+ "magento_bulk" : {
3
+ "column" : {
4
+ "id" : true ,
5
+ "uuid" : true ,
6
+ "user_id" : true ,
7
+ "user_type" : true ,
8
+ "description" : true ,
9
+ "operation_count" : true ,
10
+ "start_time" : true
11
+ },
12
+ "constraint" : {
13
+ "PRIMARY" : true ,
14
+ "MAGENTO_BULK_UUID" : true
15
+ }
11
16
},
12
- "constraint" : {
13
- "PRIMARY" : true ,
14
- "MAGENTO_BULK_UUID" : true
15
- }
16
- },
17
- "magento_operation" : {
18
- "column" : {
19
- "id" : true ,
20
- "bulk_uuid" : true ,
21
- "topic_name" : true ,
22
- "serialized_data" : true ,
23
- "result_serialized_data" : true ,
24
- "status" : true ,
25
- "error_code" : true ,
26
- "result_message" : true
27
- },
28
- "index" : {
29
- "MAGENTO_OPERATION_BULK_UUID_ERROR_CODE" : true
30
- },
31
- "constraint" : {
32
- "PRIMARY" : true ,
33
- "MAGENTO_OPERATION_BULK_UUID_MAGENTO_BULK_UUID" : true
34
- }
35
- },
36
- "magento_acknowledged_bulk" : {
37
- "column" : {
38
- "id" : true ,
39
- "bulk_uuid" : true
17
+ "magento_operation" : {
18
+ "column" : {
19
+ "id" : true ,
20
+ "bulk_uuid" : true ,
21
+ "topic_name" : true ,
22
+ "serialized_data" : true ,
23
+ "result_serialized_data" : true ,
24
+ "status" : true ,
25
+ "error_code" : true ,
26
+ "result_message" : true
27
+ },
28
+ "index" : {
29
+ "MAGENTO_OPERATION_BULK_UUID_ERROR_CODE" : true
30
+ },
31
+ "constraint" : {
32
+ "PRIMARY" : true ,
33
+ "MAGENTO_OPERATION_BULK_UUID_MAGENTO_BULK_UUID" : true
34
+ }
40
35
},
41
- "constraint" : {
42
- "PRIMARY" : true ,
43
- "MAGENTO_ACKNOWLEDGED_BULK_BULK_UUID_MAGENTO_BULK_UUID" : true ,
44
- "MAGENTO_ACKNOWLEDGED_BULK_BULK_UUID" : true
36
+ "magento_acknowledged_bulk" : {
37
+ "column" : {
38
+ "id" : true ,
39
+ "bulk_uuid" : true
40
+ },
41
+ "constraint" : {
42
+ "PRIMARY" : true ,
43
+ "MAGENTO_ACKNOWLEDGED_BULK_BULK_UUID_MAGENTO_BULK_UUID" : true ,
44
+ "MAGENTO_ACKNOWLEDGED_BULK_BULK_UUID" : true
45
+ }
45
46
}
46
- }
47
47
}
You can’t perform that action at this time.
0 commit comments