/
OSC_PD_Stub.cfg
918 lines (830 loc) · 20.3 KB
/
OSC_PD_Stub.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
top; configure terminal;
# configuration generated Thu Oct 8 07:17:37 2015; firmware version 262935
logging event default-log "all" "error"
logging event default-log "mgmt" "notice"
%if% available "metadata"
metadata "ftp-usercert-metadata"
meta-item "variable" "dn" "var://context/INPUT/ftp/tls/client-subject-dn"
meta-item "variable" "issuer" "var://context/INPUT/ftp/tls/client-issuer-dn"
meta-item "variable" "serial" "var://context/INPUT/ftp/tls/client-serial-number"
exit
metadata "ftp-username-metadata"
meta-item "variable" "dn" "var://context/INPUT/ftp/tls/client-subject-dn"
meta-item "variable" "issuer" "var://context/INPUT/ftp/tls/client-issuer-dn"
meta-item "variable" "password" "var://context/INPUT/ftp/password"
meta-item "variable" "serial" "var://context/INPUT/ftp/tls/client-serial-number"
meta-item "variable" "username" "var://context/INPUT/ftp/username"
exit
metadata "oauth-scope-metadata"
meta-item "variable" "scope" "var://context/INPUT/oauth/verified-scope"
exit
metadata "ssh-password-metadata"
meta-item "variable" "password" "var://context/INPUT/ssh/password"
meta-item "variable" "publickey" "var://context/INPUT/ssh/publickey"
meta-item "variable" "username" "var://context/INPUT/ssh/username"
exit
%endif%
matching "__default-accept-service-providers__"
summary "Match all messages."
urlmatch "*"
no match-with-pcre
no combine-with-or
exit
matching "AllError"
errorcode "*"
no match-with-pcre
no combine-with-or
exit
matching "StubService"
urlmatch "*"
no match-with-pcre
no combine-with-or
exit
action "__default-accept-service-providers-filter-action__"
reset
type filter
input "NULL"
transform "store:///filter-accept-service-providers.xsl"
named-inouts default
ssl-client-type proxy
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "__default-accept-service-providers-results-action__"
reset
type results
input "INPUT"
named-inouts default
ssl-client-type proxy
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "__dp-policy-call-action__"
reset
summary "Call the next policy."
type call
input "INPUT"
output "INPUT"
named-inouts default
ssl-client-type proxy
rule "var://context/policy/fw/call-rule"
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "__dp-policy-init-xform-action__"
reset
summary "Set up context vars and annotate map XML."
type xform
input "NULL"
transform "store://dp/policy-enforce-init.xsl"
output "NULL"
named-inouts default
ssl-client-type proxy
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "__dp-policy-results-action__"
reset
summary "Results action for our policy enforcement rules."
type results
input "INPUT"
named-inouts default
ssl-client-type proxy
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "__dp-policy-traverse-xform-action__"
reset
summary "Identify next policy by traversing the annotated map."
type xform
input "NULL"
transform "store://dp/policy-enforce-traverse.xsl"
output "NULL"
named-inouts default
ssl-client-type proxy
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "StubService_Error_conditional_0"
reset
type conditional
input "dpvar_1"
named-inouts default
ssl-client-type proxy
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
condition "/*[namespace-uri()='http://www.ibm.com/xmlns/prod/2009/jsonx']" "StubService_Error_conditional_0_refaction_xform_0"
condition "1=1" "StubService_Error_conditional_0_refaction_results_0"
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "StubService_Error_conditional_0_refaction_results_0"
reset
type results
input "dpvar_1"
named-inouts default
ssl-client-type proxy
output-type default
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "StubService_Error_conditional_0_refaction_xform_0"
reset
type xform
input "dpvar_1"
transform "store:///jsonx2json.xsl"
output "OUTPUT"
named-inouts default
ssl-client-type proxy
output-type default
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "StubService_Error_xform_5"
reset
type xform
input "INPUT"
transform "local:///processError.xslt"
output "dpvar_1"
named-inouts default
ssl-client-type proxy
output-type default
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "StubService_request_fetch_0"
reset
type fetch
input "NULL"
output "response"
named-inouts default
destination "var://context/stub/url"
ssl-client-type proxy
output-type binary
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "StubService_request_results"
reset
type results
input "response"
named-inouts default
ssl-client-type proxy
output-type default
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "StubService_request_setvar_0"
reset
type setvar
input "NULL"
named-inouts default
variable "var://service/mpgw/skip-backside"
value "1"
ssl-client-type proxy
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "StubService_request_xform_0"
reset
type xform
input "NULL"
transform "local:///processRequest.xslt"
output "NULL"
named-inouts default
ssl-client-type proxy
output-type default
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "StubService_request_xform_1"
reset
type xform
input "NULL"
transform "local:///setResponseContentType.xslt"
output "NULL"
named-inouts default
ssl-client-type proxy
output-type default
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "StubService_rule_1_results_output_0"
reset
type results
input "PIPE"
named-inouts default
ssl-client-type proxy
output-type default
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
action "StubService_rule_1_xform_2"
reset
type xform
input "INPUT"
transform "local:///processError.xslt"
output "PIPE"
named-inouts default
ssl-client-type proxy
output-type default
no transactional
soap-validation body
sql-source-type static
strip-signature
no asynchronous
results-mode first-available
retry-count 0
retry-interval 1000
no multiple-outputs
iterator-type XPATH
timeout 0
http-method GET
http-method-limited POST
http-method-limited2 POST
exit
rule "__default-accept-service-providers-request__"
reset
summary "Accept messages intended for known services, reject everything else."
type request-rule
input-filter none
output-filter none
no non-xml-processing
no unprocessed
action "__default-accept-service-providers-filter-action__"
action "__default-accept-service-providers-results-action__"
exit
rule "__default-accept-service-providers-response__"
reset
summary "Accept responses received from known services."
type response-rule
input-filter none
output-filter none
no non-xml-processing
no unprocessed
action "__default-accept-service-providers-results-action__"
exit
rule "__dp-policy-begin__"
reset
summary "Initiate policy enforcement by annotating policy and determining first policy to enforce."
type rule
input-filter none
output-filter none
no non-xml-processing
no unprocessed
action "__dp-policy-init-xform-action__"
action "__dp-policy-traverse-xform-action__"
action "__dp-policy-call-action__"
action "__dp-policy-results-action__"
exit
rule "StubService_Error"
reset
type error-rule
input-filter none
output-filter none
no non-xml-processing
no unprocessed
action "StubService_Error_xform_5"
action "StubService_Error_conditional_0"
exit
rule "StubService_request"
reset
type request-rule
input-filter none
output-filter none
no non-xml-processing
no unprocessed
action "StubService_request_xform_0"
action "StubService_request_fetch_0"
action "StubService_request_xform_1"
action "StubService_request_setvar_0"
action "StubService_request_results"
exit
rule "StubService_rule_1"
reset
type error-rule
input-filter none
output-filter none
no non-xml-processing
no unprocessed
action "StubService_rule_1_xform_2"
action "StubService_rule_1_results_output_0"
exit
%if% available "smtp-server-connection"
smtp-server-connection "default"
summary "Default SMTP Server Connection"
server-port 25
auth plain
ssl-client-type proxy
exit
%endif%
stylepolicy "default"
reset
summary "Default Processing Policy"
filter "store:///filter-reject-all.xsl"
xsldefault "store:///identity.xsl"
xquerydefault "store:///reject-all-json.xq"
exit
stylepolicy "default-accept-service-providers"
reset
summary "Default Processing Policy which accepts only messages that match known WSRR services in a Multi-Protocol Gateway."
filter "store:///filter-reject-all.xsl"
xsldefault "store:///identity.xsl"
xquerydefault "store:///reject-all-json.xq"
match "__default-accept-service-providers__" "__default-accept-service-providers-request__"
match "__default-accept-service-providers__" "__default-accept-service-providers-response__"
exit
stylepolicy "StubService"
reset
filter "store:///filter-reject-all.xsl"
xsldefault "store:///identity.xsl"
xquerydefault "store:///reject-all-json.xq"
match "StubService" "StubService_request"
match "AllError" "StubService_Error"
exit
%if% available "urlmap"
urlmap "default-attempt-stream-all"
match "*"
exit
%endif%
%if% available "compile-options"
compile-options "default-attempt-stream"
xslt-version XSLT10
no strict
try-stream default-attempt-stream-all
stack-size 524288
wsi-validate ignore
wsdl-validate-body strict
wsdl-validate-headers lax
wsdl-validate-faults strict
no wsdl-wrapped-faults
no wsdl-strict-soap-version
no xacml-debug
exit
%endif%
user-agent "default"
summary "Default User Agent"
max-redirects 8
timeout 300
exit
%if% available "json-settings"
json-settings "JSON"
max-nesting-depth 64
max-label-string-length 256
max-value-string-length 8192
max-number-length 128
max-document-size 4194304
exit
%endif%
xmlmgr "default"
xsl cache size "default" "256"
xsl checksummed cache default
no tx-warn "default"
memoization "default"
xml parser limits "default"
bytes-scanned 4194304
element-depth 512
attribute-count 128
max-node-size 33554432
forbid-external-references
external-references forbid
max-prefixes 1024
max-namespaces 1024
max-local-names 60000
exit
documentcache "default"
no policy
maxdocs "5000"
size "0"
max-writes "32768"
exit
no xml validate "default" *
xml-manager "default"
summary "Default XML-Manager"
user-agent "default"
exit
xmlmgr "default-attempt-stream"
xslconfig "default-attempt-stream" "default-attempt-stream"
xsl cache size "default-attempt-stream" "256"
xsl checksummed cache default-attempt-stream
no tx-warn "default-attempt-stream"
memoization "default-attempt-stream"
xml parser limits "default-attempt-stream"
bytes-scanned 268435456
element-depth 512
attribute-count 128
max-node-size 268435456
forbid-external-references
external-references forbid
max-prefixes 1024
max-namespaces 1024
max-local-names 60000
exit
documentcache "default-attempt-stream"
no policy
maxdocs "5000"
size "0"
max-writes "32768"
exit
no xml validate "default-attempt-stream" *
xml-manager "default-attempt-stream"
summary "Default Streaming XML-Manager"
user-agent "default"
exit
xmlmgr "default-wsrr"
xsl cache size "default-wsrr" "256"
xsl checksummed cache default-wsrr
no tx-warn "default-wsrr"
memoization "default-wsrr"
xml parser limits "default-wsrr"
bytes-scanned 4194304
element-depth 512
attribute-count 128
max-node-size 33554432
forbid-external-references
external-references forbid
max-prefixes 1024
max-namespaces 1024
max-local-names 60000
exit
documentcache "default-wsrr"
no policy
maxdocs "5000"
size "0"
max-writes "32768"
exit
no xml validate "default-wsrr" *
xml-manager "default-wsrr"
summary "WSRR XML-Manager"
user-agent "default"
exit
%if% available "source-http"
source-http "StubService_HTTP_FSH"
local-address 0.0.0.0
port 9191
http-client-version HTTP/1.1
allowed-features "HTTP-1.0+HTTP-1.1+POST+GET+QueryString+FragmentIdentifiers"
persistent-connections
max-persistent-reuse 0
no compression
no websocket-upgrade
websocket-idle-timeout 0
max-url-len 16384
max-total-header-len 128000
max-header-count 0
max-header-name-len 0
max-header-value-len 0
max-querystring-len 0
credential-charset protocol
exit
%endif%
%if% available "policy-attachments"
policy-attachments "StubService_MPG"
enforcement-mode enforce
policy-references
sla-enforcement-mode allow-if-no-sla
exit
%endif%
%if% available "mpgw"
mpgw "StubService_MPG"
no policy-parameters
priority normal
front-protocol StubService_HTTP_FSH
xml-manager default
ssl-client-type proxy
default-param-namespace "http://www.datapower.com/param/config"
query-param-namespace "http://www.datapower.com/param/query"
propagate-uri
monitor-processing-policy terminate-at-first-throttle
request-attachments strip
response-attachments strip
no request-attachments-flow-control
no response-attachments-flow-control
root-part-not-first-action process-in-order
front-attachment-format dynamic
back-attachment-format dynamic
mime-front-headers
mime-back-headers
stream-output-to-back buffer-until-verification
stream-output-to-front buffer-until-verification
max-message-size 0
no gateway-parser-limits
element-depth 512
attribute-count 128
max-node-size 33554432
forbid-external-references
external-references forbid
max-prefixes 1024
max-namespaces 1024
max-local-names 60000
attachment-byte-count 2000000000
attachment-package-byte-count 0
debugger-type internal
debug-history 25
no flowcontrol
soap-schema-url "store:///schemas/soap-envelope.xsd"
front-timeout 10
back-timeout 10
front-persistent-timeout 180
back-persistent-timeout 180
no include-content-type-encoding
http-server-version HTTP/1.1
persistent-connections
no loop-detection
host-rewriting
no chunked-uploads
process-http-errors
http-client-ip-label "X-Client-IP"
http-global-tranID-label "X-Global-Transaction-ID"
inorder-mode ""
wsa-mode sync2sync
wsa-require-aaa
wsa-strip-headers
wsa-default-replyto "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous"
wsa-default-faultto "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous"
no wsa-force
wsa-genstyle sync
wsa-http-async-response-code 204
wsa-timeout 120
no wsrm
wsrm-sequence-expiration 3600
wsrm-destination-accept-create-sequence
wsrm-destination-maximum-sequences 400
no wsrm-destination-inorder
wsrm-destination-maximum-inorder-queue-length 10
no wsrm-destination-accept-offers
no wsrm-request-force
no wsrm-response-force
no wsrm-source-request-create-sequence
no wsrm-source-response-create-sequence
no wsrm-source-make-offer
no wsrm-source-sequence-ssl
wsrm-source-maximum-sequences 400
wsrm-source-retransmission-interval 10
wsrm-source-exponential-backoff
wsrm-source-retransmit-count 4
wsrm-source-maximum-queue-length 30
wsrm-source-request-ack-count 1
wsrm-source-inactivity-close-interval 360
force-policy-exec
rewrite-errors
delay-errors
delay-errors-duration 1000
request-type xml
response-type unprocessed
follow-redirects
no rewrite-location-header
stylepolicy StubService
type dynamic-backend
no compression
no allow-cache-control
policy-attachments StubService_MPG
no wsmagent-monitor
wsmagent-monitor-capture-mode all-messages
no proxy-http-response
exit
%endif%
%if% available "wsm-stylepolicy"
wsm-stylepolicy "default"
summary "Default Processing Policy"
filter "store:///filter-reject-all.xsl"
xsldefault "store:///identity.xsl"
exit
%endif%
%if% available "domain-availability"
domain-availability
admin-state disabled
exit
%endif%
%if% available "nfs-dynamic-mounts"
nfs-dynamic-mounts
admin-state disabled
version 3
transport tcp
mount-type hard
no read-only
rsize 4096
wsize 4096
timeo 7
retrans 3
inactivity-timeout 900
mount-timeout 30
exit
%endif%
%if% available "slm-action"
slm-action "notify"
type log-only
log-priority warn
exit
slm-action "shape"
type shape
log-priority debug
exit
slm-action "throttle"
type reject
log-priority debug
exit
%endif%
no statistics
%if% available "wsm-agent"
wsm-agent
admin-state enabled
max-records 3000
max-memory 64000
capture-mode faults
buffer-mode discard
no mediation-enforcement-metrics
push-interval 100
push-priority normal
exit
%endif%