Skip to content

Commit

Permalink
Merge pull request #12 from dariusstefan/3.5
Browse files Browse the repository at this point in the history
3.5
  • Loading branch information
razvancrainea authored Oct 29, 2024
2 parents 7c13811 + 9b2f335 commit 250de3b
Show file tree
Hide file tree
Showing 76 changed files with 82 additions and 78 deletions.
1 change: 0 additions & 1 deletion accounting/01.db-transaction/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion accounting/01.db-transaction/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: SIPP UAS
type: uas-sipp
Expand Down
2 changes: 1 addition & 1 deletion accounting/02.db-transaction-failed/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion accounting/02.db-transaction-failed/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: SIPP UAS
type: uas-sipp
Expand Down
2 changes: 1 addition & 1 deletion accounting/03.db-cdr/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion accounting/03.db-cdr/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: SIPP UAS
type: uas-sipp
Expand Down
2 changes: 1 addition & 1 deletion auth/01.password-db-www/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion auth/01.password-db-www/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Register
type: uac-sipp
Expand Down
2 changes: 1 addition & 1 deletion auth/02.password-db-www-domain/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion auth/02.password-db-www-domain/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Register
type: uac-sipp
Expand Down
2 changes: 1 addition & 1 deletion auth/03.password-db-proxy/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion auth/03.password-db-proxy/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Register
type: uac-sipp
Expand Down
2 changes: 1 addition & 1 deletion auth/04.password-db-proxy-domain/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion auth/04.password-db-proxy-domain/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Register
type: uac-sipp
Expand Down
2 changes: 1 addition & 1 deletion auth/05.ha1-db-www/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion auth/05.ha1-db-www/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Register
type: uac-sipp
Expand Down
2 changes: 1 addition & 1 deletion auth/06.ha1-db-www-domain/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion auth/06.ha1-db-www-domain/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Register
type: uac-sipp
Expand Down
2 changes: 1 addition & 1 deletion auth/07.ha1-db-proxy/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion auth/07.ha1-db-proxy/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Register
type: uac-sipp
Expand Down
2 changes: 1 addition & 1 deletion auth/08.ha1-db-proxy-domain/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion auth/08.ha1-db-proxy-domain/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Register
type: uac-sipp
Expand Down
11 changes: 8 additions & 3 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,15 @@ defaults:
stop_timeout: 5
mysql:
ip: {{ mysql_ip }}
image: mysql:5.7
image: mysql/mysql-server:8.0
label: mysql
stop_timeout: 5
ready:
wait: {{ mysql_ready_timeout }}
healthcheck:
test: /healthcheck.sh
interval: 2500000000
timeout: 2500000000
retries: 10
env:
MYSQL_ROOT_HOST: {{ mysql_root_host }}
mysql-client:
host: {{ mysql_ip }}
2 changes: 1 addition & 1 deletion defines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ uas_ip: 192.168.52.3
uas_ip_osbr1: 10.52.0.3
uas_port: 5080
mysql_ip: 192.168.52.2
mysql_ready_timeout: 15
mysql_root_host: 192.168.52.%
username: testing
password: T3st|n6
nonce: 035cf70b1c4fcf4731150330410151743443
2 changes: 1 addition & 1 deletion dialog/01.dialog/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion dialog/01.dialog/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: SIPP UAS
type: uas-sipp
Expand Down
2 changes: 1 addition & 1 deletion dialog/02.pinging/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion dialog/02.pinging/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: SIPP UAS
type: uas-sipp
Expand Down
2 changes: 1 addition & 1 deletion dialog/03.reinvite-pinging/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion dialog/03.reinvite-pinging/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: SIPP UAS
type: uas-sipp
Expand Down
2 changes: 1 addition & 1 deletion dialog/04.expire/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion dialog/04.expire/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: SIPP UAS
type: uas-sipp
Expand Down
2 changes: 1 addition & 1 deletion dialog/05.reinvite-auth/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion dialog/06.auth-update/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion permissions/01.check-address/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion permissions/01.check-address/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: SIPP UAS
type: uas-sipp
Expand Down
2 changes: 1 addition & 1 deletion permissions/02.check-address-fail/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion permissions/02.check-address-fail/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: SIPP UAC
type: uac-sipp
Expand Down
2 changes: 1 addition & 1 deletion presence/01.presence/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion presence/01.presence/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Publish
type: uac-sipp
Expand Down
2 changes: 1 addition & 1 deletion registration/02.db/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion registration/02.db/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Register
type: uac-sipp
Expand Down
2 changes: 1 addition & 1 deletion registration/03.expire/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion registration/03.expire/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Register
type: uac-sipp
Expand Down
2 changes: 1 addition & 1 deletion registration/04.expire-min/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion registration/04.expire-min/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Register
type: uac-sipp
Expand Down
2 changes: 1 addition & 1 deletion registration/05.expire-max/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion registration/05.expire-max/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Register
type: uac-sipp
Expand Down
2 changes: 1 addition & 1 deletion registration/06.reregister-expire/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion registration/06.reregister-expire/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Register
type: uac-sipp
Expand Down
2 changes: 1 addition & 1 deletion registration/07.limit/opensips.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';

CREATE DATABASE opensips;

USE opensips;
Expand Down
2 changes: 1 addition & 1 deletion registration/07.limit/scenario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tasks:
- name: OpenSIPS
type: opensips
require:
ready: mysql
healthy: mysql

- name: Register UAC 1
type: uac-sipp
Expand Down
Loading

0 comments on commit 250de3b

Please sign in to comment.