Skip to content

Commit

Permalink
gut dependency on IBMi-DotEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePrez committed Feb 15, 2024
1 parent 78d1fdc commit da9fdbb
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 14 deletions.
6 changes: 0 additions & 6 deletions camel/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,6 @@
<version>0.0.3</version>
</dependency>

<dependency>
<groupId>io.github.theprez</groupId>
<artifactId>dotenv-java-ibmi</artifactId>
<version>0.0.1</version>
</dependency>

<!-- logging -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@
import com.ibm.as400.access.AS400JDBCDataSource;
import com.ibm.as400.access.AS400Message;
import com.ibm.as400.access.CommandCall;
import com.ibm.as400.access.Job;

import io.github.theprez.dotenv_ibmi.IBMiDotEnv;

/**
* A Camel Application that routes messages from an IBM i message queue to
Expand Down Expand Up @@ -95,7 +92,7 @@ private static void printVersionInfo() {
System.exit(-1);
}
try {
AS400 as400 = IBMiDotEnv.getCachedSystemConnection(true);
AS400 as400 = ApplicationConfig.get().getRemoteConnection();
CommandCall cmd = new CommandCall(as400,
"CALL PGM(" + library.trim() + "/handler) PARM('*VERSION' '*VERSION')");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
import com.ibm.as400.access.ProgramCall;
import com.ibm.as400.access.ProgramParameter;

import io.github.theprez.dotenv_ibmi.IBMiDotEnv;

public class WatchStarter {
private final String m_command;
private final String m_stopCommand;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package com.github.theprez.manzan.routes;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
Expand Down

0 comments on commit da9fdbb

Please sign in to comment.