This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new c9ca10c camel-16400: suffix with IT when auto-generating integration
test code (#5407)
c9ca10c is described below
commit c9ca10ce7e2014080280b00028eeed680a786b93
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Mon Apr 19 10:57:10 2021 +0200
camel-16400: suffix with IT when auto-generating integration test code
(#5407)
---
.../src/test/java/org/apache/camel/component/fhir/FhirOperationIT.java | 2 +-
.../java/org/apache/camel/maven/AbstractApiMethodGeneratorMojo.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirOperationIT.java
b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirOperationIT.java
index 0d2dcf5..9a5ea4e 100644
---
a/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirOperationIT.java
+++
b/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirOperationIT.java
@@ -39,7 +39,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
*/
public class FhirOperationIT extends AbstractFhirTestSupport {
- private static final Logger LOG =
LoggerFactory.getLogger(FhirOperationIntegrationTest.class);
+ private static final Logger LOG =
LoggerFactory.getLogger(FhirOperationIT.class);
private static final String PATH_PREFIX
=
FhirApiCollection.getCollection().getApiName(FhirOperationApiMethod.class).getName();
diff --git
a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/AbstractApiMethodGeneratorMojo.java
b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/AbstractApiMethodGeneratorMojo.java
index d68cdc0..2b734dc 100644
---
a/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/AbstractApiMethodGeneratorMojo.java
+++
b/tooling/maven/camel-api-component-maven-plugin/src/main/java/org/apache/camel/maven/AbstractApiMethodGeneratorMojo.java
@@ -201,7 +201,7 @@ public abstract class AbstractApiMethodGeneratorMojo
extends AbstractApiMethodBa
String proxyClassWithCanonicalName =
getProxyClassWithCanonicalName(proxyClass);
String prefix = classPrefix != null ? classPrefix : "";
return prefix +
proxyClassWithCanonicalName.substring(proxyClassWithCanonicalName.lastIndexOf('.')
+ 1)
- + "IntegrationTest";
+ + "IT";
}
private VelocityContext
getEndpointContext(List<ApiMethodParser.ApiMethodModel> models) throws
MojoExecutionException {