Skip to content

update test case with real call #490

update test case with real call

update test case with real call #490

GitHub Actions / Test Results failed Dec 27, 2024 in 0s

8 fail, 9 pass in 17s

17 tests  ±0   9 ✅  - 8   17s ⏱️ -2s
 4 suites ±0   0 💤 ±0 
 4 files   ±0   8 ❌ +8 

Results for commit 111064e. ± Comparison against earlier commit 1c96afc.

Annotations

Check warning on line 0 in com.axonivy.connector.openweather.test.CurrentWeatherProcessTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

testGetCurrentWeatherByGeoCode_ReturnsCurrentWeather(BpmClient) (com.axonivy.connector.openweather.test.CurrentWeatherProcessTest) failed

open-weather-connector-test/target/surefire-reports/TEST-com.axonivy.connector.openweather.test.CurrentWeatherProcessTest.xml [took 0s]
Raw output
java.lang.AssertionError: 

Expecting actual not to be null
	at com.axonivy.connector.openweather.test.CurrentWeatherProcessTest.testGetCurrentWeatherByGeoCode_ReturnsCurrentWeather(CurrentWeatherProcessTest.java:23)
[07:11:39.971][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-87af438b-d6cd-43f6-b2a7-cc1c98ec3e99/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:39.984][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-87af438b-d6cd-43f6-b2a7-cc1c98ec3e99/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
$.RestClients.GeocodingCoordinates (Openweathermap geocoding API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:40.053][ERROR][runtimelog.test.open-weather-connector.rest_client][main]{}
REST service WeatherData (Openweathermap weather API) (c7415148-b288-475b-8d2f-e532ddae4472) call to   failed. Response status was -1 
javax.ws.rs.ProcessingException: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:312)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:674)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:709)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:703)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:703)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:673)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:439)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:103)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:71)
	at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ResumableActivityExecutorAdapter.execute(ResumableActivityExecutorAdapter.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$1(ProcessElement.java:217)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.util.callable.IExecutionContext.callUncheckedInContext(IExecutionContext.java:51)
	at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
	at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
	at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
	at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)
	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
	at com.axonivy.connector.openweather.test.CurrentWeatherProcessTest.testGetCurrentWeatherByGeoCode_ReturnsCurrentWeather(CurrentWeatherProcessTest.java:21)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:766)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:122)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:109)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$8(TestMethodTestDescriptor.java:217)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
	at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
	at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:63)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: BpmError ivy:error:rest:client:property: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
 Error Id: 19406F4E41594236
 Context: request=HTTP GET call(1.1.0.1), session=2 (anonymous), securityContext=default, task=1, application=test, requestId=14, executionContext=SYSTEM, pmv=test$open-weather-connector$1, processElement=18D5E5D311C7C5FE-f3
	at ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:192)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.lambda$4(FeatureConfig.java:60)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.readMandatory(FeatureConfig.java:57)
	at com.axonivy.connector.openweather.auth.AppIdAuthorizationFilter.filter(AppIdAuthorizationFilter.java:21)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:144)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:132)
	at org.glassfish.jersey.process.internal.Stages.process(Stages.java:147)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300)
	... 134 more

Check warning on line 0 in com.axonivy.connector.openweather.test.AirPollutionProcessTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

testGetAirPollutionByGeoCode_ReturnsAirPollution(BpmClient) (com.axonivy.connector.openweather.test.AirPollutionProcessTest) failed

open-weather-connector-test/target/surefire-reports/TEST-com.axonivy.connector.openweather.test.AirPollutionProcessTest.xml [took 0s]
Raw output
java.lang.AssertionError: 

Expecting actual not to be null
	at com.axonivy.connector.openweather.test.AirPollutionProcessTest.testGetAirPollutionByGeoCode_ReturnsAirPollution(AirPollutionProcessTest.java:26)
[07:11:34.294][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-f77be009-0d4d-4ffa-bdcc-6667dbce7d0d/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
$.RestClients.GeocodingCoordinates (Openweathermap geocoding API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:34.323][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-f77be009-0d4d-4ffa-bdcc-6667dbce7d0d/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
$.RestClients.GeocodingCoordinates (Openweathermap geocoding API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:34.341][ERROR][runtimelog.test.open-weather-connector.rest_client][main]{}
REST service WeatherData (Openweathermap weather API) (c7415148-b288-475b-8d2f-e532ddae4472) call to   failed. Response status was -1 
javax.ws.rs.ProcessingException: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:312)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:674)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:709)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:703)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:703)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:673)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:439)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:103)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:71)
	at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ResumableActivityExecutorAdapter.execute(ResumableActivityExecutorAdapter.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$1(ProcessElement.java:217)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.util.callable.IExecutionContext.callUncheckedInContext(IExecutionContext.java:51)
	at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
	at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
	at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
	at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)
	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
	at com.axonivy.connector.openweather.test.AirPollutionProcessTest.testGetAirPollutionByGeoCode_ReturnsAirPollution(AirPollutionProcessTest.java:24)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:766)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:122)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:109)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$8(TestMethodTestDescriptor.java:217)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
	at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
	at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:63)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: BpmError ivy:error:rest:client:property: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
 Error Id: 19406F4CDC56A10D
 Context: request=HTTP GET call(3.3.0.1), session=4 (anonymous), securityContext=default, task=3, application=test, requestId=3, executionContext=SYSTEM, pmv=test$open-weather-connector$1, processElement=18D5F959C5356687-f3
	at ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:192)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.lambda$4(FeatureConfig.java:60)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.readMandatory(FeatureConfig.java:57)
	at com.axonivy.connector.openweather.auth.AppIdAuthorizationFilter.filter(AppIdAuthorizationFilter.java:21)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:144)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:132)
	at org.glassfish.jersey.process.internal.Stages.process(Stages.java:147)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300)
	... 134 more

Check warning on line 0 in com.axonivy.connector.openweather.test.AirPollutionProcessTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

testGetForecastAirPollutionByGeoCode_ReturnsAirPollution(BpmClient) (com.axonivy.connector.openweather.test.AirPollutionProcessTest) failed

open-weather-connector-test/target/surefire-reports/TEST-com.axonivy.connector.openweather.test.AirPollutionProcessTest.xml [took 0s]
Raw output
java.lang.AssertionError: 

Expecting actual not to be null
	at com.axonivy.connector.openweather.test.AirPollutionProcessTest.testGetForecastAirPollutionByGeoCode_ReturnsAirPollution(AirPollutionProcessTest.java:45)
[07:11:34.407][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-f77be009-0d4d-4ffa-bdcc-6667dbce7d0d/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
$.RestClients.GeocodingCoordinates (Openweathermap geocoding API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:34.432][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-f77be009-0d4d-4ffa-bdcc-6667dbce7d0d/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
$.RestClients.GeocodingCoordinates (Openweathermap geocoding API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:34.449][ERROR][runtimelog.test.open-weather-connector.rest_client][main]{}
REST service WeatherData (Openweathermap weather API) (c7415148-b288-475b-8d2f-e532ddae4472) call to   failed. Response status was -1 
javax.ws.rs.ProcessingException: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:312)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:674)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:709)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:703)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:703)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:673)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:439)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:103)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:71)
	at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ResumableActivityExecutorAdapter.execute(ResumableActivityExecutorAdapter.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$1(ProcessElement.java:217)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.util.callable.IExecutionContext.callUncheckedInContext(IExecutionContext.java:51)
	at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
	at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
	at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
	at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)
	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
	at com.axonivy.connector.openweather.test.AirPollutionProcessTest.testGetForecastAirPollutionByGeoCode_ReturnsAirPollution(AirPollutionProcessTest.java:43)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:766)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:122)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:109)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$8(TestMethodTestDescriptor.java:217)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
	at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
	at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:63)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: BpmError ivy:error:rest:client:property: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
 Error Id: 19406F4CE31DA33D
 Context: request=HTTP GET call(4.4.0.1), session=5 (anonymous), securityContext=default, task=4, application=test, requestId=4, executionContext=SYSTEM, pmv=test$open-weather-connector$1, processElement=18D5F959C5356687-f9
	at ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:192)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.lambda$4(FeatureConfig.java:60)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.readMandatory(FeatureConfig.java:57)
	at com.axonivy.connector.openweather.auth.AppIdAuthorizationFilter.filter(AppIdAuthorizationFilter.java:21)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:144)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:132)
	at org.glassfish.jersey.process.internal.Stages.process(Stages.java:147)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300)
	... 134 more

Check warning on line 0 in com.axonivy.connector.openweather.test.AirPollutionProcessTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

testGetHistoricalAirPollutionByGeoCode_ReturnsAirPollution(BpmClient) (com.axonivy.connector.openweather.test.AirPollutionProcessTest) failed

open-weather-connector-test/target/surefire-reports/TEST-com.axonivy.connector.openweather.test.AirPollutionProcessTest.xml [took 0s]
Raw output
java.lang.AssertionError: 

Expecting actual not to be null
	at com.axonivy.connector.openweather.test.AirPollutionProcessTest.testGetHistoricalAirPollutionByGeoCode_ReturnsAirPollution(AirPollutionProcessTest.java:67)
[07:11:34.571][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-f77be009-0d4d-4ffa-bdcc-6667dbce7d0d/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
$.RestClients.GeocodingCoordinates (Openweathermap geocoding API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:34.603][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-f77be009-0d4d-4ffa-bdcc-6667dbce7d0d/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
$.RestClients.GeocodingCoordinates (Openweathermap geocoding API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:34.619][ERROR][runtimelog.test.open-weather-connector.rest_client][main]{}
REST service WeatherData (Openweathermap weather API) (c7415148-b288-475b-8d2f-e532ddae4472) call to   failed. Response status was -1 
javax.ws.rs.ProcessingException: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:312)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:674)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:709)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:703)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:703)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:673)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:439)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:103)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:71)
	at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ResumableActivityExecutorAdapter.execute(ResumableActivityExecutorAdapter.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$1(ProcessElement.java:217)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.util.callable.IExecutionContext.callUncheckedInContext(IExecutionContext.java:51)
	at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
	at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
	at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
	at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)
	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
	at com.axonivy.connector.openweather.test.AirPollutionProcessTest.testGetHistoricalAirPollutionByGeoCode_ReturnsAirPollution(AirPollutionProcessTest.java:65)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:766)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:122)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:109)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$8(TestMethodTestDescriptor.java:217)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
	at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
	at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:63)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: BpmError ivy:error:rest:client:property: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
 Error Id: 19406F4CEDB67B49
 Context: request=HTTP GET call(6.6.0.1), session=7 (anonymous), securityContext=default, task=6, application=test, requestId=6, executionContext=SYSTEM, pmv=test$open-weather-connector$1, processElement=18D5F959C5356687-f16
	at ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:192)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.lambda$4(FeatureConfig.java:60)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.readMandatory(FeatureConfig.java:57)
	at com.axonivy.connector.openweather.auth.AppIdAuthorizationFilter.filter(AppIdAuthorizationFilter.java:21)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:144)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:132)
	at org.glassfish.jersey.process.internal.Stages.process(Stages.java:147)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300)
	... 134 more

Check warning on line 0 in com.axonivy.connector.openweather.test.ForecastWeatherProcessTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

testGetForecastWeatherByGeoCode_ReturnsForecast(BpmClient) (com.axonivy.connector.openweather.test.ForecastWeatherProcessTest) failed

open-weather-connector-test/target/surefire-reports/TEST-com.axonivy.connector.openweather.test.ForecastWeatherProcessTest.xml [took 0s]
Raw output
java.lang.AssertionError: 

Expecting actual not to be null
	at com.axonivy.connector.openweather.test.ForecastWeatherProcessTest.testGetForecastWeatherByGeoCode_ReturnsForecast(ForecastWeatherProcessTest.java:24)
[07:11:42.454][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-2a2c15fc-0ff8-4c80-a5f3-0c5c82a9bbf1/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:42.476][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-2a2c15fc-0ff8-4c80-a5f3-0c5c82a9bbf1/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
$.RestClients.GeocodingCoordinates (Openweathermap geocoding API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:42.577][ERROR][runtimelog.test.open-weather-connector.rest_client][main]{}
REST service WeatherData (Openweathermap weather API) (c7415148-b288-475b-8d2f-e532ddae4472) call to   failed. Response status was -1 
javax.ws.rs.ProcessingException: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:312)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:674)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:709)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:703)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:703)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:673)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:439)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:103)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:71)
	at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ResumableActivityExecutorAdapter.execute(ResumableActivityExecutorAdapter.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$1(ProcessElement.java:217)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.util.callable.IExecutionContext.callUncheckedInContext(IExecutionContext.java:51)
	at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
	at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
	at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
	at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)
	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
	at com.axonivy.connector.openweather.test.ForecastWeatherProcessTest.testGetForecastWeatherByGeoCode_ReturnsForecast(ForecastWeatherProcessTest.java:22)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:766)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:122)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:109)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$8(TestMethodTestDescriptor.java:217)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
	at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
	at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:63)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: BpmError ivy:error:rest:client:property: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
 Error Id: 19406F4EDF0C1E3F
 Context: request=HTTP GET call(1.1.0.1), session=2 (anonymous), securityContext=default, task=1, application=test, requestId=16, executionContext=SYSTEM, pmv=test$open-weather-connector$1, processElement=18D5E5542F83C562-f3
	at ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:192)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.lambda$4(FeatureConfig.java:60)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.readMandatory(FeatureConfig.java:57)
	at com.axonivy.connector.openweather.auth.AppIdAuthorizationFilter.filter(AppIdAuthorizationFilter.java:21)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:144)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:132)
	at org.glassfish.jersey.process.internal.Stages.process(Stages.java:147)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300)
	... 134 more

Check warning on line 0 in com.axonivy.connector.openweather.test.GeocodingLocationProcessTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

testGeocodingByName_ReturnsListOfGeoLocations(BpmClient) (com.axonivy.connector.openweather.test.GeocodingLocationProcessTest) failed

open-weather-connector-test/target/surefire-reports/TEST-com.axonivy.connector.openweather.test.GeocodingLocationProcessTest.xml [took 0s]
Raw output
java.lang.AssertionError: 

Expecting actual not to be null
	at com.axonivy.connector.openweather.test.GeocodingLocationProcessTest.testGeocodingByName_ReturnsListOfGeoLocations(GeocodingLocationProcessTest.java:28)
[07:11:37.613][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-f9c816bc-b201-4c78-b952-16c22cec3111/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
$.RestClients.GeocodingCoordinates (Openweathermap geocoding API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:37.640][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-f9c816bc-b201-4c78-b952-16c22cec3111/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
$.RestClients.GeocodingCoordinates (Openweathermap geocoding API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:37.660][ERROR][runtimelog.test.open-weather-connector.rest_client][main]{}
REST service GeocodingCoordinates (Openweathermap geocoding API) (550bf66e-4811-47e6-b1ca-1942196a3487) call to   failed. Response status was -1 
javax.ws.rs.ProcessingException: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:312)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:674)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:709)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:703)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:703)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:673)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:439)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:103)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:71)
	at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ResumableActivityExecutorAdapter.execute(ResumableActivityExecutorAdapter.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$1(ProcessElement.java:217)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.util.callable.IExecutionContext.callUncheckedInContext(IExecutionContext.java:51)
	at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
	at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
	at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
	at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)
	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
	at com.axonivy.connector.openweather.test.GeocodingLocationProcessTest.testGeocodingByName_ReturnsListOfGeoLocations(GeocodingLocationProcessTest.java:26)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:766)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:122)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:109)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$8(TestMethodTestDescriptor.java:217)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
	at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
	at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:63)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: BpmError ivy:error:rest:client:property: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
 Error Id: 19406F4DABBFA489
 Context: request=HTTP GET call(2.2.0.1), session=3 (anonymous), securityContext=default, task=2, application=test, requestId=9, executionContext=SYSTEM, pmv=test$open-weather-connector$1, processElement=18D5F6F109062548-f3
	at ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:192)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.lambda$4(FeatureConfig.java:60)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.readMandatory(FeatureConfig.java:57)
	at com.axonivy.connector.openweather.auth.AppIdAuthorizationFilter.filter(AppIdAuthorizationFilter.java:21)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:144)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:132)
	at org.glassfish.jersey.process.internal.Stages.process(Stages.java:147)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300)
	... 134 more

Check warning on line 0 in com.axonivy.connector.openweather.test.GeocodingLocationProcessTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

testReverse_ReturnsListOfGeoLocations(BpmClient) (com.axonivy.connector.openweather.test.GeocodingLocationProcessTest) failed

open-weather-connector-test/target/surefire-reports/TEST-com.axonivy.connector.openweather.test.GeocodingLocationProcessTest.xml [took 0s]
Raw output
java.lang.AssertionError: 

Expecting actual not to be null
	at com.axonivy.connector.openweather.test.GeocodingLocationProcessTest.testReverse_ReturnsListOfGeoLocations(GeocodingLocationProcessTest.java:68)
[07:11:37.792][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-f9c816bc-b201-4c78-b952-16c22cec3111/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
$.RestClients.GeocodingCoordinates (Openweathermap geocoding API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:37.810][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-f9c816bc-b201-4c78-b952-16c22cec3111/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
$.RestClients.GeocodingCoordinates (Openweathermap geocoding API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:37.829][ERROR][runtimelog.test.open-weather-connector.rest_client][main]{}
REST service GeocodingCoordinates (Openweathermap geocoding API) (550bf66e-4811-47e6-b1ca-1942196a3487) call to   failed. Response status was -1 
javax.ws.rs.ProcessingException: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:312)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:674)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:709)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:703)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:703)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:673)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:439)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:103)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:71)
	at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ResumableActivityExecutorAdapter.execute(ResumableActivityExecutorAdapter.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$1(ProcessElement.java:217)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.util.callable.IExecutionContext.callUncheckedInContext(IExecutionContext.java:51)
	at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
	at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
	at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
	at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)
	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
	at com.axonivy.connector.openweather.test.GeocodingLocationProcessTest.testReverse_ReturnsListOfGeoLocations(GeocodingLocationProcessTest.java:66)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:766)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:122)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:109)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$8(TestMethodTestDescriptor.java:217)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
	at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
	at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:63)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: BpmError ivy:error:rest:client:property: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
 Error Id: 19406F4DB644F850
 Context: request=HTTP GET call(5.5.0.1), session=6 (anonymous), securityContext=default, task=5, application=test, requestId=12, executionContext=SYSTEM, pmv=test$open-weather-connector$1, processElement=18D5F6F109062548-f16
	at ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:192)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.lambda$4(FeatureConfig.java:60)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.readMandatory(FeatureConfig.java:57)
	at com.axonivy.connector.openweather.auth.AppIdAuthorizationFilter.filter(AppIdAuthorizationFilter.java:21)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:144)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:132)
	at org.glassfish.jersey.process.internal.Stages.process(Stages.java:147)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300)
	... 134 more

Check warning on line 0 in com.axonivy.connector.openweather.test.GeocodingLocationProcessTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

testGeocodingByZip_ReturnsGeoLocation(BpmClient) (com.axonivy.connector.openweather.test.GeocodingLocationProcessTest) failed

open-weather-connector-test/target/surefire-reports/TEST-com.axonivy.connector.openweather.test.GeocodingLocationProcessTest.xml [took 0s]
Raw output
java.lang.AssertionError: 

Expecting actual not to be null
	at com.axonivy.connector.openweather.test.GeocodingLocationProcessTest.testGeocodingByZip_ReturnsGeoLocation(GeocodingLocationProcessTest.java:50)
[07:11:37.843][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-f9c816bc-b201-4c78-b952-16c22cec3111/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
$.RestClients.GeocodingCoordinates (Openweathermap geocoding API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:37.862][WARN ][ch.ivyteam.ivy.application.config.schema.AppYamlValidator][main]{}
Invalid configuration in /tmp/tstFileAccess-f9c816bc-b201-4c78-b952-16c22cec3111/config/applications/test/app.yaml:
$.RestClients.WeatherData (Openweathermap weather API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
$.RestClients.GeocodingCoordinates (Openweathermap geocoding API): property 'UUID' is not defined in the schema and the schema does not allow additional properties
[07:11:37.882][ERROR][runtimelog.test.open-weather-connector.rest_client][main]{}
REST service GeocodingCoordinates (Openweathermap geocoding API) (550bf66e-4811-47e6-b1ca-1942196a3487) call to   failed. Response status was -1 
javax.ws.rs.ProcessingException: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:312)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:674)
	at org.glassfish.jersey.client.JerseyInvocation.call(JerseyInvocation.java:709)
	at org.glassfish.jersey.client.JerseyInvocation.lambda$runInScope$3(JerseyInvocation.java:703)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274)
	at org.glassfish.jersey.internal.Errors.process(Errors.java:205)
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:390)
	at org.glassfish.jersey.client.JerseyInvocation.runInScope(JerseyInvocation.java:703)
	at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:673)
	at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:439)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:103)
	at ch.ivyteam.ivy.bpm.exec.internal.activity.restclientcall.RestClientCallExecutor.execute(RestClientCallExecutor.java:71)
	at ch.ivyteam.ivy.bpm.engine.internal.model.bpmn.ResumableActivityExecutorAdapter.execute(ResumableActivityExecutorAdapter.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.lambda$1(ProcessElement.java:217)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.util.callable.IExecutionContext.callUncheckedInContext(IExecutionContext.java:51)
	at ch.ivyteam.util.callable.IExecutionContext.getInContext(IExecutionContext.java:41)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.executeInElementContext(ProcessElement.java:272)
	at ch.ivyteam.ivy.bpm.engine.internal.model.ProcessElement.execute(ProcessElement.java:217)
	at ch.ivyteam.ivy.bpm.engine.internal.core.ProcessElementExecution.execute(ProcessElementExecution.java:33)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleExecution(RequestProcessor.java:125)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.processRequest(RequestProcessor.java:117)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleRequest(RequestProcessor.java:89)
	at ch.ivyteam.ivy.bpm.engine.internal.core.RequestProcessor.handleCallRequest(RequestProcessor.java:79)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:198)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleCallRequest(BpmEngine.java:183)
	at ch.ivyteam.ivy.bpm.engine.internal.BpmEngine.handleRequestWithinContext(BpmEngine.java:121)
	at ch.ivyteam.ivy.request.impl.ContextAwareRequestHandler.handleRequest(ContextAwareRequestHandler.java:18)
	at ch.ivyteam.ivy.enginemanagerbase.AbstractEngineManager.handleRequest(AbstractEngineManager.java:47)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$2(BpmExecutorFactory.java:76)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:151)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$3.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:166)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$4.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.ExecutorFilterChain.doFilter(ExecutorFilterChain.java:31)
	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:89)
	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:121)
	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:133)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:107)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory$1.call(BpmExecutorFactory.java:1)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$1(BpmExecutorFactory.java:70)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.lambda$0(BpmExecutorFactory.java:66)
	at ch.ivyteam.ivy.bpm.engine.client.internal.BpmExecutorFactory.execute(BpmExecutorFactory.java:184)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:140)
	at ch.ivyteam.ivy.bpm.engine.client.sub.SubRequestBuilder.execute(SubRequestBuilder.java:100)
	at com.axonivy.connector.openweather.test.GeocodingLocationProcessTest.testGeocodingByZip_ReturnsGeoLocation(GeocodingLocationProcessTest.java:48)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:766)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.proceed(AbstractScopeContext.java:12)
	at ch.ivyteam.ivy.server.internal.test.AbstractScopeContext.callInScopeContext(AbstractScopeContext.java:7)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$4(IvyProcessTestScopeContext.java:33)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$3(IvyProcessTestScopeContext.java:32)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$2(IvyProcessTestScopeContext.java:31)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$1(IvyProcessTestScopeContext.java:30)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.lambda$0(IvyProcessTestScopeContext.java:29)
	at ch.ivyteam.util.callable.AbstractExecutionContext.callInContext(AbstractExecutionContext.java:10)
	at ch.ivyteam.ivy.bpm.exec.client.internal.IvyProcessTestScopeContext.callInScopeContext(IvyProcessTestScopeContext.java:28)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.callInContext(AbstractTestJu5Ext.java:122)
	at ch.ivyteam.ivy.server.internal.test.AbstractTestJu5Ext.interceptTestMethod(AbstractTestJu5Ext.java:109)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$8(TestMethodTestDescriptor.java:217)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:213)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:138)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:68)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
	at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
	at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:63)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:188)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:154)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:128)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:428)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:562)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:548)
Caused by: BpmError ivy:error:rest:client:property: Missing property 'AUTH.appId' for 'com.axonivy.connector.openweather.auth.OpenWeatherAuthFeature'.
 Error Id: 19406F4DB994BE83
 Context: request=HTTP GET call(6.6.0.1), session=7 (anonymous), securityContext=default, task=6, application=test, requestId=13, executionContext=SYSTEM, pmv=test$open-weather-connector$1, processElement=18D5F6F109062548-f9
	at ch.ivyteam.ivy.bpm.error.BpmErrorBuilder.build(BpmErrorBuilder.java:192)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.lambda$4(FeatureConfig.java:60)
	at java.base/java.util.Optional.orElseThrow(Optional.java:403)
	at ch.ivyteam.ivy.rest.client.FeatureConfig.readMandatory(FeatureConfig.java:57)
	at com.axonivy.connector.openweather.auth.AppIdAuthorizationFilter.filter(AppIdAuthorizationFilter.java:21)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:144)
	at org.glassfish.jersey.client.ClientFilteringStages$RequestFilteringStage.apply(ClientFilteringStages.java:132)
	at org.glassfish.jersey.process.internal.Stages.process(Stages.java:147)
	at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:300)
	... 134 more