This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new 07b410a  CAMEL-17673: camel-core-model - Cleanup Rest DSL
07b410a is described below

commit 07b410a73855b4ecced4de2bb675466bd53ec5d2
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Feb 24 14:50:06 2022 +0100

    CAMEL-17673: camel-core-model - Cleanup Rest DSL
---
 .../camel-core-starter/src/main/docs/core.json     | 17 ----------
 .../RestConfigurationDefinitionProperties.java     | 36 ----------------------
 2 files changed, 53 deletions(-)

diff --git a/components-starter/camel-core-starter/src/main/docs/core.json 
b/components-starter/camel-core-starter/src/main/docs/core.json
index 3bafdd5..873d631 100644
--- a/components-starter/camel-core-starter/src/main/docs/core.json
+++ b/components-starter/camel-core-starter/src/main/docs/core.json
@@ -1104,23 +1104,6 @@
       "type": "java.lang.String",
       "description": "Name of specific XML data format to use. By default jaxb 
will be used. Important: This option is only for setting a custom name of the 
data format, not to refer to an existing data format instance.",
       "sourceType": 
"org.apache.camel.model.rest.springboot.RestConfigurationDefinitionProperties"
-    },
-    {
-      "name": "camel.rest.api-context-id-pattern",
-      "type": "java.lang.String",
-      "description": "Sets an CamelContext id pattern to only allow Rest APIs 
from rest services within CamelContext's which name matches the pattern. The 
pattern #name# refers to the CamelContext name, to match on the current 
CamelContext only. For any other value, the pattern uses the rules from 
PatternHelper#matchPattern(String,String)",
-      "sourceType": 
"org.apache.camel.model.rest.springboot.RestConfigurationDefinitionProperties",
-      "deprecated": true,
-      "deprecation": {}
-    },
-    {
-      "name": "camel.rest.api-context-listing",
-      "type": "java.lang.Boolean",
-      "description": "Sets whether listing of all available CamelContext's 
with REST services in the JVM is enabled. If enabled it allows to discover 
these contexts, if false then only the current CamelContext is in use.",
-      "sourceType": 
"org.apache.camel.model.rest.springboot.RestConfigurationDefinitionProperties",
-      "defaultValue": false,
-      "deprecated": true,
-      "deprecation": {}
     }
   ],
   "hints": []
diff --git 
a/components-starter/camel-core-starter/src/main/java/org/apache/camel/model/rest/springboot/RestConfigurationDefinitionProperties.java
 
b/components-starter/camel-core-starter/src/main/java/org/apache/camel/model/rest/springboot/RestConfigurationDefinitionProperties.java
index 0034380..bf256b4 100644
--- 
a/components-starter/camel-core-starter/src/main/java/org/apache/camel/model/rest/springboot/RestConfigurationDefinitionProperties.java
+++ 
b/components-starter/camel-core-starter/src/main/java/org/apache/camel/model/rest/springboot/RestConfigurationDefinitionProperties.java
@@ -113,22 +113,6 @@ public class RestConfigurationDefinitionProperties {
      */
     private String apiContextRouteId;
     /**
-     * Sets an CamelContext id pattern to only allow Rest APIs from rest
-     * services within CamelContext's which name matches the pattern. The
-     * pattern #name# refers to the CamelContext name, to match on the current
-     * CamelContext only. For any other value, the pattern uses the rules from
-     * PatternHelper#matchPattern(String,String)
-     */
-    @Deprecated
-    private String apiContextIdPattern;
-    /**
-     * Sets whether listing of all available CamelContext's with REST services
-     * in the JVM is enabled. If enabled it allows to discover these contexts,
-     * if false then only the current CamelContext is in use.
-     */
-    @Deprecated
-    private Boolean apiContextListing = false;
-    /**
      * Whether vendor extension is enabled in the Rest APIs. If enabled then
      * Camel will include additional information as vendor extension (eg keys
      * starting with x-) such as route ids, class names etc. Not all 3rd party
@@ -308,26 +292,6 @@ public class RestConfigurationDefinitionProperties {
         this.apiContextRouteId = apiContextRouteId;
     }
 
-    @Deprecated
-    public String getApiContextIdPattern() {
-        return apiContextIdPattern;
-    }
-
-    @Deprecated
-    public void setApiContextIdPattern(String apiContextIdPattern) {
-        this.apiContextIdPattern = apiContextIdPattern;
-    }
-
-    @Deprecated
-    public Boolean getApiContextListing() {
-        return apiContextListing;
-    }
-
-    @Deprecated
-    public void setApiContextListing(Boolean apiContextListing) {
-        this.apiContextListing = apiContextListing;
-    }
-
     public Boolean getApiVendorExtension() {
         return apiVendorExtension;
     }

Reply via email to