diff --git a/component.json b/component.json new file mode 100644 index 0000000..cd8bbab --- /dev/null +++ b/component.json @@ -0,0 +1,517 @@ +{ + "component": { + "kind": "component", + "name": "neo4j", + "title": "Neo4j", + "description": "Perform operations on the Neo4j Graph Database", + "deprecated": false, + "firstVersion": "4.10.0", + "label": "database,ai", + "javaType": "org.apache.camel.component.neo4j.Neo4jComponent", + "supportLevel": "Preview", + "groupId": "org.apache.camel", + "artifactId": "camel-neo4j", + "version": "4.10.2", + "scheme": "neo4j", + "extendsScheme": "", + "syntax": "neo4j:name", + "async": false, + "api": false, + "consumerOnly": false, + "producerOnly": true, + "lenientProperties": false, + "browsable": false, + "remote": true + }, + "headers": { + "CamelNeo4jOperation": { + "index": 0, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "enum": [ + "CREATE_NODE", + "DELETE_NODE", + "RETRIEVE_NODES", + "RETRIEVE_NODES_AND_UPDATE_WITH_CYPHER_QUERY", + "ADD_OR_DELETE_NODE_WITH_CYPHER_QUERY", + "CREATE_VECTOR_INDEX", + "DROP_VECTOR_INDEX", + "CREATE_VECTOR", + "VECTOR_SIMILARITY_SEARCH" + ], + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The operation to be performed.", + "constantName": "org.apache.camel.component.neo4j.Neo4jConstants$Headers#OPERATION" + }, + "CamelNeo4jMatchProperties": { + "index": 1, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "MATCH properties for the generated MATCH query. Needed only if we are matching properties and values. Example: {name: 'Alice'}", + "constantName": "org.apache.camel.component.neo4j.Neo4jConstants$Headers#MATCH_PROPERTIES" + }, + "CamelNeo4jQueryResult": { + "index": 2, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Query Result", + "constantName": "org.apache.camel.component.neo4j.Neo4jConstants$Headers#QUERY_RESULT" + }, + "CamelNeo4jQueryResultNodesCreated": { + "index": 3, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "Long", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Query Number of nodes created", + "constantName": "org.apache.camel.component.neo4j.Neo4jConstants$Headers#QUERY_RESULT_NODES_CREATED" + }, + "CamelNeo4jQueryResultNodesDeleted": { + "index": 4, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "Long", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Query Number of nodes deleted", + "constantName": "org.apache.camel.component.neo4j.Neo4jConstants$Headers#QUERY_RESULT_NODES_DELETED" + }, + "CamelNeo4jQueryResultContainsUpdates": { + "index": 5, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "Boolean", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Query executed contains update", + "constantName": "org.apache.camel.component.neo4j.Neo4jConstants$Headers#QUERY_RESULT_CONTAINS_UPDATES" + }, + "CamelNeo4jQueryResultRelationshipsCreated": { + "index": 6, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "Long", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Query executed number of relationships created", + "constantName": "org.apache.camel.component.neo4j.Neo4jConstants$Headers#QUERY_RESULT_RELATIONSHIPS_CREATED" + }, + "CamelNeo4jQueryResultRelationshipsDeleted": { + "index": 7, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "Long", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Query executed number of relationships deleted", + "constantName": "org.apache.camel.component.neo4j.Neo4jConstants$Headers#QUERY_RESULT_RELATIONSHIPS_DELETED" + }, + "CamelNeo4jQueryResultRetrieveSize": { + "index": 8, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "Long", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Number of nodes retrieved", + "constantName": "org.apache.camel.component.neo4j.Neo4jConstants$Headers#QUERY_RETRIEVE_SIZE" + }, + "CamelNeo4jQueryResultListNeo4jNodes": { + "index": 9, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "Long", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Query execution time in Milliseconds", + "constantName": "org.apache.camel.component.neo4j.Neo4jConstants$Headers#QUERY_RETRIEVE_LIST_NEO4J_NODES" + }, + "CamelNeo4jVectorEmbeddingId": { + "index": 10, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Vector Id for the embedding", + "constantName": "org.apache.camel.component.neo4j.Neo4jConstants$Headers#VECTOR_ID" + }, + "CamelNeo4jLabel": { + "index": 11, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Label for the Node - used when inserting from Embeddings", + "constantName": "org.apache.camel.component.neo4j.Neo4jConstants$Headers#LABEL" + } + }, + "properties": { + "name": { + "index": 0, + "kind": "path", + "displayName": "Name", + "group": "producer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The database name" + }, + "alias": { + "index": 1, + "kind": "parameter", + "displayName": "Alias", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Node alias" + }, + "databaseUrl": { + "index": 2, + "kind": "parameter", + "displayName": "Database Url", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Url for connecting to Neo database" + }, + "detachRelationship": { + "index": 3, + "kind": "parameter", + "displayName": "Detach Relationship", + "group": "producer", + "label": "", + "required": false, + "type": "boolean", + "javaType": "boolean", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": false, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Detach a relationship - set true if want to delete a node and detach its relationships to other nodes at same time" + }, + "dimension": { + "index": 4, + "kind": "parameter", + "displayName": "Dimension", + "group": "producer", + "label": "", + "required": false, + "type": "integer", + "javaType": "java.lang.Integer", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Dimension of Vector Index" + }, + "label": { + "index": 5, + "kind": "parameter", + "displayName": "Label", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Node Label" + }, + "maxResults": { + "index": 6, + "kind": "parameter", + "displayName": "Max Results", + "group": "producer", + "label": "", + "required": false, + "type": "integer", + "javaType": "int", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": 3, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Maximum results for Vector Similarity search" + }, + "minScore": { + "index": 7, + "kind": "parameter", + "displayName": "Min Score", + "group": "producer", + "label": "", + "required": false, + "type": "number", + "javaType": "double", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": 0, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Minimum score for Vector Similarity search" + }, + "query": { + "index": 8, + "kind": "parameter", + "displayName": "Query", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Cypher Query" + }, + "similarityFunction": { + "index": 9, + "kind": "parameter", + "displayName": "Similarity Function", + "group": "producer", + "label": "", + "required": false, + "type": "object", + "javaType": "org.apache.camel.component.neo4j.Neo4jSimilarityFunction", + "enum": [ + "cosine", + "euclidean" + ], + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": "cosine", + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Similarity Function of Vector Index" + }, + "vectorIndexName": { + "index": 10, + "kind": "parameter", + "displayName": "Vector Index Name", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Vector Index Name" + }, + "lazyStartProducer": { + "index": 11, + "kind": "parameter", + "displayName": "Lazy Start Producer", + "group": "producer (advanced)", + "label": "producer,advanced", + "required": false, + "type": "boolean", + "javaType": "boolean", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": false, + "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing." + }, + "driver": { + "index": 12, + "kind": "parameter", + "displayName": "Driver", + "group": "advanced", + "label": "advanced", + "required": false, + "type": "object", + "javaType": "org.neo4j.driver.Driver", + "deprecated": false, + "deprecationNote": "", + "autowired": true, + "secret": false, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Advanced - Driver" + }, + "kerberosAuthTicket": { + "index": 13, + "kind": "parameter", + "displayName": "Encoded base64 ticket", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Kerberos Authentication encoded base64 ticket" + }, + "password": { + "index": 14, + "kind": "parameter", + "displayName": "Database password", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Basic authentication database password" + }, + "realm": { + "index": 15, + "kind": "parameter", + "displayName": "Database realm", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Basic authentication database realm" + }, + "token": { + "index": 16, + "kind": "parameter", + "displayName": "Realm", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Bearer authentication database realm" + }, + "username": { + "index": 17, + "kind": "parameter", + "displayName": "Database user", + "group": "security", + "label": "security", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": true, + "configurationClass": "org.apache.camel.component.neo4j.Neo4jConfiguration", + "configurationField": "configuration", + "description": "Basic authentication database user" + } + } +} \ No newline at end of file