Created
September 29, 2017 13:07
-
-
Save vijayparashar12/a0a0867a28434520b913c1109c7405ab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package de.zalando.ale.serviceclient.outboundpath.domain; | |
import com.google.common.collect.ImmutableMap; | |
import de.zalando.ale.serviceclient.outboundpath.domain.chain.ChainPickListPaths; | |
import de.zalando.ale.serviceclient.outboundpath.domain.enumeration.ShipperType; | |
public class OutboundPathToShipperTypeMapper { | |
private static ImmutableMap<String, ShipperType> shipperTypeMap = null; | |
private OutboundPathToShipperTypeMapper() { } | |
private static void initialize() { | |
shipperTypeMap = ImmutableMap.<String, ShipperType>builder() | |
/*** Picklist paths**/ | |
// PURE BAGSORTER PACK | |
.put(PickListPaths.PURE_BAGSORTER_MULTI_EXPRESS_PATH_ID, | |
ShipperType.MULTI_PACK_EXPRESS) | |
.put(PickListPaths.PURE_BAGSORTER_SINGLE_EXPRESS_PATH_ID, | |
ShipperType.SINGLE_PACK_EXPRESS) | |
.put(PickListPaths.PURE_BAGSORTER_SINGLE_H2, ShipperType.SINGLE_PACK) | |
.put(PickListPaths.PURE_BAGSORTER_MULTI_H2, ShipperType.MULTI_PACK) | |
.put(PickListPaths.PURE_BAGSORTER_SINGLE_H4, ShipperType.SINGLE_PACK) | |
.put(PickListPaths.PURE_BAGSORTER_MULTI_H4, ShipperType.MULTI_PACK) | |
.put(PickListPaths.LAHR_PURE_BAGSORTER_SINGLE_H3, ShipperType.SINGLE_PACK) | |
.put(PickListPaths.LAHR_PURE_BAGSORTER_MULTI_H3, ShipperType.MULTI_PACK)// wrapup pack | |
.put(PickListPaths.WRAPUP_PACK_H4, ShipperType.FOILING) | |
.put(PickListPaths.WRAPUP_PACK_EXPRESS_PATH_ID, ShipperType.FOILING_EXPRESS) | |
// cop | |
.put(PickListPaths.COP_H4, ShipperType.REPACK_PURGING_WITH_CO) | |
.put(PickListPaths.COP_H4_EXPRESS, ShipperType.REPACK_PURGING_WITH_CO_EXPRESS) | |
// mms | |
.put(PickListPaths.MMS_BAGSORTER_H2, ShipperType.REPACK_MIXED_ORDER_MANUAL_SORT) | |
.put(PickListPaths.MMS_BAGSORTER_EXPRESS_H2, | |
ShipperType.REPACK_MIXED_ORDER_MANUAL_SORT_EXPRESS) | |
// mas | |
.put(PickListPaths.MAS_MULTI_PACK_EXPRESS_H4, ShipperType.MULTI_PACK_EXPRESS) | |
.put(PickListPaths.MAS_MULTI_PACK_H4, ShipperType.MULTI_PACK) | |
.put(PickListPaths.MAS_SINGLE_PACK_EXPRESS_H4, ShipperType.SINGLE_PACK_EXPRESS) | |
.put(PickListPaths.MAS_SINGLE_PACK_H4, ShipperType.SINGLE_PACK) | |
// WMO | |
.put(PickListPaths.WMO_REPACK_H4_BL, ShipperType.REPACK_WMO_BL) | |
.put(PickListPaths.WMO_REPACK_H4_EF, ShipperType.REPACK_WMO_EF) | |
.put(PickListPaths.WMO_REPACK_H4_LR, ShipperType.REPACK_WMO_LR) | |
.put(PickListPaths.WMO_REPACK_H4_GB, ShipperType.REPACK_WMO_GB) | |
.put(PickListPaths.WMO_REPACK_H4_GD, ShipperType.REPACK_WMO_GD) | |
.put(PickListPaths.WMO_REPACK_H4_MG, ShipperType.REPACK_WMO_MG) | |
.put(PickListPaths.LAHR_WMO_REPACK_H3_MG, ShipperType.REPACK_WMO_MG) | |
.put(PickListPaths.LAHR_WMO_REPACK_H3_EF, ShipperType.REPACK_WMO_EF) | |
.put(PickListPaths.LAHR_WMO_REPACK_H3_BL, ShipperType.REPACK_WMO_BL) | |
.put(PickListPaths.LAHR_WMO_REPACK_H3_GB, ShipperType.REPACK_WMO_GB) | |
.put(PickListPaths.LAHR_WMO_REPACK_H3_GD, ShipperType.REPACK_WMO_GD) | |
// chain mas | |
.put(ChainPickListPaths.MAS_MULTI_PACK_CHAIN, ShipperType.MULTI_PACK) | |
.put(ChainPickListPaths.MAS_MULTI_PACK_EXPRESS_CHAIN, | |
ShipperType.MULTI_PACK_EXPRESS) | |
// hybrid sort pack | |
.put(PickListPaths.HYBRID_BAGSORTER_SORT_PACK_H2, ShipperType.REPACK_HYBRID_SORT) | |
/*** Test picklist paths***/ | |
// PURE BAGSORTER PACK | |
.put(PickListPaths.PURE_BAGSORTER_MULTI_EXPRESS_PATH_ID_TEST, | |
ShipperType.MULTI_PACK_EXPRESS_TEST) | |
.put(PickListPaths.PURE_BAGSORTER_SINGLE_EXPRESS_PATH_ID_TEST, | |
ShipperType.SINGLE_PACK_EXPRESS_TEST) | |
.put(PickListPaths.PURE_BAGSORTER_SINGLE_H4_TEST, ShipperType.SINGLE_PACK_TEST) | |
.put(PickListPaths.PURE_BAGSORTER_MULTI_H4_TEST, ShipperType.MULTI_PACK_TEST) | |
.put(PickListPaths.LAHR_PURE_BAGSORTER_SINGLE_H3_TEST, ShipperType.SINGLE_PACK_TEST) | |
.put(PickListPaths.LAHR_PURE_BAGSORTER_MULTI_H3_TEST, ShipperType.MULTI_PACK_TEST)// cop | |
.put(PickListPaths.COP_H4_TEST, ShipperType.REPACK_PURGING_WITH_CO_TEST) | |
.put(PickListPaths.COP_H4_EXPRESS_TEST, | |
ShipperType.REPACK_PURGING_WITH_CO_EXPRESS_TEST) | |
// mms | |
.put(PickListPaths.MMS_BAGSORTER_H2_TEST, | |
ShipperType.REPACK_MIXED_ORDER_MANUAL_SORT_TEST) | |
.put(PickListPaths.MMS_BAGSORTER_EXPRESS_H2_TEST, | |
ShipperType.REPACK_MIXED_ORDER_MANUAL_SORT_EXPRESS_TEST) | |
// mas | |
.put(PickListPaths.MAS_MULTI_PACK_EXPRESS_H4_TEST, | |
ShipperType.MULTI_PACK_EXPRESS_TEST) | |
.put(PickListPaths.MAS_MULTI_PACK_H4_TEST, ShipperType.MULTI_PACK_TEST) | |
.put(PickListPaths.MAS_SINGLE_PACK_EXPRESS_H4_TEST, | |
ShipperType.SINGLE_PACK_EXPRESS_TEST) | |
.put(PickListPaths.MAS_SINGLE_PACK_H4_TEST, ShipperType.SINGLE_PACK_TEST) | |
// WMO | |
.put(PickListPaths.WMO_REPACK_H4_BL_TEST, ShipperType.REPACK_WMO_BL_TEST) | |
.put(PickListPaths.WMO_REPACK_H4_EF_TEST, ShipperType.REPACK_WMO_EF_TEST) | |
.put(PickListPaths.WMO_REPACK_H4_LR_TEST, ShipperType.REPACK_WMO_LR_TEST) | |
.put(PickListPaths.WMO_REPACK_H4_GB_TEST, ShipperType.REPACK_WMO_GB_TEST) | |
.put(PickListPaths.WMO_REPACK_H4_MG_TEST, ShipperType.REPACK_WMO_MG_TEST) | |
.put(PickListPaths.LAHR_WMO_REPACK_H3_MG_TEST, ShipperType.REPACK_WMO_MG_TEST) | |
.put(PickListPaths.LAHR_WMO_REPACK_H3_EF_TEST, ShipperType.REPACK_WMO_EF_TEST) | |
.put(PickListPaths.LAHR_WMO_REPACK_H3_BL_TEST, ShipperType.REPACK_WMO_BL_TEST) | |
.put(PickListPaths.LAHR_WMO_REPACK_H3_GB_TEST, ShipperType.REPACK_WMO_GB_TEST) | |
.put(PickListPaths.LAHR_WMO_REPACK_H3_GD_TEST, ShipperType.REPACK_WMO_GD_TEST) | |
// chain mas | |
.put(ChainPickListPaths.MAS_MULTI_PACK_CHAIN_TEST, ShipperType.MULTI_PACK_TEST) | |
.put(ChainPickListPaths.MAS_MULTI_PACK_EXPRESS_CHAIN_TEST, | |
ShipperType.MULTI_PACK_EXPRESS_TEST) | |
// NOC | |
.put(PickListPaths.PURGING_WITHOUT_CUSTOMER_ORDER, | |
ShipperType.REPACK_PURGING_WITHOUT_CO) | |
// LAHR | |
.put(PickListPaths.CONTAINER_MAS_MULTI_PACK_H3_LAHR, ShipperType.MULTI_PACK) | |
.put(PickListPaths.CONTAINER_MAS_SINGLE_PACK_H3_LAHR, ShipperType.SINGLE_PACK) | |
.put(PickListPaths.CONTAINER_HYBRID_SORT_LAHR, ShipperType.REPACK_HYBRID_SORT) | |
.put(PickListPaths.COP_H3_LAHR, ShipperType.REPACK_PURGING_WITH_CO) | |
.put(PickListPaths.BAGSORTER_HYBRID_SORT_LAHR, ShipperType.REPACK_HYBRID_SORT) | |
.put(PickListPaths.CONTAINER_MAS_MULTI_PACK_H3_EXPRESS_LAHR, | |
ShipperType.MULTI_PACK_EXPRESS) | |
.put(PickListPaths.CONTAINER_MAS_SINGLE_PACK_H3_EXPRESS_LAHR, | |
ShipperType.SINGLE_PACK_EXPRESS) | |
.put(PickListPaths.CONTAINER_HYBRID_SORT_EXPRESS_LAHR, | |
ShipperType.REPACK_HYBRID_SORT_EXPRESS) | |
.put(PickListPaths.PURE_BAGSORTER_SINGLE_EXPRESS_PATH_ID_LAHR, | |
ShipperType.SINGLE_PACK_EXPRESS) | |
.put(PickListPaths.PURE_BAGSORTER_MULTI_EXPRESS_PATH_ID_LAHR, | |
ShipperType.MULTI_PACK_EXPRESS) | |
.put(PickListPaths.COP_H3_EXPRESS_LAHR, ShipperType.REPACK_PURGING_WITH_CO_EXPRESS) | |
.put(PickListPaths.BAGSORTER_HYBRID_SORT_EXPRESS_LAHR, | |
ShipperType.REPACK_HYBRID_SORT_EXPRESS) | |
.put(PickListPaths.CONTAINER_MAS_MULTI_PACK_H3_TEST_LAHR, | |
ShipperType.MULTI_PACK_TEST) | |
.put(PickListPaths.CONTAINER_MAS_SINGLE_PACK_H3_TEST_LAHR, | |
ShipperType.SINGLE_PACK_TEST) | |
.put(PickListPaths.CONTAINER_HYBRID_SORT_TEST_LAHR, | |
ShipperType.REPACK_HYBRID_SORT_TEST) | |
.put(PickListPaths.COP_H3_TEST_LAHR, ShipperType.REPACK_PURGING_WITHOUT_CO_TEST) | |
.put(PickListPaths.BAGSORTER_HYBRID_SORT_TEST_LAHR, | |
ShipperType.REPACK_HYBRID_SORT_TEST) | |
.put(PickListPaths.CONTAINER_MAS_MULTI_PACK_EXPRESS_H3_TEST_LAHR, | |
ShipperType.MULTI_PACK_EXPRESS_TEST) | |
.put(PickListPaths.CONTAINER_MAS_SINGLE_PACK_EXPRESS_H3_TEST_LAHR, | |
ShipperType.SINGLE_PACK_EXPRESS_TEST) | |
.put(PickListPaths.CONTAINER_HYBRID_SORT_EXPRESS_TEST_LAHR, | |
ShipperType.REPACK_HYBRID_SORT_EXPRESS_TEST) | |
.put(PickListPaths.PURE_BAGSORTER_SINGLE_H3_EXPRESS_TEST_LAHR, | |
ShipperType.SINGLE_PACK_EXPRESS_TEST) | |
.put(PickListPaths.PURE_BAGSORTER_MULTI_H3_EXPRESS_TEST_LAHR, | |
ShipperType.MULTI_PACK_EXPRESS_TEST) | |
.put(PickListPaths.COP_H3_EXPRESS_TEST_LAHR, | |
ShipperType.REPACK_PURGING_WITH_CO_EXPRESS) | |
.put(PickListPaths.BAGSORTER_HYBRID_SORT_EXPRESS_TEST_LAHR, | |
ShipperType.REPACK_HYBRID_SORT_EXPRESS_TEST).build(); | |
} | |
public static ShipperType getShipperType(final String pathUUID) { | |
if (shipperTypeMap == null) { | |
initialize(); | |
} | |
return shipperTypeMap.get(pathUUID); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package de.zalando.ale.serviceclient.outboundpath.domain; | |
import com.google.common.base.Preconditions; | |
import de.zalando.ale.serviceclient.outboundpath.domain.enumeration.RepackCategory; | |
import de.zalando.ale.serviceclient.outboundpath.domain.enumeration.ShipperType; | |
import com.google.common.collect.Lists; | |
import java.util.List; | |
public class PickListPaths { | |
// LAHR | |
public static final String CONTAINER_SINGLE_PACK_LAHR = "cc2dda8b-a522-4744-99de-62c7e8501757"; | |
public static final String CONTAINER_MULTI_PACK_LAHR = "e8cd5c68-95aa-4068-9f59-b9a264086a12"; | |
public static final String CONTAINER_MAS_MULTI_PACK_H3_LAHR = "d549546a-7b6c-455a-9385-b1314c4b3a2f"; | |
public static final String CONTAINER_MAS_SINGLE_PACK_H3_LAHR = "9ae7bd6a-f3a6-45c3-95e3-d0dc7f80b568"; | |
public static final String CONTAINER_HYBRID_SORT_LAHR = "5a6d4612-9b45-48c7-be9b-f352a68aef01"; | |
public static final String CONTAINER_WMO_REPACK_EF_LAHR = "7ac696da-56df-453d-9844-6a753ed78309"; | |
public static final String CONTAINER_WMO_REPACK_BL_LAHR = "c52009d7-0697-4288-b975-a62ff83847ad"; | |
public static final String CONTAINER_WMO_REPACK_MG_LAHR = "f17cf7e4-a066-4f32-a493-c35dfb23d03c"; | |
public static final String CONTAINER_WMO_REPACK_GB_LAHR = "1222e2be-c188-4580-be0a-f8b9436f150e"; | |
public static final String CONTAINER_WMO_REPACK_GD_LAHR = "644586d2-4206-47b6-8322-7ed0a0fb3499"; | |
public static final String COP_H3_LAHR = "1fe286c7-535e-4f7a-ad72-f6617328b1ec"; | |
public static final String BAGSORTER_HYBRID_SORT_LAHR = "f06666c2-a1c6-4650-9472-e2d9ca7cbb2a"; | |
public static final String CONTAINER_SINGLE_PACK_EXPRESS_LAHR = "59498388-6b2b-4099-aaca-ba42fe2f6274"; | |
public static final String CONTAINER_MULTI_PACK_EXPRESS_LAHR = "395b0e90-45c5-4882-8099-dcdf719f62c5"; | |
public static final String CONTAINER_MAS_MULTI_PACK_H3_EXPRESS_LAHR = "8a497238-0b9e-42d9-9fe6-22967f78e3df"; | |
public static final String CONTAINER_MAS_SINGLE_PACK_H3_EXPRESS_LAHR = "10b4c19e-b9f9-48df-a50b-6fca1b4c9322"; | |
public static final String CONTAINER_HYBRID_SORT_EXPRESS_LAHR = "5fbe3c45-f786-46da-b761-0107351413bb"; | |
public static final String PURE_BAGSORTER_SINGLE_EXPRESS_PATH_ID_LAHR = "1e37a613-b0db-432b-b21d-298a5edfe76a"; | |
public static final String PURE_BAGSORTER_MULTI_EXPRESS_PATH_ID_LAHR = "ee13bd0d-4dee-4ca6-a1fc-b3cb0e58368f"; | |
public static final String COP_H3_EXPRESS_LAHR = "1b51849f-5dab-4da6-85c8-4d47ab1b777f"; | |
public static final String BAGSORTER_HYBRID_SORT_EXPRESS_LAHR = "c0955dab-9fc4-4b33-80a7-202628de22c7"; | |
public static final String CONTAINER_SINGLE_PACK_TEST_LAHR = "535c6faa-3a1a-4f83-8d2e-556926bdfdbc"; | |
public static final String CONTAINER_MULTI_PACK_TEST_LAHR = "036127ca-39df-4373-9d1d-9597be0cda18"; | |
public static final String CONTAINER_MAS_MULTI_PACK_H3_TEST_LAHR = "3ca33d5a-7799-4417-9672-07b5682181f4"; | |
public static final String CONTAINER_MAS_SINGLE_PACK_H3_TEST_LAHR = "fa578800-3ea8-4f20-9400-253a10da09f2"; | |
public static final String CONTAINER_HYBRID_SORT_TEST_LAHR = "451924ff-a1e7-4785-8ef0-b9d8fa8cdb6c"; | |
public static final String CONTAINER_WMO_REPACK_EF_TEST_LAHR = "fd47d4dc-9388-4d5b-aeae-bddb4f7517ee"; | |
public static final String CONTAINER_WMO_REPACK_BL_TEST_LAHR = "6f831b48-b72c-4321-a0da-a095861c4316"; | |
public static final String CONTAINER_WMO_REPACK_MG_TEST_LAHR = "67043d01-7b12-4eb6-8ab6-32ccbf608091"; | |
public static final String CONTAINER_WMO_REPACK_GB_TEST_LAHR = "3f3f38c4-9224-4e0e-af35-2c0bdf5e05ee"; | |
public static final String CONTAINER_WMO_REPACK_GD_TEST_LAHR = "9a9cc744-d7b0-49ac-8fad-814f63360f9e"; | |
public static final String COP_H3_TEST_LAHR = "c1de09c9-8a7c-4b64-8d69-6ee5fa97872b"; | |
public static final String BAGSORTER_HYBRID_SORT_TEST_LAHR = "a9ba0eee-0058-4241-a58d-9f82461b0789"; | |
public static final String CONTAINER_SINGLE_PACK_EXPRESS_TEST_LAHR = "8ac1f4c4-2214-4ada-a8b5-b65868461b7f"; | |
public static final String CONTAINER_MULTI_PACK_EXPRESS_TEST_LAHR = "38150ae6-8ac0-4ff5-b85c-d447f4a0f7e7"; | |
public static final String CONTAINER_MAS_MULTI_PACK_EXPRESS_H3_TEST_LAHR = "51bb0b2e-93a1-4110-8fab-46558218b647"; | |
public static final String CONTAINER_MAS_SINGLE_PACK_EXPRESS_H3_TEST_LAHR = "631b67eb-ce35-4f59-8373-30a5a94ba8ca"; | |
public static final String CONTAINER_HYBRID_SORT_EXPRESS_TEST_LAHR = "da097a49-07ee-4b78-b27b-9b77634d1f15"; | |
public static final String PURE_BAGSORTER_SINGLE_H3_EXPRESS_TEST_LAHR = "bd34948d-ebc5-409e-a4b4-0fe4c849c870"; | |
public static final String PURE_BAGSORTER_MULTI_H3_EXPRESS_TEST_LAHR = "2242ad71-8a8b-4a66-bf5c-7d7ce1baaa90"; | |
public static final String COP_H3_EXPRESS_TEST_LAHR = "421f988c-9e4a-4fdc-9598-940280c66dd9"; | |
public static final String BAGSORTER_HYBRID_SORT_EXPRESS_TEST_LAHR = "148ac868-e1c0-449a-8750-f138bccac4d2"; | |
// MG | |
public static final String WRAPUP_PACK_H4 = "e5f527d4-0f46-45c0-b61e-890038be0504"; | |
public static final String PURE_BAGSORTER_SINGLE_H4 = "e8e84dc2-78e3-4ea2-b9bd-114a4024d974"; | |
public static final String PURE_BAGSORTER_SINGLE_H4_TEST = "cee34426-79df-425a-a95a-f8afe9c0ba6d"; | |
public static final String PURE_BAGSORTER_SINGLE_H2 = "ff0ecf10-7634-4e4a-bd9b-75767b7154f9"; | |
public static final String PURE_BAGSORTER_MULTI_H4 = "a7eb25df-bbb2-4d05-996f-0fef79b9adfd"; | |
public static final String PURE_BAGSORTER_MULTI_H4_TEST = "f4e3f0ee-ec71-469e-8b4a-0c31683e6c74"; | |
public static final String PURE_BAGSORTER_MULTI_H2 = "c5b48d34-bc26-4171-9197-956023f4e7dd"; | |
public static final String COP_H4 = "8a0be72c-16c9-4d70-92dd-7d41315c2af4"; | |
public static final String COP_H4_TEST = "851bf046-6054-4ef9-b5cb-5690919227b2"; | |
public static final String COP_H4_EXPRESS = "a93e6594-add8-41fd-80b5-456ca96e7510"; | |
public static final String COP_H4_EXPRESS_TEST = "92fdb894-bc26-47ec-b166-57ce0c6543b2"; | |
public static final String HYBRID_BAGSORTER_SORT_PACK_H2 = "f9ef4e7e-c643-4484-9dfb-698095414eb"; | |
public static final String WRAPUP_PACK_EXPRESS_PATH_ID = "e11597b6-0862-49d3-a71e-05ab14e45c42"; | |
public static final String PURE_BAGSORTER_SINGLE_EXPRESS_PATH_ID = "89c2b140-590e-4e5d-99dd-25c9d1cbabba"; | |
public static final String PURE_BAGSORTER_SINGLE_EXPRESS_PATH_ID_TEST = "4f807f53-3c4f-4ee8-a966-4e00f0b66db6"; | |
public static final String PURE_BAGSORTER_MULTI_EXPRESS_PATH_ID = "26064473-56cb-42c4-8e3b-669998f0a1fa"; | |
public static final String PURE_BAGSORTER_MULTI_EXPRESS_PATH_ID_TEST = "8a0349ae-3cb2-40cd-8f5e-cc0a890609b8"; | |
// used | |
// currently | |
public static final String MMS_BAGSORTER_H2 = "5bf27012-a8e3-43f8-b12e-9c7e51a74fe4"; | |
public static final String MMS_BAGSORTER_H2_TEST = "bafba8f8-0f0a-4532-9efa-a55bc4a815b1"; | |
public static final String MMS_BAGSORTER_EXPRESS_H2 = "21f70fec-935a-4f73-a117-1f17eaace292"; | |
public static final String MMS_BAGSORTER_EXPRESS_H2_TEST = "cd16ae23-cc93-418b-9293-2b375f700a47"; | |
public static final String WMO_REPACK_H4_EF = "aa6718e5-66a4-4d2e-80fb-4708e55b9187"; | |
public static final String WMO_REPACK_H4_EF_TEST = "07cf76b0-f3a8-4fc5-ad4e-68f719b1bf40"; | |
public static final String WMO_REPACK_H4_BL = "4eca574e-6872-4225-a3cc-670ae5bd8ef1"; | |
public static final String WMO_REPACK_H4_BL_TEST = "9121dc24-4b56-4586-b961-873fd89ad316"; | |
public static final String WMO_REPACK_H4_LR = "c4cecdc3-3bd6-46b8-9893-4623e6d74538"; | |
public static final String WMO_REPACK_H4_LR_TEST = "8938304a-1470-4aad-9fb8-30cee4b694b8"; | |
public static final String WMO_REPACK_H4_GB = "347af493-c7e4-4d84-800b-df8ddcdf615a"; | |
public static final String WMO_REPACK_H4_GB_TEST = "64d8f180-8e4f-4f59-b7ee-49bee0f56dd5"; | |
public static final String WMO_REPACK_H4_MG = "WMO_REPACK_H4_MG"; | |
public static final String WMO_REPACK_H4_MG_TEST = "WMO_REPACK_H4_MG_TEST"; | |
public static final String WMO_REPACK_H4_GD = "d9bebdf2-67aa-42c3-adce-5f51b993dd3b"; | |
public static final String WMO_REPACK_H4_GD_TEST = "dcce2c80-c117-456d-9991-2dc0a153be69"; | |
public static final String MAS_MULTI_PACK_H4 = "59a4a97a-d67f-438c-8d8e-0d8752376061"; | |
public static final String MAS_MULTI_PACK_H4_TEST = "0682d8bb-dede-4c8a-a63c-53d81b531dee"; | |
public static final String MAS_SINGLE_PACK_H4 = "4d8bb799-0518-46c9-a39c-37c9cddf8197"; | |
public static final String MAS_SINGLE_PACK_H4_TEST = "78c86a6f-468c-491f-94c4-28236638ff3d"; | |
public static final String MAS_MULTI_PACK_EXPRESS_H4 = "01c21aaf-fce5-4f77-87cd-5b03767b1f99"; | |
public static final String MAS_MULTI_PACK_EXPRESS_H4_TEST = "234a769e-a556-4d3d-b8fd-466ec0fbf1de"; | |
public static final String MAS_SINGLE_PACK_EXPRESS_H4 = "204d64bd-f55b-4372-b493-51e7bbfbb21d"; | |
public static final String MAS_SINGLE_PACK_EXPRESS_H4_TEST = "cb2583b8-53e2-4e71-b09b-37d571cdf365"; | |
public static final String PURGING_WITHOUT_CUSTOMER_ORDER = "PURGING_WITHOUT_CUSTOMER_ORDER"; | |
//LAHR [TODO: Refactor after merging with other PRs which touch this class] | |
public static final String LAHR_PURE_BAGSORTER_SINGLE_H3 = "2b5cf292-77d0-408e-a4c3-a2a9ba0d6ddb"; | |
public static final String LAHR_PURE_BAGSORTER_SINGLE_H3_TEST = "d81f9c1e-e1f0-4f67-971b-1aa0b02deca4"; | |
public static final String LAHR_PURE_BAGSORTER_MULTI_H3 = "87fa41d2-8110-4805-82e6-7b476ced5ac9"; | |
public static final String LAHR_PURE_BAGSORTER_MULTI_H3_TEST = "4156be93-225d-420e-afd3-32543682e061"; | |
public static final String LAHR_WMO_REPACK_H3_MG = "168eed42-6005-4db6-8438-a7a99d3ce840"; | |
public static final String LAHR_WMO_REPACK_H3_MG_TEST = "38df1a00-a8f1-44fd-b9cc-e8e0b732ae63"; | |
public static final String LAHR_WMO_REPACK_H3_EF = "4846dbef-7caf-4c68-af97-d1124ead5671"; | |
public static final String LAHR_WMO_REPACK_H3_EF_TEST = "c11b14e5-859b-4a19-8f2b-ce5e9bdb7586"; | |
public static final String LAHR_WMO_REPACK_H3_BL = "bb96fdba-23e2-47a9-aa5c-43d4d0b3ea10"; | |
public static final String LAHR_WMO_REPACK_H3_BL_TEST = "1caa6001-67ca-4fbf-873a-651847ccf279"; | |
public static final String LAHR_WMO_REPACK_H3_GB = "92e0940a-83c4-4cc7-b9d5-0da6711594d4"; | |
public static final String LAHR_WMO_REPACK_H3_GB_TEST = "da021937-dece-4340-a17c-4eaba6de46b1"; | |
public static final String LAHR_WMO_REPACK_H3_GD = "836bf38f-61cd-4a9b-9c28-5f331f737ae1"; | |
public static final String LAHR_WMO_REPACK_H3_GD_TEST = "d280870a-457c-4cec-b7ee-bdcbc8427bec"; | |
// PURE BAGSORTER PACK | |
@Deprecated | |
public static final List<ArticleOutBoundPath> PURE_BAGSORTER_OUTBOUND_PATHS = Lists.newArrayList( | |
new BagsorterMultiPackH2(), new BagsorterNosortSinglePackH2(), new BagsorterNosortSinglePackH4(), | |
new BagSorterMultiPackHall4()); | |
public static final List<String> PURE_BAGSORTER_PACK_OUTBOUND_PATHS = Lists.newArrayList( | |
PURE_BAGSORTER_SINGLE_H4, | |
PURE_BAGSORTER_SINGLE_H4_TEST, | |
PURE_BAGSORTER_MULTI_H4, | |
PURE_BAGSORTER_MULTI_H4_TEST, | |
PURE_BAGSORTER_MULTI_H2, | |
PURE_BAGSORTER_SINGLE_H2, | |
LAHR_PURE_BAGSORTER_SINGLE_H3, | |
LAHR_PURE_BAGSORTER_SINGLE_H3_TEST, | |
LAHR_PURE_BAGSORTER_MULTI_H3, | |
LAHR_PURE_BAGSORTER_MULTI_H3_TEST | |
); | |
public static final List<String> PURE_BGS_EXPRESS = Lists.newArrayList(PURE_BAGSORTER_SINGLE_EXPRESS_PATH_ID, | |
PURE_BAGSORTER_SINGLE_EXPRESS_PATH_ID_TEST, PURE_BAGSORTER_MULTI_EXPRESS_PATH_ID, | |
PURE_BAGSORTER_MULTI_EXPRESS_PATH_ID_TEST, WRAPUP_PACK_EXPRESS_PATH_ID, | |
// lahr | |
PURE_BAGSORTER_SINGLE_EXPRESS_PATH_ID_LAHR, PURE_BAGSORTER_MULTI_H3_EXPRESS_TEST_LAHR, | |
PURE_BAGSORTER_MULTI_EXPRESS_PATH_ID_LAHR, PURE_BAGSORTER_SINGLE_H3_EXPRESS_TEST_LAHR); | |
// WRAPUP PACK | |
@Deprecated | |
public static final List<ArticleOutBoundPath> FOLIO_MACHINE_BAGSORTER_OUTBOUND_PATHS = Lists.newArrayList( | |
new BagsorterSinglePickNoSortWrapuppackH4()); | |
public static final List<String> WRAUP_UP_PACK_BAGSORTER_OUTBOUND_PATHS = Lists.newArrayList(WRAPUP_PACK_H4); | |
// COP | |
@Deprecated | |
public static final List<ArticleOutBoundPath> PURGING_WITH_CUSTOMER_ORDER_PATH_PATHS = Lists.newArrayList( | |
new BagsorterContainerRepackH4()); | |
public static final List<String> COP_PATHS = Lists.newArrayList(COP_H4, COP_H4_EXPRESS, COP_H4_TEST, | |
COP_H4_EXPRESS_TEST, | |
// LAHR | |
COP_H3_LAHR, COP_H3_EXPRESS_LAHR, COP_H3_TEST_LAHR, COP_H3_EXPRESS_TEST_LAHR); | |
// purging paths | |
public static final List<String> PURGING_WITH_OUT_CUSTOMER_ORDER_PATHS = Lists.newArrayList( | |
PURGING_WITHOUT_CUSTOMER_ORDER); | |
// MMS | |
@Deprecated | |
public static final List<ArticleOutBoundPath> MIXED_ORDER_MANUAL_SORT_OUTBOUND_PATHS = Lists.newArrayList( | |
new BagContainerRepackH2()); | |
public static final List<String> MMS_BAGSORTER_PATHS = Lists.newArrayList(MMS_BAGSORTER_H2, MMS_BAGSORTER_H2_TEST, | |
MMS_BAGSORTER_EXPRESS_H2, MMS_BAGSORTER_EXPRESS_H2_TEST); | |
public static final List<String> STATIC_CONTAINER_MMS_PATHS = Lists.newArrayList( | |
"d9a267b1-5453-48c4-81db-2c0a3130810e", // mms | |
"532bbc3d-6029-408a-be6e-0eaee64ec473", // mms test | |
"21e62ebd-0186-4039-9eed-cb26f0879f77", // mms express. | |
"bd79d81b-de06-4b4f-afa3-d5444cdca54d"); // mms express test | |
// MAS | |
public static final List<String> MAS_BAGSORTER_PATHS = Lists.newArrayList(MAS_MULTI_PACK_H4, MAS_MULTI_PACK_H4_TEST, | |
MAS_SINGLE_PACK_H4, MAS_SINGLE_PACK_H4_TEST, MAS_MULTI_PACK_EXPRESS_H4, MAS_MULTI_PACK_EXPRESS_H4_TEST, | |
MAS_SINGLE_PACK_EXPRESS_H4, MAS_SINGLE_PACK_EXPRESS_H4_TEST); | |
public static final List<String> STATIC_CONTAINER_MAS_PATHS = Lists.newArrayList( | |
"f97f5a12-173f-4581-a17e-4185aa411261", // repack to bag | |
"8345be7b-aa72-4760-b096-43298e78eef5", // repack to bag test | |
"f22285f8-4a6f-4c58-a9c3-c931f85115f6", // repack to bag test | |
"6f01af46-ce6e-4a8f-a7d9-eb1e33d55394", // repack to bag express | |
"05964c26-41d0-456d-89f6-76c47dc37f42", // repack to bag express test | |
// lahr | |
CONTAINER_MAS_MULTI_PACK_H3_LAHR, CONTAINER_MAS_SINGLE_PACK_H3_LAHR, | |
CONTAINER_MAS_MULTI_PACK_H3_EXPRESS_LAHR, CONTAINER_MAS_SINGLE_PACK_H3_EXPRESS_LAHR, | |
CONTAINER_MAS_MULTI_PACK_EXPRESS_H3_TEST_LAHR, CONTAINER_MAS_SINGLE_PACK_EXPRESS_H3_TEST_LAHR, | |
CONTAINER_MAS_MULTI_PACK_H3_TEST_LAHR, CONTAINER_MAS_SINGLE_PACK_H3_TEST_LAHR); | |
@Deprecated | |
public static final List<ArticleOutBoundPath> BAG_REPACK_MIXED_AUTOMATED_SORT = Lists.newArrayList( | |
new MixedAutomatedSortBagRepackManualSortPackH4(), new MixedAutomatedSortBagRepackManualSortPackH4Express(), | |
new MixedAutomatedSortBagRepackNoSortPacktH4(), new MixedAutomatedSortBagRepackNoSortPacktH4()); | |
// WMO | |
@Deprecated | |
public static final List<ArticleOutBoundPath> BAG_SORTER_WMO_OUTBOUND_PATHS = Lists.newArrayList( | |
new BagWMOCartRepackH4()); | |
public static final List<String> BAGSORTER_WMO_OUTBOUND_PATHS = Lists.newArrayList( | |
WMO_REPACK_H4_BL, WMO_REPACK_H4_BL_TEST, | |
WMO_REPACK_H4_EF, WMO_REPACK_H4_EF_TEST, | |
WMO_REPACK_H4_LR, WMO_REPACK_H4_LR_TEST, | |
WMO_REPACK_H4_GB, WMO_REPACK_H4_GB_TEST, | |
WMO_REPACK_H4_MG, WMO_REPACK_H4_MG_TEST, | |
WMO_REPACK_H4_GD, WMO_REPACK_H4_GD_TEST, | |
LAHR_WMO_REPACK_H3_MG, LAHR_WMO_REPACK_H3_MG_TEST, | |
LAHR_WMO_REPACK_H3_EF, LAHR_WMO_REPACK_H3_EF_TEST, | |
LAHR_WMO_REPACK_H3_BL, LAHR_WMO_REPACK_H3_BL_TEST, | |
LAHR_WMO_REPACK_H3_GB, LAHR_WMO_REPACK_H3_GB_TEST, | |
LAHR_WMO_REPACK_H3_GD, LAHR_WMO_REPACK_H3_GD_TEST | |
); | |
// Hybrid sorth path | |
@Deprecated | |
public static final List<ArticleOutBoundPath> MIXED_ORDER_HYBRID_SORT_OUTBOUND_PATHS = Lists.newArrayList( | |
new BagContainerRepackHybridH2()); | |
public static final List<String> HYBRID_SORT_OUTBOUND_PATHS = Lists.newArrayList(HYBRID_BAGSORTER_SORT_PACK_H2, | |
// lahr | |
BAGSORTER_HYBRID_SORT_LAHR, BAGSORTER_HYBRID_SORT_TEST_LAHR, BAGSORTER_HYBRID_SORT_EXPRESS_LAHR, | |
BAGSORTER_HYBRID_SORT_EXPRESS_TEST_LAHR); | |
public static final List<String> CONTAINER_HYBRID_SORT_OUTBOUND_PATHS = Lists.newArrayList( | |
// lahr | |
CONTAINER_HYBRID_SORT_LAHR, CONTAINER_HYBRID_SORT_TEST_LAHR, CONTAINER_HYBRID_SORT_EXPRESS_LAHR, | |
CONTAINER_HYBRID_SORT_EXPRESS_TEST_LAHR); | |
// Container pick path | |
public static final List<ArticleOutBoundPath> STATIC_SUPPORTED_CONTAINER_PICK_PATHS = Lists.newArrayList( | |
new ContainerPickNoSortSinglePackHall2(), new ContainerPickNoSortSinglePackHall4(), | |
new ContainerPickManualSortMultiPackHall2(), new ContainerPickManualSortMultiPackHall4(), | |
new ContainerPickHybridSortMultiPackHall2(), new ContainerPickMixManualSortMultiPackHall2(), | |
new ContainerPickRepackToBagHall4(), new ContainerPickNoSortContainerCartWmoRepackH4(), | |
new ContainerPickNoSortContainerCartWmoRepackH2(), new ContainerPickNoSortWmoCartRepackH4()); | |
public static final List<String> STATIC_ALL_CONTAINER_PATHS_TEST = Lists.newArrayList( | |
"a9e22ed3-920c-40a2-86d7-d4e49f789713", "36d3c594-367d-4b0d-961e-36fc361f9290", | |
"532bbc3d-6029-408a-be6e-0eaee64ec473", "e225ffd1-1bb1-4ad7-af0e-6bfca78cda98", | |
"86be5748-0964-4b67-a640-5bf0150a9e48", "27d695a0-f744-40cd-863e-adadd0e3b8d4", | |
"34bcf4dd-43aa-46a9-a331-0454c8acf42f", "d78fdd4e-de97-41da-9fc4-07cfc978ca9a", | |
"e9c77458-1b36-43cc-aab5-49e90c686123", "bd79d81b-de06-4b4f-afa3-d5444cdca54d", | |
"8345be7b-aa72-4760-b096-43298e78eef5", "f22285f8-4a6f-4c58-a9c3-c931f85115f6", | |
"05964c26-41d0-456d-89f6-76c47dc37f42", "bf9f1c47-455e-4acf-8801-18cbddc97d32", | |
"de995419-7221-443d-9898-09508e87a1fa", | |
// LAHR | |
CONTAINER_SINGLE_PACK_TEST_LAHR, CONTAINER_MULTI_PACK_TEST_LAHR, CONTAINER_MAS_MULTI_PACK_H3_TEST_LAHR, | |
CONTAINER_MAS_SINGLE_PACK_H3_TEST_LAHR, CONTAINER_HYBRID_SORT_TEST_LAHR, CONTAINER_WMO_REPACK_EF_TEST_LAHR, | |
CONTAINER_WMO_REPACK_BL_TEST_LAHR, CONTAINER_WMO_REPACK_MG_TEST_LAHR, CONTAINER_WMO_REPACK_GB_TEST_LAHR, | |
CONTAINER_WMO_REPACK_GD_TEST_LAHR, CONTAINER_SINGLE_PACK_EXPRESS_TEST_LAHR, | |
CONTAINER_MULTI_PACK_EXPRESS_TEST_LAHR, CONTAINER_MAS_MULTI_PACK_EXPRESS_H3_TEST_LAHR, | |
CONTAINER_MAS_SINGLE_PACK_EXPRESS_H3_TEST_LAHR, CONTAINER_HYBRID_SORT_EXPRESS_TEST_LAHR); | |
public static final List<String> STATIC_ALL_CONTAINER_PATHS = Lists.newArrayList( | |
"8d3a5075-0677-44b2-9601-0e362499c7e4", "c0e46664-e42b-4136-861d-33f31a53128a", | |
"7bcc59c4-5e66-48a4-a20e-3b0445bdafa9", "e225ffd1-1bb1-4ad7-af0e-6bfca78cda98", | |
"2264869d-92fa-48b0-9be3-522c44572828", "d9a267b1-5453-48c4-81db-2c0a3130810e", | |
"1e77b9a6-98e7-443d-b37b-a7662411e768", "aa6b2d02-0ba7-4908-9785-6ab900ab677e", | |
"71a6921c-c28e-4fe8-9231-9b06ac500451", "35a15fdf-bd0b-42e8-a477-bd6b9f9a1098", | |
"6a9e0a09-07a8-46f0-a22e-1bd2377341d0", "f0b0621e-e474-44da-a39d-c5e7c59b71c1", | |
"0b18fd22-3668-488f-99f9-bf29f399baa4", "6415ae06-c272-4297-a765-8b88e2456d57", | |
"21e62ebd-0186-4039-9eed-cb26f0879f77", "f97f5a12-173f-4581-a17e-4185aa411261", | |
"6f01af46-ce6e-4a8f-a7d9-eb1e33d55394", "f466d847-dc6a-4fb9-82e0-bfca63222b20", | |
"c489668c-df16-4e2b-9278-cbc9c54605ee", | |
// LAHR | |
CONTAINER_SINGLE_PACK_LAHR, CONTAINER_MULTI_PACK_LAHR, CONTAINER_MAS_MULTI_PACK_H3_LAHR, | |
CONTAINER_MAS_SINGLE_PACK_H3_LAHR, CONTAINER_HYBRID_SORT_LAHR, CONTAINER_WMO_REPACK_EF_LAHR, | |
CONTAINER_WMO_REPACK_BL_LAHR, CONTAINER_WMO_REPACK_MG_LAHR, CONTAINER_WMO_REPACK_GB_LAHR, | |
CONTAINER_WMO_REPACK_GD_LAHR, CONTAINER_SINGLE_PACK_EXPRESS_LAHR, CONTAINER_MULTI_PACK_EXPRESS_LAHR, | |
CONTAINER_MAS_MULTI_PACK_H3_EXPRESS_LAHR, CONTAINER_MAS_SINGLE_PACK_H3_EXPRESS_LAHR, | |
CONTAINER_HYBRID_SORT_EXPRESS_LAHR); | |
private PickListPaths() { } | |
public static boolean isSupportedPath(final ArticleOutBoundPath outboundPath) { | |
if (outboundPath == null) { | |
return false; | |
} | |
return isSupportedContainerPickPath(outboundPath) || isSupportedBagsorterPackPath(outboundPath) | |
|| isSupportedBagsorterRePackPath(outboundPath) || isSupportedBagSorterBagRepackPath(outboundPath); | |
} | |
public static boolean isSupportedContainerPickPath(final ArticleOutBoundPath outboundPath) { | |
if (outboundPath == null) { | |
return false; | |
} | |
return STATIC_ALL_CONTAINER_PATHS.contains(outboundPath.getUuid()) | |
|| STATIC_ALL_CONTAINER_PATHS_TEST.contains(outboundPath.getUuid()) | |
|| STATIC_SUPPORTED_CONTAINER_PICK_PATHS.contains(outboundPath); | |
} | |
public static boolean isSupportedBagsorterPackPath(final ArticleOutBoundPath outboundPath) { | |
if (outboundPath == null) { | |
return false; | |
} | |
return PURE_BGS_EXPRESS.contains(outboundPath.getUuid()) | |
|| PURE_BAGSORTER_PACK_OUTBOUND_PATHS.contains(outboundPath.getUuid()) | |
|| WRAUP_UP_PACK_BAGSORTER_OUTBOUND_PATHS.contains(outboundPath.getUuid()) | |
|| PURE_BAGSORTER_OUTBOUND_PATHS.contains(outboundPath) | |
|| FOLIO_MACHINE_BAGSORTER_OUTBOUND_PATHS.contains(outboundPath); | |
} | |
public static boolean isSupportedBagSorterBagRepackPath(final ArticleOutBoundPath outboundPath) { | |
if (outboundPath == null) { | |
return false; | |
} | |
return MAS_BAGSORTER_PATHS.contains(outboundPath.getUuid()) | |
|| BAG_REPACK_MIXED_AUTOMATED_SORT.contains(outboundPath); | |
} | |
public static boolean isSupportedBagsorterRePackPath(final ArticleOutBoundPath outboundPath) { | |
if (outboundPath == null) { | |
return false; | |
} | |
return PURGING_WITH_CUSTOMER_ORDER_PATH_PATHS.contains(outboundPath) | |
|| MIXED_ORDER_MANUAL_SORT_OUTBOUND_PATHS.contains(outboundPath) | |
|| HYBRID_SORT_OUTBOUND_PATHS.contains(outboundPath.getUuid()) | |
|| COP_PATHS.contains(outboundPath.getUuid()) || MMS_BAGSORTER_PATHS.contains(outboundPath.getUuid()) | |
|| BAGSORTER_WMO_OUTBOUND_PATHS.contains(outboundPath.getUuid()) | PURGING_WITH_OUT_CUSTOMER_ORDER_PATHS | |
.contains(outboundPath.getUuid()) || BAG_SORTER_WMO_OUTBOUND_PATHS.contains(outboundPath); | |
} | |
public static ShipperType getShipperType(final String outboundPathUUID) { | |
if (outboundPathUUID != null) { | |
return OutboundPathToShipperTypeMapper.getShipperType(outboundPathUUID); | |
} | |
return null; | |
} | |
public static ShipperType getShipperForRepack(final ArticleOutBoundPath outboundPath, final String wmoDestinaiton) { | |
Preconditions.checkNotNull(outboundPath, "outboundPath cannot be null"); | |
ShipperType type = OutboundPathToShipperTypeMapper.getShipperType(outboundPath.getUuid()); | |
if (type == null) { | |
type = getShipperForRepack_old(outboundPath, wmoDestinaiton); | |
} | |
return type; | |
} | |
@Deprecated | |
public static ShipperType getShipperForRepack_old(final ArticleOutBoundPath outboundPath, | |
final String wmoDestinaiton) { | |
Preconditions.checkNotNull(outboundPath, "outboundPath cannot be null"); | |
if (BAGSORTER_WMO_OUTBOUND_PATHS.contains(outboundPath.getUuid()) | |
|| BAG_SORTER_WMO_OUTBOUND_PATHS.contains(outboundPath)) { | |
Preconditions.checkNotNull(wmoDestinaiton, "Destination cannot be null"); | |
return de.zalando.ale.serviceclient.outboundpath.domain.enumeration.WMODestinations.getShipperType( | |
wmoDestinaiton); | |
} else if (COP_PATHS.contains(outboundPath.getUuid()) | |
|| PURGING_WITH_CUSTOMER_ORDER_PATH_PATHS.contains(outboundPath)) { | |
return ShipperType.REPACK_PURGING_WITH_CO; | |
} else if (MMS_BAGSORTER_PATHS.contains(outboundPath.getUuid()) | |
|| MIXED_ORDER_MANUAL_SORT_OUTBOUND_PATHS.contains(outboundPath)) { | |
return ShipperType.REPACK_MIXED_ORDER_MANUAL_SORT; | |
} else if (HYBRID_SORT_OUTBOUND_PATHS.contains(outboundPath.getUuid()) | |
|| MIXED_ORDER_HYBRID_SORT_OUTBOUND_PATHS.contains(outboundPath)) { | |
return ShipperType.REPACK_HYBRID_SORT_SHELF; | |
} | |
return null; | |
} | |
@Deprecated | |
public static RepackCategory getRepackCategory(final ArticleOutBoundPath outboundPath) { | |
if (BAGSORTER_WMO_OUTBOUND_PATHS.contains(outboundPath.getUuid()) | |
|| BAG_SORTER_WMO_OUTBOUND_PATHS.contains(outboundPath)) { | |
return RepackCategory.REPACK_VIA_WMO; | |
} | |
if (MMS_BAGSORTER_PATHS.contains(outboundPath.getUuid()) | |
|| MIXED_ORDER_MANUAL_SORT_OUTBOUND_PATHS.contains(outboundPath)) { | |
return RepackCategory.REPACK_VIA_HDS; | |
} | |
return RepackCategory.REPACK_VIA_KOLA; | |
} | |
public static RepackCategory getRepackCategory(final String pathUuid) { | |
if (BAGSORTER_WMO_OUTBOUND_PATHS.contains(pathUuid)) { | |
return RepackCategory.REPACK_VIA_WMO; | |
} | |
if (MMS_BAGSORTER_PATHS.contains(pathUuid)) { | |
return RepackCategory.REPACK_VIA_HDS; | |
} | |
return RepackCategory.REPACK_VIA_KOLA; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment