SIP Mock Server is a TCP/IP-based server that can also act as a messaging interface between SIP Mock Server clients. Once connected the server receives SIP2 request messages from the client and using the instance parameters does the required database lookups, processing etc. and returns the appropriate response message. The parameters define how the data for each field in the response message is derived. When Request is placed to SIP2 Mock server it will convert the request to string and while passing the response it will again convert string to the response
- Java 11
- Docker 19.03.13
-
external-sip-application properties
- spring.datasource.url=
- spring.datasource.driver-class-name=
- spring.datasource.username=
- spring.datasource.password=
- spring.jpa.properties.hibernate.dialect=
- ils.mock.sip.server.url=
- ils.mock.sip.server.port=
-
Update the below Property Values in scsb_properteis_t table.
- UPDATE
recap
.scsb_properties_t
SETP_VALUE
='' WHEREP_KEY
='ils.server' ANDINSTITUTION_CODE
=''; - UPDATE
recap
.scsb_properties_t
SETP_VALUE
='' WHEREP_KEY
='ils.server.port' ANDINSTITUTION_CODE
=''; - UPDATE
recap
.scsb_properties_t
SETP_VALUE
='recap' WHEREP_KEY
='ils.server.operator.user.id' ANDINSTITUTION_CODE
=''; - UPDATE
recap
.scsb_properties_t
SETP_VALUE
='recap' WHEREP_KEY
='ils.server.operator.password' ANDINSTITUTION_CODE
=''; - UPDATE
recap
.scsb_properties_t
SETP_VALUE
='location' WHEREP_KEY
='ils.server.operator.location' ANDINSTITUTION_CODE
='';
- UPDATE
Download the Project , navigate inside project folder and build the project using below command
mvn clean install
Naviagte Inside project folder where Dockerfile is present and Execute the below command
sudo docker build -t phase4-scsb-sip-mock-server .
User the below command to Run the Docker
sudo docker run --name phase4-scsb-sip-mock-server -v /data:/recap-vol -p -e "ENV= -Dorg.apache.activemq.SERIALIZABLE_PACKAGES="*" -Dspring.config.location= " -d phase4-scsb-sip-mock-server