Skip to content

Commit

Permalink
Merge pull request #792 from motech-implementations/obd_file_bifurcation
Browse files Browse the repository at this point in the history
Obd file bifurcation
  • Loading branch information
gudipatiharitha authored Aug 20, 2019
2 parents 505ef19 + 3a94576 commit 6f5507b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public class TargetFileServiceImpl implements TargetFileService {
private static final String TARGET_FILE_NOTIFICATION_URL = "imi.target_file_notification_url";
private static final String TARGET_FILE_CALL_FLOW_URL = "imi.target_file_call_flow_url";
private static final String NORMAL_PRIORITY = "0";
private static final String HIGH_PRIORITY = "1";
private static final String IMI_FRESH_CHECK_DND = "imi.fresh_check_dnd";
private static final String IMI_FRESH_NO_CHECK_DND = "imi.fresh_no_check_dnd";
private static final String IMI_RETRY_CHECK_DND = "imi.retry_check_dnd";
Expand Down Expand Up @@ -438,7 +439,7 @@ private HashMap<String, Integer> generateFreshCalls(DateTime timestamp, int maxQ
requestId.toString(),
serviceIdFromOriginJh(true, subscription.getOrigin()),
subscriber.getCallingNumber().toString(),
NORMAL_PRIORITY, //todo: how do we choose a priority?
HIGH_PRIORITY, //todo: how do we choose a priority?
callFlowUrl,
msg.getMessageFileName(),
msg.getWeekId(),
Expand Down Expand Up @@ -511,7 +512,7 @@ private HashMap<String, Integer> generateRetryCalls(DateTime timestamp, int maxQ
requestId.toString(),
serviceIdFromOriginJh(false, callRetry.getSubscriptionOrigin()),
callRetry.getMsisdn().toString(),
NORMAL_PRIORITY,
HIGH_PRIORITY,
callFlowUrl,
callRetry.getContentFileName(),
callRetry.getWeekId(),
Expand Down

0 comments on commit 6f5507b

Please sign in to comment.