X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fbroadband_http.pm;h=cc1e450715157f0de5db6ed6f549a15e58476d33;hp=c1ed7fca67abe124673ff2e368d48063b6598f68;hb=5372897f367498972c96f5494e142e6e11b29eb8;hpb=0af38652da3b3be7da2d35b048285ef6f2194e1a diff --git a/FS/FS/part_export/broadband_http.pm b/FS/FS/part_export/broadband_http.pm index c1ed7fca6..cc1e45071 100644 --- a/FS/FS/part_export/broadband_http.pm +++ b/FS/FS/part_export/broadband_http.pm @@ -13,6 +13,9 @@ tie %options, 'Tie::IxHash', options =>[qw(POST)], default =>'POST' }, 'url' => { label => 'URL', default => 'http://', }, + 'ssl_no_verify' => { label => 'Skip SSL certificate validation', + type => 'checkbox', + }, 'insert_data' => { label => 'Insert data', type => 'textarea', @@ -35,6 +38,18 @@ tie %options, 'Tie::IxHash', type => 'textarea', default => '', }, + 'suspend_data' => { + label => 'Suspend data', + type => 'textarea', + default => join("\n", + ), + }, + 'unsuspend_data' => { + label => 'Unsuspend data', + type => 'textarea', + default => join("\n", + ), + }, 'success_regexp' => { label => 'Success Regexp', default => '', @@ -43,15 +58,12 @@ tie %options, 'Tie::IxHash', %info = ( 'svc' => 'svc_broadband', - 'desc' => 'Send an HTTP or HTTPS GET or POST request, for accounts.', + 'desc' => 'Send an HTTP or HTTPS GET or POST request, for wireless broadband services.', 'options' => \%options, 'no_machine' => 1, 'notes' => <<'END' -

Send an HTTP or HTTPS GET or POST to the specified URL on account addition, -modification and deletion. For HTTPS support, -Crypt::SSLeay -or IO::Socket::SSL -is required.

+

Send an HTTP or HTTPS GET or POST to the specified URL on wireless broadband service addition, +modification and deletion.

Each "Data" option takes a list of name value pairs on successive lines.