[
https://issues.apache.org/jira/browse/CAMEL-11038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15947070#comment-15947070
]
Luca Burgazzoli commented on CAMEL-11038:
-----------------------------------------
We could add some new annotations like
{code:java}
@Verifiable(scopes = { "", "" })
{code}
So we can add information about supported scopes on bot class level and field
level, like:
{code}
"authUsername": {
"kind": "parameter",
"displayName": "Auth Username",
"group": "security",
"label": "producer,security",
"type": "string",
"javaType": "java.lang.String",
"deprecated": false,
"secret": true,
"description": "Authentication username",
verifiers="parameters,connectivity" },
{code}
Then the default verifier may ignore errors on parameters not supposed to be
validated (i.e.)
> Ping Check API - Output metadata to component json file
> -------------------------------------------------------
>
> Key: CAMEL-11038
> URL: https://issues.apache.org/jira/browse/CAMEL-11038
> Project: Camel
> Issue Type: Task
> Components: camel-core
> Reporter: Claus Ibsen
> Fix For: 2.19.0
>
>
> We need to add some logic to apt compiler plugin so it can detect its a
> verifiable component (ping check) and add some details in the component json
> file.
> We would need on the component section, something along the lines to denote
> what features it supports
> {code}
> "verifiable": [ "connectivity", "parameters" ]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)