forked from jpos/jPOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first version of deploy cmd for q2 cli
- Loading branch information
Showing
5 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/bin/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/bin/ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCr13WX2cb/xzxaWlLvJkc3st4eE0czmWlf+SL7qJwGdHbCY/+fGwIL1vYsDNgJCBCUxzzPXX825pV6nCKwgdgSIOv8106r/olvYdHklHSyd3fwhEVNKcsOCFBgQH0NQr5d3RO/SnzbMJM0ZqHzZKz9CCJyk7xQMP4kBYmp8Rn37QyonKchEXFasBxZaY1p/9BcCaUE4nBQZtPuoXT3LYt08A3GPY9eNMtWd0iI/JmW2gQcza7iYdh4+RXkDgsCY3Jbfc9Z8KlqHrcMg9w3SfJCy+gNhz3DI7Lpz6NlGboS4fPB6pfoQc0YSxKr1XeHvA6VRwxGn4eUTGp7TpA6CQgV oracle_backup@firewall | ||
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAgEAmmQYTKH2YsfQFzrn1wnVsu0ccQdzIjqA5NO7yyM6u6Sn4FXzXB3YcAr9rt0HcgqJ62S5pdLnbtycEJfONx4Axw0qRR7+Xc8QTBtfNr1xSBSik+98oQ9BzYt1+beIEqkwgQtalvq/vka13uPXjiHlQ8QWJOCuleh38JZI58UBy52Tlojx4PY9ayqTBVNYTNZaKKotL6G0XVfl14ahgDbxjEITOZxdpRDhJTMfqAoBG4thwxlgQZ8TB/Xf3lZxzhs3kePkzS32Ls1QmmbzJsBxvBwspo50o68eFWDMVAk1g9WurQYe+ealR75dvlqhBowGHMZH1oEddkRe/bVcK06vaP/afkeexg6J4a7hr6Ll6qUZvpbiCJ67wIkTvFvxqt9PVjpJpCb9iYF6LVd4zCPARXCRpvDMxSBhRpGBJgNQOjIMcbHeWVYvnAXtp43QATOHmv6Fs/8uoWcIJYBDVJhDXTQGGoE7Vz+11/WEZQT+HBV/8R7Zwji+7qM4CVE/2aZDfHtAkzwsk9BD/wIrMNRA/ZIbH8mDJxaR/7ponK+GM6TF+4sjTwp0IIHsWVeQDkf1EI/Zs69fmcXV7BhA/c35qKyytcFof74Lzk2nXYoB7dQWIJUGV0WbOSpLUGml5F78aFkAigWxMCGSMRQI+D7Ux8hjcXWz1cohPa5WI5GKMUU= felipph@sysadmin | ||
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAoVtGGaHu60vCaI2Jcb19APFFgwldvmyuU/76vTGJuIEignzqEIFHeBo4PkaVfV/3kbC03+L+MmbYNEDjwLu9uRCWcHnKcXl0Lo0cEStPIF98bCy/bPa7+fVRn73FWk6Rm2l89J12SQ5qE+mV4tNgVRQXRwyex3ovXGWICiyAyiCNRvsV9pynzMAAuLLSNSQZNoiUEuQcB74JzRGlWwiB2/k6Z0aBF9/BO8AT7OPxeUplzYd1uf3o7ZLSULmA3/p0yvCBP8iXkE0PfYU2qRfuX666mWLHyvHe8ienGCKjmKPS5oUW61+IfDQmkSqrHN0QoAy940N6agfss8UVHBxtSw== rsa-key-20160922 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package org.jpos.q2.cli; | ||
|
||
import org.jpos.q2.CLICommand; | ||
import org.jpos.q2.CLIContext; | ||
|
||
public class DEPLOY implements CLICommand { | ||
|
||
@Override | ||
public void exec(CLIContext ctx, String[] args) throws Exception { | ||
if (args.length != 2) { | ||
ctx.println("Usage: deploy [operation]"); | ||
return; | ||
} | ||
switch (args[1]) { | ||
case "list": | ||
this.listDeployDir(ctx); | ||
} | ||
|
||
return; | ||
} | ||
public void listDeployDir(CLIContext ctx){ | ||
Q2 q2 = ctx.getCLI().getQ2(); | ||
} | ||
|
||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/bin/ |