Added recipe for Apigee X with SWP
This commit is contained in:
committed by
Wiktor Niesiobędzki
parent
077d8719dd
commit
a2f4d9185b
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!--
|
||||
Copyright 2025 Google LLC
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<ProxyEndpoint name="default">
|
||||
<HTTPProxyConnection>
|
||||
<BasePath>/test</BasePath>
|
||||
</HTTPProxyConnection>
|
||||
<RouteRule name="default">
|
||||
<TargetEndpoint>default</TargetEndpoint>
|
||||
</RouteRule>
|
||||
</ProxyEndpoint>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<TargetEndpoint name="default">
|
||||
<PreFlow name="PreFlow">
|
||||
<Request />
|
||||
<Response />
|
||||
</PreFlow>
|
||||
<Flows />
|
||||
<PostFlow name="PostFlow">
|
||||
<Request />
|
||||
<Response />
|
||||
</PostFlow>
|
||||
<HTTPTargetConnection>
|
||||
<URL>http://10.16.0.4</URL>
|
||||
</HTTPTargetConnection>
|
||||
</TargetEndpoint>
|
||||
19
modules/apigee/recipe-apigee-swp/bundle/apiproxy/test.xml
Normal file
19
modules/apigee/recipe-apigee-swp/bundle/apiproxy/test.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!--
|
||||
Copyright 2025 Google LLC
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<APIProxy revision="1" name="test">
|
||||
<Description>test</Description>
|
||||
</APIProxy>
|
||||
Reference in New Issue
Block a user