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();
4343
4444 /**
4545 * Set user type
46+ *
4647 * @param int $userType
4748 * @return $this
4849 */
Original file line number Diff line number Diff line change 2323
2424/**
2525 * 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
2628 */
2729class MassSchedule
2830{
@@ -93,10 +95,10 @@ public function __construct(
9395 /**
9496 * Schedule new bulk operation based on the list of entities
9597 *
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
100102 * @return AsyncResponseInterface
101103 * @throws BulkException
102104 * @throws LocalizedException
Original file line number Diff line number Diff line change 11{
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+ }
1116 },
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+ }
4035 },
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+ }
4546 }
46- }
4747}
You can’t perform that action at this time.
0 commit comments