diff --git a/Build.PL b/Build.PL index f864d67bcf..7005b06cec 100644 --- a/Build.PL +++ b/Build.PL @@ -39,7 +39,7 @@ A completely overhauled provisioning interface for the NGCP system. ./Build testcover ./Build test_api - ./Build test_api --schema-base-dir=path/to/schema --server=https://1.2.3.4:1443 + ./Build test_api --schema-base-dir=path/to/schema --server=https://203.0.113.42:1443 =head2 Options @@ -100,4 +100,4 @@ Sipwise Development Team . =head1 LICENSE -GPL-3+, Sipwise GmbH, Austria. \ No newline at end of file +GPL-3+, Sipwise GmbH, Austria. diff --git a/etc/ngcp_panel.conf b/etc/ngcp_panel.conf index 3bd8a9d878..b1e7a76f2d 100644 --- a/etc/ngcp_panel.conf +++ b/etc/ngcp_panel.conf @@ -134,7 +134,7 @@ log4perl.appender.Default.layout.ConversionPattern=%d{ISO8601} [%p] [%F +%L] %m{ path - lb_ext 1.2.3.4:5060 + lb_ext 203.0.113.42:5060 @@ -171,7 +171,7 @@ log4perl.appender.Default.layout.ConversionPattern=%d{ISO8601} [%p] [%F +%L] %m{ lb_int 127.0.0.1:5060 - lb_ext 1.2.3.4:5060 + lb_ext 203.0.113.42:5060 proxy 127.0.0.1:5062 sbc 127.0.0.1:5080 app 127.0.0.1:5070 diff --git a/sandbox/php_intercept-nusoap.t b/sandbox/php_intercept-nusoap.t index 4ef52e6e9c..1020d20cb7 100644 --- a/sandbox/php_intercept-nusoap.t +++ b/sandbox/php_intercept-nusoap.t @@ -26,7 +26,7 @@ $res = $client->call('create_interception', 'number' => '439991001', 'cc_required' => 0, 'iri_delivery' => array( - 'host' => '1.2.3.4', + 'host' => '203.0.113.42', 'port' => 1234, ), ) @@ -68,11 +68,11 @@ $res = $client->call('update_interception', 'data' => array( 'cc_required' => 1, 'iri_delivery' => array( - 'host' => '1.2.3.5', + 'host' => '203.0.113.43', 'port' => 1234, ), 'cc_delivery' => array( - 'host' => '1.2.3.6', + 'host' => '203.0.113.44', 'port' => 1236, ) ) diff --git a/t/api-rest/Dockerfile b/t/api-rest/Dockerfile index f17bed3946..1e80b37d98 100644 --- a/t/api-rest/Dockerfile +++ b/t/api-rest/Dockerfile @@ -5,7 +5,7 @@ FROM docker.mgm.sipwise.com/sipwise-bookworm:latest # is updated with the current date. It will force refresh of all # of the base images and things like `apt-get update` won't be using # old cached versions when the Dockerfile is built. -ENV REFRESHED_AT 2023-06-26 +ENV REFRESHED_AT 2024-03-07 # files that get-code generates COPY t/api-rest/sources.list.d/builddeps.list /etc/apt/sources.list.d/ @@ -43,7 +43,7 @@ RUN apt-get --assume-yes -f install RUN apt-get clean -RUN echo "cd /code && ./t/api-rest/testrunner 1.2.3.4" > /home/testuser/.bash_history +RUN echo "cd /code && ./t/api-rest/testrunner 203.0.113.42" > /home/testuser/.bash_history RUN echo "su - testuser" > /root/.bash_history WORKDIR /home/testuser diff --git a/t/api-rest/api-trustedsources.t b/t/api-rest/api-trustedsources.t index a6811d27b5..da292d89ab 100644 --- a/t/api-rest/api-trustedsources.t +++ b/t/api-rest/api-trustedsources.t @@ -20,7 +20,7 @@ $fake_data->set_data_from_script({ data => { subscriber_id => sub { return shift->get_id('subscribers',@_); }, protocol => 'UDP', - src_ip => '1.2.3.4', + src_ip => '203.0.113.42', from_pattern => '^sip:test@example.org', }, query => ['subscriber_id'], @@ -32,7 +32,7 @@ $test_machine->DATA_ITEM_STORE($fake_data->process('trustedsources')); $test_machine->form_data_item( ); # create 3 new field pbx devices from DATA_ITEM -$test_machine->check_create_correct( 3, sub{ $_[0]->{src_ip} = sprintf('1.2.3.%d', $_[1]->{i}); } ); +$test_machine->check_create_correct( 3, sub{ $_[0]->{src_ip} = sprintf('203.0.113.%d', $_[1]->{i}); } ); $test_machine->check_get2put(); $test_machine->check_bundle(); $test_machine->clear_test_data_all(); diff --git a/t/api-rest2/Dockerfile b/t/api-rest2/Dockerfile index f16e1e3924..a916acbdbd 100644 --- a/t/api-rest2/Dockerfile +++ b/t/api-rest2/Dockerfile @@ -5,7 +5,7 @@ FROM docker.mgm.sipwise.com/sipwise-bookworm:latest # is updated with the current date. It will force refresh of all # of the base images and things like `apt-get update` won't be using # old cached versions when the Dockerfile is built. -ENV REFRESHED_AT 2023-06-26 +ENV REFRESHED_AT 2024-03-07 # files that get-code generates COPY t/api-rest/sources.list.d/builddeps.list /etc/apt/sources.list.d/ @@ -24,7 +24,7 @@ RUN apt-get update && \ libyaml-libyaml-perl \ && echo "Done" -RUN echo "cd /code && ./t/api-rest2/testrunner 1.2.3.4" > /root/.bash_history +RUN echo "cd /code && ./t/api-rest2/testrunner 203.0.113.42" > /root/.bash_history WORKDIR /code/ diff --git a/t/api-rest2/TrustedSources.yaml b/t/api-rest2/TrustedSources.yaml index 21bd13609a..685daf0e9f 100644 --- a/t/api-rest2/TrustedSources.yaml +++ b/t/api-rest2/TrustedSources.yaml @@ -141,7 +141,7 @@ content: subscriber_id: ${subscriber_id} protocol: 'UDP' - src_ip: '1.2.3.4' + src_ip: '203.0.113.42' from_pattern: '^sip:test@example.org' retain: trustedsources_path1: header.location @@ -160,7 +160,7 @@ content: subscriber_id: ${subscriber_id} protocol: 'UDP' - src_ip: '1.2.3.5' + src_ip: '203.0.113.43' from_pattern: '^sip:test@example.org' retain: trustedsources_path2: header.location @@ -179,7 +179,7 @@ content: subscriber_id: ${subscriber_id} protocol: 'UDP' - src_ip: '1.2.3.6' + src_ip: '203.0.113.44' from_pattern: '^sip:test@example.org' retain: trustedsources_path3: header.location @@ -297,4 +297,4 @@ path: '/${trustedsources_path3}' conditions: is: - code: 204 \ No newline at end of file + code: 204 diff --git a/t/selenium/Dockerfile b/t/selenium/Dockerfile index 477f5212f9..ea34aa83ee 100644 --- a/t/selenium/Dockerfile +++ b/t/selenium/Dockerfile @@ -5,7 +5,7 @@ FROM docker.mgm.sipwise.com/sipwise-bookworm:latest # is updated with the current date. It will force refresh of all # of the base images and things like `apt-get update` won't be using # old cached versions when the Dockerfile is built. -ENV REFRESHED_AT 2023-07-05 +ENV REFRESHED_AT 2024-03-07 RUN apt-get update RUN apt-get install --assume-yes \ @@ -56,7 +56,7 @@ RUN wget http://deb.sipwise.com/files/google-chrome-stable_114_amd64.deb && \ apt install -y ./google-chrome-stable_114_amd64.deb && \ rm -f google-chrome-stable_114_amd64.deb -RUN echo "cd /code && ./t/selenium/testrunner 1.2.3.4 /code/ tap" >/home/selenium/.bash_history +RUN echo "cd /code && ./t/selenium/testrunner 203.0.113.42 /code/ tap" >/home/selenium/.bash_history RUN echo "su - selenium" >/root/.bash_history EXPOSE 5999 diff --git a/t/selenium/testrunner b/t/selenium/testrunner index cd5d518771..43ab227168 100755 --- a/t/selenium/testrunner +++ b/t/selenium/testrunner @@ -15,8 +15,8 @@ if [ -z "${1:-}" ] ; then echo echo "Usage examples: - $0 1.2.3.4 - $0 1.2.3.4 /code/ tap" + $0 203.0.113.42 + $0 203.0.113.42 /code/ tap" exit 1 fi