diff --git a/Acceptancetest/src/test/java/acceptancetest/acat.java b/Acceptancetest/src/test/java/acceptancetest/acat.java index b66f0fe334..ecba59be20 100644 --- a/Acceptancetest/src/test/java/acceptancetest/acat.java +++ b/Acceptancetest/src/test/java/acceptancetest/acat.java @@ -12,8 +12,8 @@ public class acat { public HtmlUnitDriver driver; //public WebDriver driver; public WebDriverWait wait; - public String URL = "http://172.31.45.127:8080/ProdWebapp"; - public String URL1 = "http://172.31.45.127:8080/ProdWebapp/avncreatepage.jsp"; + public String URL = "http://18.216.115.223:8080/ProdWebapp"; + public String URL1 = "http://18.216.115.223:8080/ProdWebapp/avncreatepage.jsp"; //public String URL = "http://localhost:8080/AVNCommunication-1.0/avnlogin.jsp"; //public String URL1 = "http://localhost:8080/AVNCommunication-1.0/avncreatepage.jsp"; diff --git a/README.md b/README.md index 24c3c17f54..7ea2579f24 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,10 @@ This is a sample project used for learning the devops end to end concepts my intial commit 01/26 +adding 3rd line + +Testing web hook with pull SCM + + +testing webhooks with webhooks at 5:34 PM EST 02/12/2021 +test diff --git a/functionaltest/src/test/java/functionaltest/ftat.java b/functionaltest/src/test/java/functionaltest/ftat.java index 33478958cd..1adfa34804 100644 --- a/functionaltest/src/test/java/functionaltest/ftat.java +++ b/functionaltest/src/test/java/functionaltest/ftat.java @@ -16,8 +16,8 @@ public class ftat { public HtmlUnitDriver driver; //public WebDriver driver; public WebDriverWait wait; - public String URL = "http://172.31.46.182:8080/QAWebapp/"; - public String URL1 = "http://172.31.46.182:8080/QAWebapp/avncreatepage.jsp"; + public String URL = "http://3.141.167.6:8080/QAWebapp/"; + public String URL1 = "http://3.141.167.6:8080/QAWebapp/avncreatepage.jsp"; //public String URL = "http://localhost:8080/AVNCommunication-1.0/avnlogin.jsp"; //public String URL1 = "http://localhost:8080/AVNCommunication-1.0/avncreatepage.jsp"; diff --git a/install_tomcat.yml b/install_tomcat.yml new file mode 100644 index 0000000000..bcc8ca1914 --- /dev/null +++ b/install_tomcat.yml @@ -0,0 +1,18 @@ +--- +- name: installing tomcat + hosts: webservers + gather_facts: false + tasks: + - name: downloding tomcat + get_url: + url: "https://mirror.jframeworks.com/apache/tomcat/tomcat-8/v8.5.63/bin/apache-tomcat-8.5.63.tar.gz" + dest: /usr/local + - name: extracting tomcat + unarchive: + src: "/usr/local/apache-tomcat-8.5.63.tar.gz" + dest: /usr/local + remote_src: yes + - name: renaming tomcat home + command: mv /usr/local/apache-tomcat-8.5.63 /usr/local/tomcat + - name: Starting tomcat + shell: nohup /usr/local/tomcat/bin/startup.sh & \ No newline at end of file diff --git a/src/test/java/servlet/cancelpage.java b/src/test/java/servlet/cancelpage.java index f38f8bce12..e8aa50bc0f 100644 --- a/src/test/java/servlet/cancelpage.java +++ b/src/test/java/servlet/cancelpage.java @@ -17,7 +17,7 @@ public void doPost(HttpServletRequest req,HttpServletResponse res) try { Class.forName("org.postgresql.Driver"); - String jdbcUrl="jdbc:postgresql://172.31.46.182:5432/postgres"; + String jdbcUrl="jdbc:postgresql://3.141.167.6:5432/postgres"; String username="postgres"; String password="password"; diff --git a/src/test/java/servlet/createpage.java b/src/test/java/servlet/createpage.java index 7269a16311..a43a40d070 100644 --- a/src/test/java/servlet/createpage.java +++ b/src/test/java/servlet/createpage.java @@ -17,7 +17,7 @@ public void doPost(HttpServletRequest req,HttpServletResponse res) try { Class.forName("org.postgresql.Driver"); - String jdbcUrl="jdbc:postgresql://172.31.46.182:5432/postgres"; + String jdbcUrl="jdbc:postgresql://3.141.167.6:5432/postgres"; String username="postgres"; String password="password"; diff --git a/src/test/java/servlet/viewticket.java b/src/test/java/servlet/viewticket.java index 0ad7e27bb8..162a1d5132 100644 --- a/src/test/java/servlet/viewticket.java +++ b/src/test/java/servlet/viewticket.java @@ -16,7 +16,7 @@ public void service(HttpServletRequest req,HttpServletResponse res) try { Class.forName("org.postgresql.Driver"); - String jdbcUrl="jdbc:postgresql://172.31.46.182:5432/postgres"; + String jdbcUrl="jdbc:postgresql://3.141.167.6:5432/postgres"; String username="postgres"; String password="password";