ezags-xsd 2.2.7.0 → 2.2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/bin/ezags-xsd CHANGED
@@ -15,6 +15,12 @@ class CLI < Thor
15
15
  @script = XsdMappers::CLI.new
16
16
  end
17
17
 
18
+ desc 'update', 'update ezags xsd, replace location in wsdl to "REPLACE_WITH_ACTUAL_URL" and generate mappers'
19
+ def update
20
+ update_protocols
21
+ update_all
22
+ end
23
+
18
24
  desc 'update_all', 'update ezags xsd mappers'
19
25
  def update_all
20
26
  update_retro
@@ -33,10 +39,19 @@ class CLI < Thor
33
39
  `git checkout #{options[:branch]}`
34
40
  Dir.chdir '../'
35
41
  `cp -rf #{options[:path]}/* vendor/ezags-protocols`
42
+ replace_locations_in_wsdl
36
43
  ensure
37
44
  FileUtils.rm_rf options[:path]
38
45
  end
39
46
 
47
+ desc 'replace_locations_in_wsdl', 'replace location in wsdl to REPLACE_WITH_ACTUAL_URL'
48
+ def replace_locations_in_wsdl
49
+ path = File.join File.expand_path('../../vendor/ezags-protocols/**/', __FILE__), '*.wsdl'
50
+ Dir[path].each do |f|
51
+ gsub_file f, %r(location=".*"), 'location="REPLACE_WITH_ACTUAL_URL"'
52
+ end
53
+ end
54
+
40
55
  no_tasks do
41
56
  def replace_paths
42
57
  path = File.join File.expand_path('../../app/mappers', __FILE__), '*'
@@ -45,6 +60,7 @@ class CLI < Thor
45
60
  end
46
61
  end
47
62
 
63
+
48
64
  def update_retro
49
65
  @script.generate(xsd_path 'retro/GetResultsService.xsd')
50
66
  @script.generate(xsd_path 'retro/SecurityWithSignature.xsd')
@@ -1,5 +1,5 @@
1
1
  module Ezags
2
2
  module Xsd
3
- VERSION = '2.2.7.0'
3
+ VERSION = '2.2.7.1'
4
4
  end
5
5
  end
@@ -1498,10 +1498,10 @@
1498
1498
  </wsdl:binding>
1499
1499
  <wsdl:service name="SignatureTool">
1500
1500
  <wsdl:port name="SignatureToolSoap" binding="tns:SignatureToolSoap">
1501
- <soap:address location="http://195.245.214.33:7777/esv/SignatureTool.asmx"/>
1501
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
1502
1502
  </wsdl:port>
1503
1503
  <wsdl:port name="SignatureToolSoap12" binding="tns:SignatureToolSoap12">
1504
- <soap12:address location="http://195.245.214.33:7777/esv/SignatureTool.asmx"/>
1504
+ <soap12:address location="REPLACE_WITH_ACTUAL_URL"/>
1505
1505
  </wsdl:port>
1506
1506
  </wsdl:service>
1507
1507
  </wsdl:definitions>
@@ -43,7 +43,7 @@
43
43
 
44
44
  <wsdl:service name="QuittanceFKClient">
45
45
  <wsdl:port binding="q:QuittanceFKClientBinding" name="QuittanceFKClientSoapPort">
46
- <soap:address location="http://localhost:8001/QuittanceService/FKClient"/>
46
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
47
47
  </wsdl:port>
48
48
  </wsdl:service>
49
49
  </wsdl:definitions>
@@ -441,7 +441,7 @@
441
441
 
442
442
  <wsdl:service name="QuittanceFKService">
443
443
  <wsdl:port binding="q:QuittanceFKServiceBinding" name="QuittanceFKServiceSoapPort">
444
- <soap:address location="http://localhost:8001/QuittanceService/FKService"/>
444
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
445
445
  </wsdl:port>
446
446
  </wsdl:service>
447
447
  </wsdl:definitions>
@@ -49,7 +49,7 @@
49
49
  <wsdl:port binding="tns:ChangeOrderStatusServiceV243Binding"
50
50
  name="ChangeOrderStatusServiceV243">
51
51
  <soap:address
52
- location="http://u00nlb03:80/privateoffice/common/ChangeOrderStatusServiceV243"/>
52
+ location="REPLACE_WITH_ACTUAL_URL"/>
53
53
  </wsdl:port>
54
54
  </wsdl:service>
55
55
  </wsdl:definitions>
@@ -43,7 +43,7 @@
43
43
  </wsdl:binding>
44
44
  <wsdl:service name="EventService">
45
45
  <wsdl:port binding="ev:EventServiceBinding" name="EventService">
46
- <soap:address location="http://t00srv/orderprocessing/ws/EventServiceV25"/>
46
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
47
47
  </wsdl:port>
48
48
  </wsdl:service>
49
49
  </wsdl:definitions>
@@ -44,7 +44,7 @@
44
44
  <wsdl:port binding="tns:UpdateTimeReservationStatusServiceBinding"
45
45
  name="UpdateTimeReservationStatusService">
46
46
  <soap:address
47
- location="http://localhost:8001/privateoffice/common/UpdateTimeReservationStatusService"/>
47
+ location="REPLACE_WITH_ACTUAL_URL"/>
48
48
  </wsdl:port>
49
49
  </wsdl:service>
50
50
  </wsdl:definitions>
@@ -41,7 +41,7 @@
41
41
 
42
42
  <service name="LocalNSIService">
43
43
  <port name="LocalNSIServiceImplPort" binding="tns:LocalNSIServiceImplPortBinding">
44
- <soap:address location="http://localhost:8001/LocalNSServiceImpl/LocalNSIService"/>
44
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
45
45
  </port>
46
46
  </service>
47
47
  </definitions>
@@ -768,7 +768,7 @@
768
768
  </wsdl:binding>
769
769
  <wsdl:service name="LocalInterDepPersonalService">
770
770
  <wsdl:port name="LocalInterDepPersonalServicePort" binding="tns:LocalInterDepPersonalService">
771
- <soap:address location="No Target Adress"/>
771
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
772
772
  </wsdl:port>
773
773
  </wsdl:service>
774
774
  </wsdl:definitions>
@@ -102,7 +102,7 @@
102
102
  </binding>
103
103
  <service name="LocalReservationService">
104
104
  <port name="LocalReservationServicePort" binding="tns:LocalReservationServicePortBinding">
105
- <soap:address location="No Target Adress"/>
105
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
106
106
  </port>
107
107
  </service>
108
108
  </definitions>
@@ -41,7 +41,7 @@
41
41
 
42
42
  <service name="getLastUpdatesService">
43
43
  <port binding="nsi:getLastUpdatesServiceBinding" name="GetLastUpdatesServiceImplPort">
44
- <soap:address location="http://localhost:8001/getLastUpdatesService"/>
44
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
45
45
  </port>
46
46
  </service>
47
47
  </definitions>
@@ -785,7 +785,7 @@
785
785
  </wsdl:binding>
786
786
  <wsdl:service name="InterDepPersonalService">
787
787
  <wsdl:port name="InterDepPersonalServiceImplPort" binding="tns:InterDepPersonalServiceImplPortBinding">
788
- <soap:address location="http://localhost:8001/InterDepPersonalServiceImpl/InterDepPersonalService"/>
788
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
789
789
  </wsdl:port>
790
790
  </wsdl:service>
791
791
  </wsdl:definitions>
@@ -232,7 +232,7 @@
232
232
  </binding>
233
233
  <service name="OrderService">
234
234
  <port name="OrderServiceImplPort" binding="tns:OrderServiceImplPortBinding">
235
- <soap:address location="http://localhost:8001/OrderServiceImpl/OrderService"/>
235
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
236
236
  </port>
237
237
  </service>
238
238
  </definitions>
@@ -42,7 +42,7 @@
42
42
  </binding>
43
43
  <service name="ReferenceService">
44
44
  <port name="ReferenceServiceImplPort" binding="tns:ReferenceServiceImplPortBinding">
45
- <soap:address location="http://localhost:8001/ReferenceServiceImpl/ReferenceService"/>
45
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
46
46
  </port>
47
47
  </service>
48
48
  </definitions>
@@ -91,7 +91,7 @@
91
91
  </binding>
92
92
  <service name="ReservationService">
93
93
  <port name="ReservationServiceImplPort" binding="tns:ReservationServiceImplPortBinding">
94
- <soap:address location="http://localhost:8001/ReservationServiceImpl/ReservationService"/>
94
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
95
95
  </port>
96
96
  </service>
97
97
  </definitions>
@@ -230,7 +230,7 @@
230
230
  </binding>
231
231
  <service name="UploadService">
232
232
  <port name="UploadServiceImplPort" binding="tns:UploadServiceImplPortBinding">
233
- <soap:address location="http://localhost:8001/UploadServiceImpl/UploadService"/>
233
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
234
234
  </port>
235
235
  </service>
236
236
  </definitions>
@@ -40,7 +40,7 @@
40
40
  </wsdl:binding>
41
41
  <wsdl:service name="SendMessageService">
42
42
  <wsdl:port binding="tns:SendMessageServiceSoapBinding" name="SendMessageServicePort">
43
- <soap:address location="http://gepsdemo.gosuslugi.ru/soap/SendMessage2"/>
43
+ <soap:address location="REPLACE_WITH_ACTUAL_URL"/>
44
44
  </wsdl:port>
45
45
  </wsdl:service>
46
46
  </wsdl:definitions>
@@ -60,7 +60,7 @@
60
60
 
61
61
  <wsdl:port binding="impl:ServicePFRSoapBinding" name="ServicePFR">
62
62
 
63
- <wsdlsoap:address location="http://d00smevapp21.00.egov.local:7777/gateway/services/SID0003072"/>
63
+ <wsdlsoap:address location="REPLACE_WITH_ACTUAL_URL"/>
64
64
 
65
65
  </wsdl:port>
66
66
 
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: ezags-xsd
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.2.7.0
5
+ version: 2.2.7.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Anton Sozontov
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-23 00:00:00.000000000 Z
12
+ date: 2013-07-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  prerelease: false
@@ -871,7 +871,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
871
871
  - !ruby/object:Gem::Version
872
872
  segments:
873
873
  - 0
874
- hash: -2071705724655914885
874
+ hash: 3806082395596167940
875
875
  version: '0'
876
876
  none: false
877
877
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -880,7 +880,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
880
880
  - !ruby/object:Gem::Version
881
881
  segments:
882
882
  - 0
883
- hash: -2071705724655914885
883
+ hash: 3806082395596167940
884
884
  version: '0'
885
885
  none: false
886
886
  requirements: []