Skip to content

Commit

Permalink
chore: bump to CQ 3.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
squakez committed Aug 1, 2024
1 parent b745819 commit 7c7cc47
Show file tree
Hide file tree
Showing 81 changed files with 150 additions and 384 deletions.
2 changes: 1 addition & 1 deletion camel-k-core/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.camel.k</groupId>
<artifactId>camel-k-core-parent</artifactId>
<version>3.9.0-SNAPSHOT</version>
<version>3.13.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.k;

import javax.annotation.processing.Generated;
import java.util.Map;

import org.apache.camel.CamelContext;
Expand All @@ -14,60 +15,43 @@
/**
* Generated by camel build tools - do NOT edit this file!
*/
@Generated("org.apache.camel.maven.packaging.GenerateConfigurerMojo")
@SuppressWarnings("unchecked")
public class SourceDefinitionConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {

@Override
public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
org.apache.camel.k.SourceDefinition target = (org.apache.camel.k.SourceDefinition) obj;
switch (ignoreCase ? name.toLowerCase() : name) {
case "compressed":
case "Compressed": target.setCompressed(property(camelContext, boolean.class, value)); return true;
case "content":
case "Content": target.setContent(property(camelContext, byte[].class, value)); return true;
case "id":
case "Id": target.setId(property(camelContext, java.lang.String.class, value)); return true;
case "interceptors":
case "Interceptors": target.setInterceptors(property(camelContext, java.util.List.class, value)); return true;
case "language":
case "Language": target.setLanguage(property(camelContext, java.lang.String.class, value)); return true;
case "loader":
case "Loader": target.setLoader(property(camelContext, java.lang.String.class, value)); return true;
case "location":
case "Location": target.setLocation(property(camelContext, java.lang.String.class, value)); return true;
case "name":
case "Name": target.setName(property(camelContext, java.lang.String.class, value)); return true;
case "compressed": target.setCompressed(property(camelContext, boolean.class, value)); return true;
case "content": target.setContent(property(camelContext, byte[].class, value)); return true;
case "id": target.setId(property(camelContext, java.lang.String.class, value)); return true;
case "interceptors": target.setInterceptors(property(camelContext, java.util.List.class, value)); return true;
case "language": target.setLanguage(property(camelContext, java.lang.String.class, value)); return true;
case "loader": target.setLoader(property(camelContext, java.lang.String.class, value)); return true;
case "location": target.setLocation(property(camelContext, java.lang.String.class, value)); return true;
case "name": target.setName(property(camelContext, java.lang.String.class, value)); return true;
case "propertynames":
case "PropertyNames": target.setPropertyNames(property(camelContext, java.util.List.class, value)); return true;
case "type":
case "Type": target.setType(property(camelContext, org.apache.camel.k.SourceType.class, value)); return true;
case "propertyNames": target.setPropertyNames(property(camelContext, java.util.List.class, value)); return true;
case "type": target.setType(property(camelContext, org.apache.camel.k.SourceType.class, value)); return true;
default: return false;
}
}

@Override
public Class<?> getOptionType(String name, boolean ignoreCase) {
switch (ignoreCase ? name.toLowerCase() : name) {
case "compressed":
case "Compressed": return boolean.class;
case "content":
case "Content": return byte[].class;
case "id":
case "Id": return java.lang.String.class;
case "interceptors":
case "Interceptors": return java.util.List.class;
case "language":
case "Language": return java.lang.String.class;
case "loader":
case "Loader": return java.lang.String.class;
case "location":
case "Location": return java.lang.String.class;
case "name":
case "Name": return java.lang.String.class;
case "compressed": return boolean.class;
case "content": return byte[].class;
case "id": return java.lang.String.class;
case "interceptors": return java.util.List.class;
case "language": return java.lang.String.class;
case "loader": return java.lang.String.class;
case "location": return java.lang.String.class;
case "name": return java.lang.String.class;
case "propertynames":
case "PropertyNames": return java.util.List.class;
case "type":
case "Type": return org.apache.camel.k.SourceType.class;
case "propertyNames": return java.util.List.class;
case "type": return org.apache.camel.k.SourceType.class;
default: return null;
}
}
Expand All @@ -76,37 +60,27 @@ public Class<?> getOptionType(String name, boolean ignoreCase) {
public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
org.apache.camel.k.SourceDefinition target = (org.apache.camel.k.SourceDefinition) obj;
switch (ignoreCase ? name.toLowerCase() : name) {
case "compressed":
case "Compressed": return target.isCompressed();
case "content":
case "Content": return target.getContent();
case "id":
case "Id": return target.getId();
case "interceptors":
case "Interceptors": return target.getInterceptors();
case "language":
case "Language": return target.getLanguage();
case "loader":
case "Loader": return target.getLoader();
case "location":
case "Location": return target.getLocation();
case "name":
case "Name": return target.getName();
case "compressed": return target.isCompressed();
case "content": return target.getContent();
case "id": return target.getId();
case "interceptors": return target.getInterceptors();
case "language": return target.getLanguage();
case "loader": return target.getLoader();
case "location": return target.getLocation();
case "name": return target.getName();
case "propertynames":
case "PropertyNames": return target.getPropertyNames();
case "type":
case "Type": return target.getType();
case "propertyNames": return target.getPropertyNames();
case "type": return target.getType();
default: return null;
}
}

@Override
public Object getCollectionValueType(Object target, String name, boolean ignoreCase) {
switch (ignoreCase ? name.toLowerCase() : name) {
case "interceptors":
case "Interceptors": return java.lang.String.class;
case "interceptors": return java.lang.String.class;
case "propertynames":
case "PropertyNames": return java.lang.String.class;
case "propertyNames": return java.lang.String.class;
default: return null;
}
}
Expand Down
2 changes: 1 addition & 1 deletion camel-k-core/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.camel.k</groupId>
<artifactId>camel-k-core-parent</artifactId>
<version>3.9.0-SNAPSHOT</version>
<version>3.13.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion camel-k-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.camel.k</groupId>
<artifactId>camel-k-runtime-project</artifactId>
<version>3.9.0-SNAPSHOT</version>
<version>3.13.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion camel-k-core/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.camel.k</groupId>
<artifactId>camel-k-core-parent</artifactId>
<version>3.9.0-SNAPSHOT</version>
<version>3.13.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion camel-k-core/support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.camel.k</groupId>
<artifactId>camel-k-core-parent</artifactId>
<version>3.9.0-SNAPSHOT</version>
<version>3.13.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.k.listener;

import javax.annotation.processing.Generated;
import java.util.Map;

import org.apache.camel.CamelContext;
Expand All @@ -14,24 +15,23 @@
/**
* Generated by camel build tools - do NOT edit this file!
*/
@Generated("org.apache.camel.maven.packaging.GenerateConfigurerMojo")
@SuppressWarnings("unchecked")
public class SourcesConfigurerConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {

@Override
public boolean configure(CamelContext camelContext, Object obj, String name, Object value, boolean ignoreCase) {
org.apache.camel.k.listener.SourcesConfigurer target = (org.apache.camel.k.listener.SourcesConfigurer) obj;
switch (ignoreCase ? name.toLowerCase() : name) {
case "sources":
case "Sources": target.setSources(property(camelContext, org.apache.camel.k.SourceDefinition[].class, value)); return true;
case "sources": target.setSources(property(camelContext, org.apache.camel.k.SourceDefinition[].class, value)); return true;
default: return false;
}
}

@Override
public Class<?> getOptionType(String name, boolean ignoreCase) {
switch (ignoreCase ? name.toLowerCase() : name) {
case "sources":
case "Sources": return org.apache.camel.k.SourceDefinition[].class;
case "sources": return org.apache.camel.k.SourceDefinition[].class;
default: return null;
}
}
Expand All @@ -40,8 +40,7 @@ public Class<?> getOptionType(String name, boolean ignoreCase) {
public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
org.apache.camel.k.listener.SourcesConfigurer target = (org.apache.camel.k.listener.SourcesConfigurer) obj;
switch (ignoreCase ? name.toLowerCase() : name) {
case "sources":
case "Sources": return target.getSources();
case "sources": return target.getSources();
default: return null;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ public void testLoadCustomizersFallback() {
@Test
public void testLoadCustomizerOrder() {
DefaultCamelContext context = new DefaultCamelContext();
context.setName("camel");
context.getRegistry().bind("c1", new ContextCustomizer() {
@Override
public int getOrder() {
Expand Down Expand Up @@ -175,7 +174,7 @@ public void apply(CamelContext camelContext) {

List<ContextCustomizer> customizers = RuntimeSupport.configureContextCustomizers(context);
assertThat(customizers).hasSize(3);
assertThat(context.getName()).isEqualTo("camel-c2-c3-c1");
assertThat(context.getName()).matches("camel-.*-c2-c3-c1");
}

@Test
Expand Down
2 changes: 1 addition & 1 deletion camel-k-cron/deployment/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.camel.k</groupId>
<artifactId>camel-k-cron-parent</artifactId>
<version>3.9.0-SNAPSHOT</version>
<version>3.13.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion camel-k-cron/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.camel.k</groupId>
<artifactId>camel-k-cron-parent</artifactId>
<version>3.9.0-SNAPSHOT</version>
<version>3.13.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.k.cron;

import javax.annotation.processing.Generated;
import java.util.Map;

import org.apache.camel.CamelContext;
Expand All @@ -14,6 +15,7 @@
/**
* Generated by camel build tools - do NOT edit this file!
*/
@Generated("org.apache.camel.maven.packaging.GenerateConfigurerMojo")
@SuppressWarnings("unchecked")
public class CronSourceLoaderInterceptorConfigurer extends org.apache.camel.support.component.PropertyConfigurerSupport implements GeneratedPropertyConfigurer, PropertyConfigurerGetter {

Expand All @@ -22,11 +24,10 @@ public boolean configure(CamelContext camelContext, Object obj, String name, Obj
org.apache.camel.k.cron.CronSourceLoaderInterceptor target = (org.apache.camel.k.cron.CronSourceLoaderInterceptor) obj;
switch (ignoreCase ? name.toLowerCase() : name) {
case "overridablecomponents":
case "OverridableComponents": target.setOverridableComponents(property(camelContext, java.lang.String.class, value)); return true;
case "runtime":
case "Runtime": target.setRuntime(property(camelContext, org.apache.camel.k.Runtime.class, value)); return true;
case "overridableComponents": target.setOverridableComponents(property(camelContext, java.lang.String.class, value)); return true;
case "runtime": target.setRuntime(property(camelContext, org.apache.camel.k.Runtime.class, value)); return true;
case "timeruri":
case "TimerUri": target.setTimerUri(property(camelContext, java.lang.String.class, value)); return true;
case "timerUri": target.setTimerUri(property(camelContext, java.lang.String.class, value)); return true;
default: return false;
}
}
Expand All @@ -35,11 +36,10 @@ public boolean configure(CamelContext camelContext, Object obj, String name, Obj
public Class<?> getOptionType(String name, boolean ignoreCase) {
switch (ignoreCase ? name.toLowerCase() : name) {
case "overridablecomponents":
case "OverridableComponents": return java.lang.String.class;
case "runtime":
case "Runtime": return org.apache.camel.k.Runtime.class;
case "overridableComponents": return java.lang.String.class;
case "runtime": return org.apache.camel.k.Runtime.class;
case "timeruri":
case "TimerUri": return java.lang.String.class;
case "timerUri": return java.lang.String.class;
default: return null;
}
}
Expand All @@ -49,11 +49,10 @@ public Object getOptionValue(Object obj, String name, boolean ignoreCase) {
org.apache.camel.k.cron.CronSourceLoaderInterceptor target = (org.apache.camel.k.cron.CronSourceLoaderInterceptor) obj;
switch (ignoreCase ? name.toLowerCase() : name) {
case "overridablecomponents":
case "OverridableComponents": return target.getOverridableComponents();
case "runtime":
case "Runtime": return target.getRuntime();
case "overridableComponents": return target.getOverridableComponents();
case "runtime": return target.getRuntime();
case "timeruri":
case "TimerUri": return target.getTimerUri();
case "timerUri": return target.getTimerUri();
default: return null;
}
}
Expand Down
2 changes: 1 addition & 1 deletion camel-k-cron/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.camel.k</groupId>
<artifactId>camel-k-runtime-project</artifactId>
<version>3.9.0-SNAPSHOT</version>
<version>3.13.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion camel-k-cron/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.camel.k</groupId>
<artifactId>camel-k-cron-parent</artifactId>
<version>3.9.0-SNAPSHOT</version>
<version>3.13.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion camel-k-knative/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.camel.k</groupId>
<artifactId>camel-k-knative-parent</artifactId>
<version>3.9.0-SNAPSHOT</version>
<version>3.13.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Loading

0 comments on commit 7c7cc47

Please sign in to comment.