Created
March 10, 2016 15:08
-
-
Save andrealmar/68c6d49d4dad3d24642c 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 controllers; | |
import oi.siebel.Control; //that's the Class I created to send the SSH commands to an UNIX shell | |
import play.mvc.Controller; | |
import play.mvc.Result; | |
import java.util.*; | |
import java.lang.*; | |
public class Application extends Controller { | |
public static Result index() { | |
//variable that will receive the result of the method listOHSParam | |
String result = null; | |
try { | |
oi.siebel.Control a = new Control(); | |
HashMap<String, String[]> result = null; | |
HashMap<String, Integer> result2 = null; | |
String[] result3 = null; | |
HashMap<String, String> result4 = null; | |
Iterator it = null; | |
resultado = a.listOHSParam(Control.EnvironmentOptions.NonProduction, "server01", "/siebel/MiddlewareHome/Oracle_WT1/instances/instance1"); | |
} | |
catch (Exception ex){ | |
} | |
finally { | |
} | |
return ok(result); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment