Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLOUDOPS-391: Fix integration test sql files. Cleanup PermissionsUtil…
…, remove userIdentityContext use
- Loading branch information
1 parent
419fbaa
commit f661c64
Showing
70 changed files
with
179 additions
and
41 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
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
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
57 changes: 57 additions & 0 deletions
57
restcomm/restcomm.testsuite/src/test/resources/mybatis_win.xml
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,57 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd"> | ||
<!-- | ||
@author thomas.quintana@telestax.com (Thomas Quintana) | ||
--> | ||
<configuration> | ||
<environments default="production"> | ||
<environment id="production"> | ||
<transactionManager type="JDBC"/> | ||
<dataSource type="POOLED"> | ||
<property name="driver" value="org.hsqldb.jdbcDriver"/> | ||
<property name="url" value="jdbc:hsqldb:file://${data}/restcomm;ifexists=true;hsqldb.write_delay=false;shutdown=true"/> | ||
<property name="username" value="sa"/> | ||
<property name="password" value=""/> | ||
</dataSource> | ||
</environment> | ||
<!-- <environment id="mariadb"> | ||
<transactionManager type="JDBC"/> | ||
<dataSource type="POOLED"> | ||
<property name="driver" value="com.mysql.jdbc.Driver"/> | ||
<property name="url" value="jdbc:mysql://192.168.8.102:3306/restcomm"/> | ||
<property name="username" value="root"/> | ||
<property name="password" value="1234"/> | ||
</dataSource> | ||
</environment> --> | ||
|
||
</environments> | ||
|
||
|
||
<mappers> | ||
<mapper url="file:///${sql}/accounts.xml"/> | ||
<mapper url="file:///${sql}/applications.xml"/> | ||
<mapper url="file:///${sql}/available-phone-numbers.xml"/> | ||
<mapper url="file:///${sql}/call-detail-records.xml"/> | ||
<mapper url="file:///${sql}/conference-detail-records.xml"/> | ||
<mapper url="file:///${sql}/clients.xml"/> | ||
<mapper url="file:///${sql}/http-cookies.xml"/> | ||
<mapper url="file:///${sql}/incoming-phone-numbers.xml"/> | ||
<mapper url="file:///${sql}/notifications.xml"/> | ||
<mapper url="file:///${sql}/outgoing-caller-ids.xml"/> | ||
<mapper url="file:///${sql}/registrations.xml"/> | ||
<mapper url="file:///${sql}/recordings.xml"/> | ||
<mapper url="file:///${sql}/sand-boxes.xml"/> | ||
<mapper url="file:///${sql}/short-codes.xml"/> | ||
<mapper url="file:///${sql}/sms-messages.xml"/> | ||
<mapper url="file:///${sql}/transcriptions.xml"/> | ||
<mapper url="file:///${sql}/gateways.xml"/> | ||
<mapper url="file:///${sql}/announcements.xml"/> | ||
<mapper url="file:///${sql}/usage.xml"/> | ||
<mapper url="file:///${sql}/instanceId.xml"/> | ||
<mapper url="file:///${sql}/media-servers.xml"/> | ||
<mapper url="file:///${sql}/media-resource-broker-entity.xml"/> | ||
<mapper url="file:///${sql}/extensions-configuration.xml"/> | ||
<mapper url="file:///${sql}/geolocation.xml"/> | ||
<mapper url="file:///${sql}/permissions.xml"/> | ||
</mappers> | ||
</configuration> |
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
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
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
23 changes: 22 additions & 1 deletion
23
restcomm/restcomm.testsuite/src/test/resources/record-withActionUrl.xml
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 |
---|---|---|
@@ -1,4 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Response> | ||
<Record action="http://127.0.0.1:8090/test" method="POST" finishOnKey="#" maxLength="10" playBeep="true"/> | ||
<!--Record | ||
action="http://127.0.0.1:8090/test" | ||
method="POST" | ||
finishOnKey="#" | ||
maxLength="10" | ||
playBeep="true"/--> | ||
|
||
<Record | ||
action="https://127.0.0.1:8090/test" | ||
method="POST" | ||
maxLength="60" | ||
timeout="5" | ||
finishOnKey="#" | ||
transcribe="true" | ||
transcribeCallback="transcribe.jsp" | ||
playBeep="false" | ||
/> | ||
<Gather timeout="30" finishOnKey="#"> | ||
<Say voice="man" language="en" loop="1">Hello World!</Say> | ||
<Play loop="1">https://127.0.0.1:8080/restcomm/audio/hello-world.wav</Play> | ||
<Pause length="1"/> | ||
</Gather> | ||
</Response> |
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.