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

davsclaus 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 006c3e1  CAMEL-14977: Polished and generate doc and metadata files
006c3e1 is described below

commit 006c3e185bcfc944fdd65e9f3d1aa30d5533a7bc
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue Apr 28 19:13:30 2020 +0200

    CAMEL-14977: Polished and generate doc and metadata files
---
 components/camel-undertow-spring-security/pom.xml  | 22 +++++-----------------
 .../services/org/apache/camel/other.properties     |  7 +++++++
 .../resources/undertow-spring-security.json        | 15 +++++++++++++++
 ...omponent.adoc => undertow-spring-security.adoc} |  9 +++++----
 4 files changed, 32 insertions(+), 21 deletions(-)

diff --git a/components/camel-undertow-spring-security/pom.xml 
b/components/camel-undertow-spring-security/pom.xml
index 23a9010..14b883e 100644
--- a/components/camel-undertow-spring-security/pom.xml
+++ b/components/camel-undertow-spring-security/pom.xml
@@ -28,10 +28,14 @@
 
     <artifactId>camel-undertow-spring-security</artifactId>
     <packaging>jar</packaging>
-
     <name>Camel :: Undertow Spring Security</name>
     <description>Spring Security Provider for camel-undertow</description>
 
+    <properties>
+        <label>security</label>
+        <firstVersion>3.3.0</firstVersion>
+    </properties>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.camel</groupId>
@@ -69,20 +73,4 @@
         
     </dependencies>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.camel</groupId>
-                <artifactId>camel-package-maven-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>generate</id>
-                        <phase>none</phase>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-
-
 </project>
diff --git 
a/components/camel-undertow-spring-security/src/generated/resources/META-INF/services/org/apache/camel/other.properties
 
b/components/camel-undertow-spring-security/src/generated/resources/META-INF/services/org/apache/camel/other.properties
new file mode 100644
index 0000000..dd77832
--- /dev/null
+++ 
b/components/camel-undertow-spring-security/src/generated/resources/META-INF/services/org/apache/camel/other.properties
@@ -0,0 +1,7 @@
+# Generated by camel build tools - do NOT edit this file!
+name=undertow-spring-security
+groupId=org.apache.camel
+artifactId=camel-undertow-spring-security
+version=3.3.0-SNAPSHOT
+projectName=Camel :: Undertow Spring Security
+projectDescription=Spring Security Provider for camel-undertow
diff --git 
a/components/camel-undertow-spring-security/src/generated/resources/undertow-spring-security.json
 
b/components/camel-undertow-spring-security/src/generated/resources/undertow-spring-security.json
new file mode 100644
index 0000000..f70287f
--- /dev/null
+++ 
b/components/camel-undertow-spring-security/src/generated/resources/undertow-spring-security.json
@@ -0,0 +1,15 @@
+{
+  "other": {
+    "kind": "other",
+    "name": "undertow-spring-security",
+    "title": "Undertow Spring Security",
+    "description": "Spring Security Provider for camel-undertow",
+    "deprecated": false,
+    "firstVersion": "3.3.0",
+    "label": "security",
+    "supportLevel": "Stable",
+    "groupId": "org.apache.camel",
+    "artifactId": "camel-undertow-spring-security",
+    "version": "3.3.0-SNAPSHOT"
+  }
+}
diff --git 
a/components/camel-undertow-spring-security/src/main/docs/undertow-spring-security-component.adoc
 
b/components/camel-undertow-spring-security/src/main/docs/undertow-spring-security.adoc
similarity index 85%
rename from 
components/camel-undertow-spring-security/src/main/docs/undertow-spring-security-component.adoc
rename to 
components/camel-undertow-spring-security/src/main/docs/undertow-spring-security.adoc
index e2f8318..6d7c484 100644
--- 
a/components/camel-undertow-spring-security/src/main/docs/undertow-spring-security-component.adoc
+++ 
b/components/camel-undertow-spring-security/src/main/docs/undertow-spring-security.adoc
@@ -1,7 +1,10 @@
 [[undertow-spring-security-component]]
-= Undertow Spring Security Security Provider
-//by hand
+= Undertow Spring Security Component
+:docTitle: Undertow Spring Security
+:artifactId: camel-undertow-spring-security
+:description: Spring Security Provider for camel-undertow
 :since: 3.3
+:supportLevel: Stable
 
 *Since Camel {since}*
 
@@ -28,5 +31,3 @@ for example from DelegatingFilterProxyRegistrationBean. | 
Filter
 Each exchange created by Undertow endpoint with spring security contains 
header 'SpringSecurityProvider_principal' (
 name of header is provided as a constant 
`SpringSecurityProvider.PRINCIPAL_NAME_HEADER`) with current authorized identity
 as value  or header is not present in case of rejected requests.
-
-

Reply via email to