Skip to content

Mr Peacock Client Simulator

ferng edited this page Jul 16, 2017 · 1 revision

Development Notes

Libraries

cd ~/prog/java/peacockmybank/WebContent/WEB-INF/lib

cp ~/dgedit/javaDev/apache-log4j-1.2.17/log4j-1.2.17.jar .
cp ~/dgedit/javaDev/commons-logging-1.1.1/commons-logging-api-1.1.1.jar .

cp ~/dgedit/javaDev/spring-framework-3.2.1.RELEASE/libs/spring-aop-3.2.1.RELEASE.jar .
cp ~/dgedit/javaDev/spring-framework-3.2.1.RELEASE/libs/spring-beans-3.2.1.RELEASE.jar .
cp ~/dgedit/javaDev/spring-framework-3.2.1.RELEASE/libs/spring-context-3.2.1.RELEASE.jar .
cp ~/dgedit/javaDev/spring-framework-3.2.1.RELEASE/libs/spring-core-3.2.1.RELEASE.jar .
cp ~/dgedit/javaDev/spring-framework-3.2.1.RELEASE/libs/spring-expression-3.2.1.RELEASE.jar .
cp ~/dgedit/javaDev/spring-framework-3.2.1.RELEASE/libs/spring-oxm-3.2.1.RELEASE.jar .
cp ~/dgedit/javaDev/spring-framework-3.2.1.RELEASE/libs/spring-test-3.2.1.RELEASE.jar .
cp ~/dgedit/javaDev/spring-framework-3.2.1.RELEASE/libs/spring-tx-3.2.1.RELEASE.jar .
cp ~/dgedit/javaDev/spring-framework-3.2.1.RELEASE/libs/spring-web-3.2.1.RELEASE.jar .
cp ~/dgedit/javaDev/spring-framework-3.2.1.RELEASE/libs/spring-webmvc-3.2.1.RELEASE.jar .

cp ~/dgedit/javaDev/spring-ws-2.1.3.RELEASE/dist/spring-ws-2.1.3.RELEASE-all.jar .

cp ~/dgedit/javaDev/wsdl4j-1_6_3/lib/wsdl4j.jar .

cp ~/dgedit/javaDev/loosejars/junit-4.11.jar .
cp ~/dgedit/javaDev/loosejars/com.springsource.org.aopalliance-1.0.0.jar .

cp ~/dgedit/javaDev/mockito-1.9.5/mockito-all-1.9.5.jar .

Release Notes

Application Deployment

Module Version Context Root Deploy
peacockMyBank.war 1.0 mrpeacock Y

Execute Ant Tasks

#Rebuild and redeploy
ant -f peacockMyBank.xml tomRedeploy

#Deploy war
ant -f peacockMyBank.xml tomDeploy

Post release checks

DB

select * from APP_SCHEMA.SYSTEM_ATTRIBUTE;

Environment

Section Property Value
Target Request URI http://localhost:8080/peacockSimi
Content-Type text/xml
Request Method POST
Body Content-Type text/xml
Encoding utf-8

Payload

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:q0="http://www.thecrunchycorner.com/peacockInt/schemas" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soapenv:Body>
    <bnk:CustRegValidationRequest xmlns:bnk="http://www.thecrunchycorner.com/peacockInt/schemas" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.thecrunchycorner.com/peacockInt/schemas ../WebContent/WEB-INF/classes/CustRegValidationRequest.xsd ">
      <bnk:RequestID>e6a9bb54-da25-102b-9a03-2db401e887ec</bnk:RequestID>
      <bnk:RequestDateTime>2001-12-31T12:00:00</bnk:RequestDateTime>
      <bnk:RequestAction>VALIDATION</bnk:RequestAction>
      <bnk:NewCustDetails>
        <bnk:CustomerId>FG001</bnk:CustomerId>
        <bnk:CustomerOrg>CRNCHY</bnk:CustomerOrg>
        <bnk:CustomerStatus>UNAUTH</bnk:CustomerStatus>
      </bnk:NewCustDetails>
   </bnk:CustRegValidationRequest>
  </soapenv:Body>
</soapenv:Envelope>

Connectivity

curl -X POST -d '<run><log encoding="hexBinary">4142430A</log><result>0</result><duration>2000</duration></run>' http://localhost:8080/peacockSimi

Clone this wiki locally