Skip to content

Commit 603ca3a

Browse files
committed
CAMEL-22354: dataformats - Align all data formats getter setters to model
1 parent b044282 commit 603ca3a

39 files changed

Lines changed: 653 additions & 183 deletions

File tree

catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/barcode.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
},
1818
"properties": {
1919
"id": { "index": 0, "kind": "attribute", "displayName": "Id", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" },
20-
"barcodeFormat": { "index": 1, "kind": "attribute", "displayName": "Barcode Format", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Barcode format such as QR-Code" },
21-
"imageType": { "index": 2, "kind": "attribute", "displayName": "Image Type", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Image type of the barcode such as png" },
22-
"width": { "index": 3, "kind": "attribute", "displayName": "Width", "group": "common", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "description": "Width of the barcode" },
23-
"height": { "index": 4, "kind": "attribute", "displayName": "Height", "group": "common", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "description": "Height of the barcode" }
20+
"barcodeFormat": { "index": 1, "kind": "attribute", "displayName": "Barcode Format", "group": "common", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "AZTEC", "CODABAR", "CODE_39", "CODE_93", "CODE_128", "DATA_MATRIX", "EAN_8", "EAN_13", "ITF", "MAXICODE", "PDF_417", "QR_CODE", "RSS_14", "RSS_EXPANDED", "UPC_A", "UPC_E", "UPC_EAN_EXTENSION" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "QR_CODE", "description": "Barcode format such as QR-Code" },
21+
"imageType": { "index": 2, "kind": "attribute", "displayName": "Image Type", "group": "common", "required": false, "type": "enum", "javaType": "java.lang.String", "enum": [ "JPG", "GIF", "PNG" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "PNG", "description": "Image type of the barcode such as png" },
22+
"width": { "index": 3, "kind": "attribute", "displayName": "Width", "group": "common", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "100", "description": "Width of the barcode" },
23+
"height": { "index": 4, "kind": "attribute", "displayName": "Height", "group": "common", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "100", "description": "Height of the barcode" }
2424
}
2525
}

catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/crypto.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
"properties": {
1919
"id": { "index": 0, "kind": "attribute", "displayName": "Id", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" },
2020
"algorithm": { "index": 1, "kind": "attribute", "displayName": "Algorithm", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The JCE algorithm name indicating the cryptographic algorithm that will be used." },
21-
"keyRef": { "index": 2, "kind": "attribute", "displayName": "Key Ref", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to the secret key to lookup from the register to use." },
21+
"key": { "index": 2, "kind": "attribute", "displayName": "Key", "group": "common", "required": false, "type": "object", "javaType": "java.security.Key", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to the secret key to lookup from the register to use." },
2222
"cryptoProvider": { "index": 3, "kind": "attribute", "displayName": "Crypto Provider", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The name of the JCE Security Provider that should be used." },
23-
"initVectorRef": { "index": 4, "kind": "attribute", "displayName": "Init Vector Ref", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to a byte array containing the Initialization Vector that will be used to initialize the Cipher." },
24-
"algorithmParameterRef": { "index": 5, "kind": "attribute", "displayName": "Algorithm Parameter Ref", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "A JCE AlgorithmParameterSpec used to initialize the Cipher. Will lookup the type using the given name as a java.security.spec.AlgorithmParameterSpec type." },
23+
"initVector": { "index": 4, "kind": "attribute", "displayName": "Init Vector", "group": "advanced", "label": "advanced", "required": false, "type": "string", "javaType": "byte[]", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to a byte array containing the Initialization Vector that will be used to initialize the Cipher." },
24+
"algorithmParameterSpec": { "index": 5, "kind": "attribute", "displayName": "Algorithm Parameter Spec", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "java.security.spec.AlgorithmParameterSpec", "deprecated": false, "autowired": false, "secret": false, "description": "A JCE AlgorithmParameterSpec used to initialize the Cipher. Will lookup the type using the given name as a java.security.spec.AlgorithmParameterSpec type." },
2525
"bufferSize": { "index": 6, "kind": "attribute", "displayName": "Buffer Size", "group": "common", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "4096", "description": "The size of the buffer used in the signature process." },
2626
"macAlgorithm": { "index": 7, "kind": "attribute", "displayName": "Mac Algorithm", "group": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "HmacSHA1", "description": "The JCE algorithm name indicating the Message Authentication algorithm." },
2727
"shouldAppendHMAC": { "index": 8, "kind": "attribute", "displayName": "Should Append HMAC", "group": "common", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Flag indicating that a Message Authentication Code should be calculated and appended to the encrypted data." },

0 commit comments

Comments
 (0)