This is an automated email from the ASF dual-hosted git repository.
fjtiradosarti pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-runtimes.git
The following commit(s) were added to refs/heads/main by this push:
new 8b5a93feb6 SpringBoot IT Test reproducible when modifying build time
jars. (#3579)
8b5a93feb6 is described below
commit 8b5a93feb6af5bb278854bcfb7ec50d2c4a96ea6
Author: Francisco Javier Tirado Sarti
<[email protected]>
AuthorDate: Fri Jul 26 17:58:52 2024 +0200
SpringBoot IT Test reproducible when modifying build time jars. (#3579)
---
.../workflow/operationid/SpecWorkflowOperationIdFactory.java | 5 +++++
springboot/integration-tests/pom.xml | 4 ++++
2 files changed, 9 insertions(+)
diff --git
a/kogito-serverless-workflow/kogito-serverless-workflow-openapi-common/src/main/java/org/kie/kogito/serverless/workflow/operationid/SpecWorkflowOperationIdFactory.java
b/kogito-serverless-workflow/kogito-serverless-workflow-openapi-common/src/main/java/org/kie/kogito/serverless/workflow/operationid/SpecWorkflowOperationIdFactory.java
index 0561f95b7d..c08125e170 100644
---
a/kogito-serverless-workflow/kogito-serverless-workflow-openapi-common/src/main/java/org/kie/kogito/serverless/workflow/operationid/SpecWorkflowOperationIdFactory.java
+++
b/kogito-serverless-workflow/kogito-serverless-workflow-openapi-common/src/main/java/org/kie/kogito/serverless/workflow/operationid/SpecWorkflowOperationIdFactory.java
@@ -24,6 +24,8 @@ import java.util.Set;
import org.kie.kogito.serverless.workflow.parser.ParserContext;
import org.kie.kogito.serverless.workflow.utils.OpenAPIFactory;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import io.serverlessworkflow.api.Workflow;
import io.serverlessworkflow.api.functions.FunctionDefinition;
@@ -31,8 +33,11 @@ import
io.serverlessworkflow.api.functions.FunctionDefinition;
public class SpecWorkflowOperationIdFactory extends
AbstractWorkflowOperationIdFactory {
public static final String SPEC_PROP_VALUE = "SPEC_TITLE";
+ private static final Logger logger =
LoggerFactory.getLogger(SpecWorkflowOperationIdFactory.class);
+
@Override
public String getFileName(Workflow workflow, FunctionDefinition function,
Optional<ParserContext> context, URI uri, String operation, String service) {
+ logger.debug("Testing reproducible");
return OpenAPIFactory.getOpenAPI(uri, workflow, function,
context).getInfo()
.getTitle();
}
diff --git a/springboot/integration-tests/pom.xml
b/springboot/integration-tests/pom.xml
index 8079ddab7b..f9e7e60989 100644
--- a/springboot/integration-tests/pom.xml
+++ b/springboot/integration-tests/pom.xml
@@ -74,6 +74,10 @@
<version>${project.version}</version>
<type>pom</type>
</dependency>
+ <dependency>
+ <groupId>org.kie.kogito</groupId>
+ <artifactId>kogito-serverless-workflow-openapi-common</artifactId>
+ </dependency>
<dependency>
<groupId>org.kie.kogito</groupId>
<artifactId>kogito-maven-plugin</artifactId>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]