Skip to content

Commit

Permalink
Change sample using sftp to not run if prelive is down
Browse files Browse the repository at this point in the history
  • Loading branch information
AzhurV committed Mar 25, 2020
1 parent c9457fc commit 78bc940
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions samples/other/src/main/java/RfrLitleExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
import java.util.Calendar;
public class RfrLitleExample {
public static void main(String[] args) {
String preliveStatus = System.getenv("preliveStatus");

if(preliveStatus != null && preliveStatus.equalsIgnoreCase("down")){
return;
}

String merchantId = "0180";
String requestFileName = "litleSdk-testRFRFile-fileConfigSFTP.xml";
RFRRequest rfrRequest = new RFRRequest();
Expand Down

0 comments on commit 78bc940

Please sign in to comment.