Skip to content

Commit

Permalink
Add more configurations to test with (#316)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhdirkse authored Oct 11, 2024
1 parent eeaa3ce commit aa5b578
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 6 deletions.
7 changes: 2 additions & 5 deletions manual-test/configurations/Conclusion/Configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
<Receiver>
<JavaListener name="IngestDocument" />
</Receiver>
<Receiver>
<ApiListener uriPattern="ingestDocument" method="POST" />
</Receiver>
<Pipeline>
<Exits>
<Exit name="success" state="SUCCESS" />
Expand Down Expand Up @@ -48,9 +45,9 @@
<Forward name="success" path="success" />
<Forward name="exception" path="serverError" />
</SenderPipe>
<FixedResultPipe name="answerBadRequest" returnString="bad request">
<EchoPipe name="answerBadRequest" getInputFromFixedValue="bad request">
<Forward name="success" path="badRequest" />
</FixedResultPipe>
</EchoPipe>
</Pipeline>
</Adapter>
</Configuration>
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# Contacts real Mundo endpoint.
stub4testtool.configuration = false
mundoUrl=https://frank2example.frankframework.org/api/mundo
mundoUrl=https://api.frank2example.frankframework.org/api/mundo
13 changes: 13 additions & 0 deletions manual-test/configurations/Example1a/Configuration.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Configuration
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../FrankConfig.xsd"
>
<Adapter name="Adapter1a">
<Receiver name="Receiver1a">
<ApiListener name="Listener1a" uriPattern="service1a"/>
</Receiver>
<Pipeline>
<EchoPipe name="HelloWorld" getInputFromFixedValue="Hello World!"/>
</Pipeline>
</Adapter>
</Configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
stub4testtool.configuration=true
13 changes: 13 additions & 0 deletions manual-test/configurations/Example1b/Configuration.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Configuration
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../FrankConfig.xsd"
>
<Adapter name="Adapter1b">
<Receiver name="Receiver1b">
<ApiListener name="Listener1b" uriPattern="service1b"/>
</Receiver>
<Pipeline>
<EchoPipe name="HelloWorld" getInputFromFixedValue="Hello World!!"/>
</Pipeline>
</Adapter>
</Configuration>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
stub4testtool.configuration=true

0 comments on commit aa5b578

Please sign in to comment.