diff --git a/srf-weather-connector-WebTest/pom.xml b/srf-weather-connector-WebTest/pom.xml
index 9e6c742..1cef195 100644
--- a/srf-weather-connector-WebTest/pom.xml
+++ b/srf-weather-connector-WebTest/pom.xml
@@ -10,13 +10,13 @@
com.axonivy.connector.srf.weather
srf-weather-connector-demo
- 10.0.0-SNAPSHOT
+ 10.0.2-SNAPSHOT
iar
com.axonivy.connector.srf.weather
srf-weather-connector-test
- 10.0.0-SNAPSHOT
+ 10.0.2-SNAPSHOT
iar
diff --git a/srf-weather-connector-demo/config/variables.yaml b/srf-weather-connector-demo/config/variables.yaml
index 0ea7900..7254548 100644
--- a/srf-weather-connector-demo/config/variables.yaml
+++ b/srf-weather-connector-demo/config/variables.yaml
@@ -5,6 +5,9 @@
Variables:
# All variables related to the SRF Weather connector
SrfWeatherConnector:
+ # For testing you can use the following Variable to refer to the testing Mock API under: 'http://localhost:8081/designer/api/weatherMock'
+ # Url: http://localhost:8081/designer/api/weatherMock
+
# Your Access Token for SRF weather connector
# This token serves as your authentication key for accessing the SRF API.
# [password]
diff --git a/srf-weather-connector-test/src/com/axonivy/connector/srf/weather/connector/WeatherMock.java b/srf-weather-connector-demo/src/com/axonivy/connector/srf/weather/connector/WeatherMock.java
similarity index 97%
rename from srf-weather-connector-test/src/com/axonivy/connector/srf/weather/connector/WeatherMock.java
rename to srf-weather-connector-demo/src/com/axonivy/connector/srf/weather/connector/WeatherMock.java
index 5c63a17..2a654e7 100644
--- a/srf-weather-connector-test/src/com/axonivy/connector/srf/weather/connector/WeatherMock.java
+++ b/srf-weather-connector-demo/src/com/axonivy/connector/srf/weather/connector/WeatherMock.java
@@ -18,7 +18,6 @@
@Path(WeatherMock.PATH_SUFFIX)
@PermitAll
public class WeatherMock {
-
static final String PATH_SUFFIX = "weatherMock";
// URI where this mock can be reached: to be referenced in tests that use it!
public static final String URI = "{ivy.app.baseurl}/api/" + PATH_SUFFIX;
diff --git a/srf-weather-connector-test/src/com/axonivy/connector/srf/weather/connector/json/forecast.json b/srf-weather-connector-demo/src/com/axonivy/connector/srf/weather/connector/json/forecast.json
similarity index 100%
rename from srf-weather-connector-test/src/com/axonivy/connector/srf/weather/connector/json/forecast.json
rename to srf-weather-connector-demo/src/com/axonivy/connector/srf/weather/connector/json/forecast.json
diff --git a/srf-weather-connector-test/src/com/axonivy/connector/srf/weather/connector/json/geolocation.json b/srf-weather-connector-demo/src/com/axonivy/connector/srf/weather/connector/json/geolocation.json
similarity index 100%
rename from srf-weather-connector-test/src/com/axonivy/connector/srf/weather/connector/json/geolocation.json
rename to srf-weather-connector-demo/src/com/axonivy/connector/srf/weather/connector/json/geolocation.json
diff --git a/srf-weather-connector-product/README.md b/srf-weather-connector-product/README.md
index 19e8875..6114dec 100644
--- a/srf-weather-connector-product/README.md
+++ b/srf-weather-connector-product/README.md
@@ -9,13 +9,16 @@ The connector:
* supports you with an easy-to-copy demo implementation to reduce your
integration effort.
* enables low code citizen developers to enhance existing business processes
- with currency converter features.
+ with weather forecast features.
## Demo
Install the SRF Weather Connector and call it as a sub-process. Adjust the mapping accordingly.
![set connector as subprocess](images/demo1.png)
+For testing purposes, a mock API can be used in the demo instead of the official SRF API. For this purpose, the variable "Url" can be commented out under 'Variables.SrfWeatherConnector'.
+This way you can avoid the need to generate an access token via the SRF Developer website first. In this mock mode, only the ZIP code "6300" must be entered in the "zip" field.
+
In the demo, you can now specify either the name of the location or its ZIP code and use the "Get Weather" button to output the weather for the next seven days at this location.
![enter data name or zip](images/demo2.png)
diff --git a/srf-weather-connector-test/pom.xml b/srf-weather-connector-test/pom.xml
index 582ce84..df3658f 100644
--- a/srf-weather-connector-test/pom.xml
+++ b/srf-weather-connector-test/pom.xml
@@ -1,44 +1,50 @@
- 4.0.0
- com.axonivy.connector.srf.weather
- srf-weather-connector-test
- 10.0.2-SNAPSHOT
- iar
-
-
- com.axonivy.ivy.test
- unit-tester
- 10.0.0
- test
-
-
- com.axonivy.connector.srf.weather
- srf-weather-connector
- ${project.version}
- iar
-
-
-
- src_test
-
-
-
- maven-deploy-plugin
- 3.0.0-M1
-
- true
-
-
-
-
-
-
- com.axonivy.ivy.ci
- project-build-plugin
- 10.0.6
- true
-
-
-
-
+ 4.0.0
+ com.axonivy.connector.srf.weather
+ srf-weather-connector-test
+ 10.0.2-SNAPSHOT
+ iar
+
+
+ com.axonivy.ivy.test
+ unit-tester
+ 10.0.0
+ test
+
+
+ com.axonivy.connector.srf.weather
+ srf-weather-connector
+ ${project.version}
+ iar
+
+
+ com.axonivy.connector.srf.weather
+ srf-weather-connector-demo
+ 10.0.2-SNAPSHOT
+ iar
+
+
+
+ src_test
+
+
+
+ maven-deploy-plugin
+ 3.0.0-M1
+
+ true
+
+
+
+
+
+
+ com.axonivy.ivy.ci
+ project-build-plugin
+ 10.0.6
+ true
+
+
+
+
\ No newline at end of file