We have an outsystem v10 api v1 and we are trying to integrate the system with the "outsystems-pipeline"
When we run the Jenkins pipline we get a timeout:
python3 -m outsystems.pipeline.deploy_latest_tags_to_target_env --artifacts Artifacts --lt_url lifetime.domain.com --lt_token 'xxx' --lt_api_version 1 --source_env Development --destination_env Test --app_list test
App test with version 0.1 does not exist in Test environment. Ignoring check and deploy it.
Creating deployment plan from Development to Test including applications: ['test'] ([{'Name': 'test', 'Key': 'xxx-xxx-xxx-xxx-xxx', 'Version': '0.1', 'VersionKey': 'yyy-yyy-yyy-yyy-yyy'}]).
Waiting for LifeTime to be free. Elapsed time: 20 seconds...
Waiting for LifeTime to be free. Elapsed time: 40 seconds...
Waiting for LifeTime to be free. Elapsed time: 60 seconds...
Waiting for LifeTime to be free. Elapsed time: 80 seconds...
We get an error in the service center. Could this be due to the fact that we have outsystem version 10. In the documentation there is a link to the LifeTime Deployment API which leads to the documentation for api 11 version?
Failed to retrieve the environment with key 'xxx-xxx-xxx-xxx-xxx' or the application with key 'yyy-yyy-yyy-yyy-yyy'.
Environment InformationeSpaceVer: 1 (Id=23, PubId=23, CompiledWith=10.0.1005.2)
RequestUrl: https://lifetime.docmain.com/lifetimeapi/rest/v1/environments/yyy-yyy-yyy-yyy-yyy/applications/yyy-yyy-yyy-yyy-yyy?IncludeEnvStatus=True&IncludeModules=True (Method: GET)
ClassLoader: ModuleClassLoader for Module "deployment.lifetimeapi.war:main" from Service Module Loader(1560364007)
oslifetimeapi.exceptions.ExcptREST_4xx: Failed to retrieve the environment with key 'xxx-xxx-xxx-xxx-xxx' or the application with key 'yyy-yyy-yyy-yyy-yyy'.
at oslifetimeapi.actions.ActRaise_ClientError.executeRaise_ClientError(Unknown Source)
at oslifetimeapi.csrestexpose.csv1.Csv1ControllerFlows$Flowv1ActEnvironments_GetRunningApp.flowv1ActEnvironments_GetRunningApp(Unknown Source)
at oslifetimeapi.csrestexpose.csv1.Csv1Controller.v1Environments_GetRunningApp(Unknown Source)
at sun.reflect.GeneratedMethodAccessor3736.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:540)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:715)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at outsystems.hubedition.webwidgets.BaseRequestStartupFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at outsystems.hubedition.webwidgets.filters.HttpContextFilter.doFilter(Unknown Source)
at outsystems.hubedition.webwidgets.filters.CacheControlFilter.doFilter(Unknown Source)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:559)
at