Как запустить пакетную JOB в контейнере Open-shift или Talon jboss - PullRequest
0 голосов
/ 25 октября 2019
Can we Run Spring batch or any other Java batch in Open shift Docker container, basically I need to handle file(read/write).

what's a good place to upload the file where any number of pods of the scheduler could read it?
How to move files from any other external Source(like Unix to open-shift or windows to open-shift).

Как и в следующем коде, который читает из Jboss Wild-fly, как получить sftp файл из внешнего источника сюда

  String fileName = System.getProperty("jboss.server.config.dir") + "/my.properties";
  try(FileInputStream fis = new FileInputStream(fileName)) 
  {
  properties.load(fis);
  }
...