diff --git a/logo.jpg b/logo.jpg deleted file mode 100644 index 20af559..0000000 Binary files a/logo.jpg and /dev/null differ diff --git a/logo.png b/logo.png new file mode 100644 index 0000000..cc9c8b0 Binary files /dev/null and b/logo.png differ diff --git a/package.json b/package.json index bb0b163..b86e528 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "Elasticsearch", - "version": "0.1.21", - "versionDate": "2019-05-08", + "version": "0.1.22", + "versionDate": "2019-05-16", "author": "hackolade", "engines": { "hackolade": "1.12.7", diff --git a/properties_pane/container_level/containerLevelConfig.json b/properties_pane/container_level/containerLevelConfig.json index 85d7d69..b0e227a 100644 --- a/properties_pane/container_level/containerLevelConfig.json +++ b/properties_pane/container_level/containerLevelConfig.json @@ -1,5 +1,5 @@ /* -* Copyright © 2016-2017 by IntegrIT S.A. dba Hackolade. All rights reserved. +* Copyright © 2016-2019 by IntegrIT S.A. dba Hackolade. All rights reserved. * * The copyright to the computer software herein is the property of IntegrIT S.A. * The software may be used and/or copied only with the written permission of @@ -13,14 +13,12 @@ making sure that you maintain a proper JSON format. { "propertyName": "Simple text", "propertyKeyword": "simpletextProp", - "shouldValidate": false, "propertyType": "text", "sampleGen": "&containerName|&entityName|&random|" }, { "propertyName": "Text area", "propertyKeyword": "textareaProp", - "propertyValidate": false, "propertyTooltip": "Popup for multi-line text entry", "propertyType": "details", "template": "textarea" @@ -28,7 +26,6 @@ making sure that you maintain a proper JSON format. { "propertyName": "Dropdown selection", "propertyKeyword": "dropdownProp", - "shouldValidate": false, "propertyTooltip": "Select from list of options", "propertyType": "select", "options": [ @@ -50,32 +47,69 @@ making sure that you maintain a proper JSON format. { "propertyName": "Checkbox", "propertyKeyword": "checkboxProp", - "shouldValidate": false, "propertyType": "checkbox" }, { "propertyName": "Group", "propertyType": "group", "propertyKeyword": "grpProp", - "shouldValidate": true, "propertyTooltip": "", "structure": [ { "propertyName": "Simple Grp Text", "propertyKeyword": "simpleGrpText", - "shouldValidate": false, "propertyTooltip": "", "propertyType": "text" }, { "propertyName": "Group Number", "propertyKeyword": "grpNumber", - "propertyValidate": true, "propertyType": "numeric", "valueType": "number", "allowNegative": false } ] + }, +// “groupInput” can have the following states - 0 items, 1 item, and many items. +// “blockInput” has only 2 states - 0 items or 1 item. +// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing +// and forward-engineering in particular. + { + "propertyName": "Block", + "propertyType": "block", + "propertyKeyword": "grpProp", + "propertyTooltip": "", + "structure": [ + { + "propertyName": "Simple Grp Text", + "propertyKeyword": "simpleGrpText", + "propertyTooltip": "", + "propertyType": "text" + }, + { + "propertyName": "Group Number", + "propertyKeyword": "grpNumber", + "propertyType": "numeric", + "valueType": "number", + "allowNegative": false + } + ] + }, + { + "propertyName": "Field List", + "propertyKeyword": "keyList", + "propertyType": "fieldList", + "template": "orderedList" + }, + { + "propertyName": "List with attribute", + "propertyKeyword": "keyListOrder", + "propertyType": "fieldList", + "template": "orderedList", + "attributeList": [ + "ascending", + "descending" + ] } */ diff --git a/properties_pane/entity_level/entityLevelConfig.json b/properties_pane/entity_level/entityLevelConfig.json index b893f73..237e9a7 100644 --- a/properties_pane/entity_level/entityLevelConfig.json +++ b/properties_pane/entity_level/entityLevelConfig.json @@ -1,5 +1,5 @@ /* -* Copyright © 2016-2017 by IntegrIT S.A. dba Hackolade. All rights reserved. +* Copyright © 2016-2019 by IntegrIT S.A. dba Hackolade. All rights reserved. * * The copyright to the computer software herein is the property of IntegrIT S.A. * The software may be used and/or copied only with the written permission of @@ -13,14 +13,12 @@ making sure that you maintain a proper JSON format. { "propertyName": "Simple text", "propertyKeyword": "simpletextProp", - "shouldValidate": false, "propertyType": "text", "sampleGen": "&containerName|&entityName|&random|" }, { "propertyName": "Text area", "propertyKeyword": "textareaProp", - "propertyValidate": false, "propertyTooltip": "Popup for multi-line text entry", "propertyType": "details", "template": "textarea" @@ -28,7 +26,6 @@ making sure that you maintain a proper JSON format. { "propertyName": "Dropdown selection", "propertyKeyword": "dropdownProp", - "shouldValidate": false, "propertyTooltip": "Select from list of options", "propertyType": "select", "options": [ @@ -50,32 +47,69 @@ making sure that you maintain a proper JSON format. { "propertyName": "Checkbox", "propertyKeyword": "checkboxProp", - "shouldValidate": false, "propertyType": "checkbox" }, { "propertyName": "Group", "propertyType": "group", "propertyKeyword": "grpProp", - "shouldValidate": true, "propertyTooltip": "", "structure": [ { "propertyName": "Simple Grp Text", "propertyKeyword": "simpleGrpText", - "shouldValidate": false, "propertyTooltip": "", "propertyType": "text" }, { "propertyName": "Group Number", "propertyKeyword": "grpNumber", - "propertyValidate": true, "propertyType": "numeric", "valueType": "number", "allowNegative": false } ] + }, +// “groupInput” can have the following states - 0 items, 1 item, and many items. +// “blockInput” has only 2 states - 0 items or 1 item. +// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing +// and forward-engineering in particular. + { + "propertyName": "Block", + "propertyType": "block", + "propertyKeyword": "grpProp", + "propertyTooltip": "", + "structure": [ + { + "propertyName": "Simple Grp Text", + "propertyKeyword": "simpleGrpText", + "propertyTooltip": "", + "propertyType": "text" + }, + { + "propertyName": "Group Number", + "propertyKeyword": "grpNumber", + "propertyType": "numeric", + "valueType": "number", + "allowNegative": false + } + ] + }, + { + "propertyName": "Field List", + "propertyKeyword": "keyList", + "propertyType": "fieldList", + "template": "orderedList" + }, + { + "propertyName": "List with attribute", + "propertyKeyword": "keyListOrder", + "propertyType": "fieldList", + "template": "orderedList", + "attributeList": [ + "ascending", + "descending" + ] } */ diff --git a/properties_pane/field_level/fieldLevelConfig.json b/properties_pane/field_level/fieldLevelConfig.json index 3f2753e..62fe688 100644 --- a/properties_pane/field_level/fieldLevelConfig.json +++ b/properties_pane/field_level/fieldLevelConfig.json @@ -1,5 +1,5 @@ /* -* Copyright © 2016-2017 by IntegrIT S.A. dba Hackolade. All rights reserved. +* Copyright © 2016-2019 by IntegrIT S.A. dba Hackolade. All rights reserved. * * The copyright to the computer software herein is the property of IntegrIT S.A. * The software may be used and/or copied only with the written permission of @@ -13,14 +13,12 @@ making sure that you maintain a proper JSON format. { "propertyName": "Simple text", "propertyKeyword": "simpletextProp", - "shouldValidate": false, "propertyType": "text", "sampleGen": "&containerName|&entityName|&random|" }, { "propertyName": "Text area", "propertyKeyword": "textareaProp", - "propertyValidate": false, "propertyTooltip": "Popup for multi-line text entry", "propertyType": "details", "template": "textarea" @@ -28,7 +26,6 @@ making sure that you maintain a proper JSON format. { "propertyName": "Dropdown selection", "propertyKeyword": "dropdownProp", - "shouldValidate": false, "propertyTooltip": "Select from list of options", "propertyType": "select", "options": [ @@ -50,27 +47,48 @@ making sure that you maintain a proper JSON format. { "propertyName": "Checkbox", "propertyKeyword": "checkboxProp", - "shouldValidate": false, "propertyType": "checkbox" }, { "propertyName": "Group", "propertyType": "group", "propertyKeyword": "grpProp", - "shouldValidate": true, "propertyTooltip": "", "structure": [ { "propertyName": "Simple Grp Text", "propertyKeyword": "simpleGrpText", - "shouldValidate": false, "propertyTooltip": "", "propertyType": "text" }, { "propertyName": "Group Number", "propertyKeyword": "grpNumber", - "propertyValidate": true, + "propertyType": "numeric", + "valueType": "number", + "allowNegative": false + } + ] + }, +// “groupInput” can have the following states - 0 items, 1 item, and many items. +// “blockInput” has only 2 states - 0 items or 1 item. +// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing +// and forward-engineering in particular. + { + "propertyName": "Block", + "propertyType": "block", + "propertyKeyword": "grpProp", + "propertyTooltip": "", + "structure": [ + { + "propertyName": "Simple Grp Text", + "propertyKeyword": "simpleGrpText", + "propertyTooltip": "", + "propertyType": "text" + }, + { + "propertyName": "Group Number", + "propertyKeyword": "grpNumber", "propertyType": "numeric", "valueType": "number", "allowNegative": false @@ -80,14 +98,12 @@ making sure that you maintain a proper JSON format. { "propertyName": "Field List", "propertyKeyword": "keyList", - "shouldValidate": false, "propertyType": "fieldList", "template": "orderedList" }, { "propertyName": "List with attribute", "propertyKeyword": "keyListOrder", - "shouldValidate": false, "propertyType": "fieldList", "template": "orderedList", "attributeList": [ @@ -97,17 +113,18 @@ making sure that you maintain a proper JSON format. } */ + { "lowerTab": "JsonDetails", "structure": { "string": [ "name", "schemaId", + "description", "type", { "propertyName": "Sub-type", "propertyKeyword": "mode", - "shouldValidate": false, "propertyType": "select", "options": [ "text", @@ -116,7 +133,6 @@ making sure that you maintain a proper JSON format. "data": "options", "valueType": "string" }, - "description", "dependencies", "required", "primaryKey", @@ -126,7 +142,6 @@ making sure that you maintain a proper JSON format. { "propertyName": "analyzer", "propertyKeyword": "analyzer", - "shouldValidate": false, "propertyTooltip": "Select from list of built-in analyzers", "propertyType": "select", "options": [ @@ -155,7 +170,6 @@ making sure that you maintain a proper JSON format. { "propertyName": "copy_to", "propertyKeyword": "copy_to", - "shouldValidate": false, "propertyType": "fieldList", "template": "orderedList", "isTargetProperty": true @@ -163,7 +177,6 @@ making sure that you maintain a proper JSON format. { "propertyName": "doc_values", "propertyKeyword": "doc_values", - "shouldValidate": false, "propertyType": "checkbox", "dependency": { "key": "mode", @@ -174,24 +187,22 @@ making sure that you maintain a proper JSON format. { "propertyName": "eager_global_ordinals", "propertyKeyword": "eager_global_ordinals", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "fielddata", "propertyKeyword": "fielddata", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "fielddata_frequency_filter", "propertyKeyword": "fielddata_frequency_filter", - "propertyValidate": false, "propertyTooltip": "Popup for fields entry", "propertyType": "details", "template": "textarea", + "markdown": false, "dependency": { "key": "fielddata", "value": true @@ -205,6 +216,7 @@ making sure that you maintain a proper JSON format. "propertyTooltip": "Popup for fields entry", "propertyType": "details", "template": "textarea", + "markdown": false, "isTargetProperty": true }, { @@ -223,7 +235,6 @@ making sure that you maintain a proper JSON format. /* { "propertyName": "include_in_all", "propertyKeyword": "include_in_all", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, @@ -231,14 +242,12 @@ making sure that you maintain a proper JSON format. { "propertyName": "index", "propertyKeyword": "index", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "index_options", "propertyKeyword": "index_options", - "shouldValidate": false, "propertyTooltip": "Select from list of parameter controls for information is added to the inverted index, for search and highlighting purposes", "propertyType": "select", "options": [ @@ -256,7 +265,6 @@ making sure that you maintain a proper JSON format. { "propertyName": "index_options", "propertyKeyword": "index_options", - "shouldValidate": false, "propertyTooltip": "Select from list of parameter controls for information is added to the inverted index, for search and highlighting purposes", "propertyType": "select", "options": [ @@ -272,30 +280,27 @@ making sure that you maintain a proper JSON format. { "propertyName": "index_prefixes", "propertyKeyword": "index_prefixes", - "propertyValidate": false, "propertyTooltip": "Popup for index_prefixes parameters", "propertyType": "details", "template": "textarea", + "markdown": false, "isTargetProperty": true }, { "propertyName": "index_phrases", "propertyKeyword": "index_phrases", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "norms", "propertyKeyword": "norms", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "null_value", "propertyKeyword": "null_value", - "propertyValidate": false, "propertyType": "text", "dependency": { "key": "mode", @@ -306,14 +311,12 @@ making sure that you maintain a proper JSON format. { "propertyName": "store", "propertyKeyword": "store", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "similarity", "propertyKeyword": "similarity", - "shouldValidate": false, "propertyTooltip": "Select from list of scoring algorithm or similarity per field", "propertyType": "select", "options": [ @@ -327,14 +330,12 @@ making sure that you maintain a proper JSON format. { "propertyName": "term_vector", "propertyKeyword": "term_vector", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "normalizer", "propertyKeyword": "normalizer", - "propertyValidate": false, "propertyType": "text", "dependency": { "key": "mode", @@ -353,11 +354,11 @@ making sure that you maintain a proper JSON format. "number": [ "name", "schemaId", + "description", "type", { "propertyName": "Sub-type", "propertyKeyword": "mode", - "shouldValidate": false, "propertyType": "select", "options": [ "long", @@ -372,7 +373,6 @@ making sure that you maintain a proper JSON format. "data": "options", "valueType": "string" }, - "description", "dependencies", "required", "primaryKey", @@ -384,14 +384,12 @@ making sure that you maintain a proper JSON format. { "propertyName": "coerce", "propertyKeyword": "coerce", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "boost", "propertyKeyword": "boost", - "propertyValidate": false, "propertyType": "numeric", "valueType": "number", "allowNegative": false, @@ -400,49 +398,42 @@ making sure that you maintain a proper JSON format. { "propertyName": "doc_values", "propertyKeyword": "doc_values", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "ignore_malformed", "propertyKeyword": "ignore_malformed", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, /* { "propertyName": "include_in_all", "propertyKeyword": "include_in_all", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, */ { "propertyName": "index", "propertyKeyword": "index", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "null_value", "propertyKeyword": "null_value", - "propertyValidate": false, "propertyType": "text", "isTargetProperty": true }, { "propertyName": "store", "propertyKeyword": "store", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "scaling_factor", "propertyKeyword": "scaling_factor", - "propertyValidate": false, "propertyType": "numeric", "valueType": "number", "allowNegative": false, @@ -466,15 +457,14 @@ making sure that you maintain a proper JSON format. "date": [ "name", "schemaId", - "type", "description", + "type", "dependencies", "required", "default", { "propertyName": "boost", "propertyKeyword": "boost", - "propertyValidate": false, "propertyType": "numeric", "valueType": "number", "allowNegative": false, @@ -483,56 +473,48 @@ making sure that you maintain a proper JSON format. { "propertyName": "doc_values", "propertyKeyword": "doc_values", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "format", "propertyKeyword": "format", - "shouldValidate": false, "propertyType": "text", "isTargetProperty": true }, { "propertyName": "locale", "propertyKeyword": "locale", - "shouldValidate": false, "propertyType": "text", "isTargetProperty": true }, { "propertyName": "ignore_malformed", "propertyKeyword": "ignore_malformed", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, /* { "propertyName": "include_in_all", "propertyKeyword": "include_in_all", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, */ { "propertyName": "index", "propertyKeyword": "index", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "null_value", "propertyKeyword": "null_value", - "propertyValidate": false, "propertyType": "text", "isTargetProperty": true }, { "propertyName": "store", "propertyKeyword": "store", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, @@ -542,15 +524,14 @@ making sure that you maintain a proper JSON format. "boolean": [ "name", "schemaId", - "type", "description", + "type", "dependencies", "required", "default", { "propertyName": "boost", "propertyKeyword": "boost", - "propertyValidate": false, "propertyType": "numeric", "valueType": "number", "allowNegative": false, @@ -559,28 +540,24 @@ making sure that you maintain a proper JSON format. { "propertyName": "doc_values", "propertyKeyword": "doc_values", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "index", "propertyKeyword": "index", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "null_value", "propertyKeyword": "null_value", - "propertyValidate": false, "propertyType": "text", "isTargetProperty": true }, { "propertyName": "store", "propertyKeyword": "store", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, @@ -597,14 +574,12 @@ making sure that you maintain a proper JSON format. { "propertyName": "doc_values", "propertyKeyword": "doc_values", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "store", "propertyKeyword": "store", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, @@ -613,11 +588,11 @@ making sure that you maintain a proper JSON format. "range": [ "name", "schemaId", + "description", "type", { "propertyName": "Sub-type", "propertyKeyword": "mode", - "shouldValidate": false, "propertyType": "select", "options": [ "integer_range", @@ -628,20 +603,17 @@ making sure that you maintain a proper JSON format. "ip_range" ] }, - "description", "dependencies", "required", { "propertyName": "coerce", "propertyKeyword": "coerce", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "boost", "propertyKeyword": "boost", - "propertyValidate": false, "propertyType": "text", "valueType": "number", "allowNegative": false, @@ -650,21 +622,18 @@ making sure that you maintain a proper JSON format. /* { "propertyName": "include_in_all", "propertyKeyword": "include_in_all", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, */ { "propertyName": "index", "propertyKeyword": "index", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "store", "propertyKeyword": "store", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, @@ -677,28 +646,25 @@ making sure that you maintain a proper JSON format. "geo-point": [ "name", "schemaId", + "description", "type", "subtype", - "description", "required", { "propertyName": "ignore_malformed", "propertyKeyword": "ignore_malformed", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "ignore_z_value", "propertyKeyword": "ignore_z_value", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "null_value", "propertyKeyword": "null_value", - "propertyValidate": false, "propertyType": "text", "isTargetProperty": true }, @@ -707,14 +673,13 @@ making sure that you maintain a proper JSON format. "geo-shape": [ "name", "schemaId", + "description", "type", "subtype", - "description", "required", { "propertyName": "tree", "propertyKeyword": "tree", - "shouldValidate": false, "propertyTooltip": "Select the name of the PrefixTree implementation to be used", "propertyType": "select", "options": [ @@ -726,21 +691,18 @@ making sure that you maintain a proper JSON format. { "propertyName": "precision", "propertyKeyword": "precision", - "propertyValidate": false, "propertyType": "text", "isTargetProperty": true }, { "propertyName": "tree_levels", "propertyKeyword": "tree_levels", - "propertyValidate": false, "propertyType": "text", "isTargetProperty": true }, { "propertyName": "strategy", "propertyKeyword": "strategy", - "shouldValidate": false, "propertyTooltip": "Select the name of the PrefixTree implementation to be used", "propertyType": "select", "options": [ @@ -756,14 +718,12 @@ making sure that you maintain a proper JSON format. { "propertyName": "distance_error_pct", "propertyKeyword": "distance_error_pct", - "propertyValidate": false, "propertyType": "text", "isTargetProperty": true }, { "propertyName": "orientation", "propertyKeyword": "orientation", - "shouldValidate": false, "propertyTooltip": "Select a coordinate system rules", "propertyType": "select", "options": [ @@ -779,21 +739,18 @@ making sure that you maintain a proper JSON format. { "propertyName": "points_only", "propertyKeyword": "points_only", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "ignore_malformed", "propertyKeyword": "ignore_malformed", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "ignore_z_value", "propertyKeyword": "ignore_z_value", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, @@ -804,8 +761,8 @@ making sure that you maintain a proper JSON format. "name", "schemaId", "refPath", - "type", "description", + "type", "dependencies", "required", "minItems", @@ -818,14 +775,13 @@ making sure that you maintain a proper JSON format. "name", "schemaId", "refPath", - "type", "description", + "type", "dependencies", "required", { "propertyName": "dynamic", "propertyKeyword": "dynamic", - "shouldValidate": false, "propertyTooltip": "dynamic setting value", "propertyType": "select", "isTargetProperty": true, @@ -846,8 +802,8 @@ making sure that you maintain a proper JSON format. "sampleName", "schemaId", "refPath", - "type", "description", + "type", "dependencies", "comments" ], @@ -856,14 +812,13 @@ making sure that you maintain a proper JSON format. "sampleName", "schemaId", "refPath", - "type", "description", + "type", "dependencies", "required", { "propertyName": "dynamic", "propertyKeyword": "dynamic", - "shouldValidate": false, "propertyTooltip": "dynamic setting value", "propertyType": "select", "isTargetProperty": true, @@ -876,7 +831,6 @@ making sure that you maintain a proper JSON format. { "propertyName": "enabled", "propertyKeyword": "enabled", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, @@ -889,14 +843,13 @@ making sure that you maintain a proper JSON format. "ip": [ "name", "schemaId", - "type", "description", + "type", "dependencies", "required", { "propertyName": "boost", "propertyKeyword": "boost", - "propertyValidate": false, "propertyType": "numeric", "valueType": "number", "allowNegative": false, @@ -905,28 +858,24 @@ making sure that you maintain a proper JSON format. { "propertyName": "doc_values", "propertyKeyword": "doc_values", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "index", "propertyKeyword": "index", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "null_value", "propertyKeyword": "null_value", - "propertyValidate": false, "propertyType": "text", "isTargetProperty": true }, { "propertyName": "store", "propertyKeyword": "store", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, @@ -939,14 +888,13 @@ making sure that you maintain a proper JSON format. "completion": [ "name", "schemaId", + "description", "type", "subtype", - "description", "required", { "propertyName": "analyzer", "propertyKeyword": "analyzer", - "shouldValidate": false, "propertyTooltip": "Select from list of built-in analyzers", "propertyType": "select", "options": [ @@ -966,28 +914,24 @@ making sure that you maintain a proper JSON format. { "propertyName": "search_analyzer", "propertyKeyword": "search_analyzer", - "propertyValidate": false, "propertyType": "text", "isTargetProperty": true }, { "propertyName": "preserve_separators", "propertyKeyword": "preserve_separators", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "preserve_position_increments", "propertyKeyword": "preserve_position_increments", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "max_input_length", "propertyKeyword": "max_input_length", - "propertyValidate": true, "propertyType": "numeric", "valueType": "integer", "allowNegative": false @@ -997,14 +941,13 @@ making sure that you maintain a proper JSON format. "token_count": [ "name", "schemaId", - "type", "description", + "type", "dependencies", "required", { "propertyName": "analyzer", "propertyKeyword": "analyzer", - "shouldValidate": false, "propertyTooltip": "Select from list of built-in analyzers", "propertyType": "select", "options": [ @@ -1024,14 +967,12 @@ making sure that you maintain a proper JSON format. { "propertyName": "enable_position_increments", "propertyKeyword": "enable_position_increments", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "boost", "propertyKeyword": "boost", - "propertyValidate": false, "propertyType": "numeric", "valueType": "number", "allowNegative": false, @@ -1040,28 +981,24 @@ making sure that you maintain a proper JSON format. { "propertyName": "doc_values", "propertyKeyword": "doc_values", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "index", "propertyKeyword": "index", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, { "propertyName": "null_value", "propertyKeyword": "null_value", - "propertyValidate": false, "propertyType": "text", "isTargetProperty": true }, { "propertyName": "store", "propertyKeyword": "store", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, @@ -1077,8 +1014,8 @@ making sure that you maintain a proper JSON format. "join": [ "name", "schemaId", - "type", "description", + "type", "dependencies", "required", { @@ -1090,13 +1027,11 @@ making sure that you maintain a proper JSON format. { "propertyName": "parent", "propertyKeyword": "parent", - "shouldValidate": false, "propertyType": "text" }, { "propertyName": "children", "propertyKeyword": "children", - "shouldValidate": false, "propertyType": "group", "structure": [{ "propertyName": "name", @@ -1110,7 +1045,6 @@ making sure that you maintain a proper JSON format. { "propertyName": "eager_global_ordinals", "propertyKeyword": "eager_global_ordinals", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, @@ -1119,14 +1053,13 @@ making sure that you maintain a proper JSON format. "alias": [ "name", "schemaId", - "type", "description", + "type", "dependencies", "required", { "propertyName": "path", "propertyKeyword": "path", - "shouldValidate": false, "propertyType": "fieldList", "template": "orderedList", "isTargetProperty": true @@ -1136,8 +1069,8 @@ making sure that you maintain a proper JSON format. "rank_feature": [ "name", "schemaId", - "type", "description", + "type", "dependencies", "required", "primaryKey", @@ -1148,7 +1081,6 @@ making sure that you maintain a proper JSON format. { "propertyName": "positive_score_impact", "propertyKeyword": "positive_score_impact", - "shouldValidate": false, "propertyType": "checkbox", "isTargetProperty": true }, @@ -1168,8 +1100,8 @@ making sure that you maintain a proper JSON format. "sampleName", "schemaId", "refPath", - "type", "description", + "type", "dependencies", "required", "minProperties", diff --git a/properties_pane/model_level/modelLevelConfig.json b/properties_pane/model_level/modelLevelConfig.json index 0a19bab..d426da9 100644 --- a/properties_pane/model_level/modelLevelConfig.json +++ b/properties_pane/model_level/modelLevelConfig.json @@ -1,5 +1,5 @@ /* -* Copyright © 2016-2017 by IntegrIT S.A. dba Hackolade. All rights reserved. +* Copyright © 2016-2019 by IntegrIT S.A. dba Hackolade. All rights reserved. * * The copyright to the computer software herein is the property of IntegrIT S.A. * The software may be used and/or copied only with the written permission of @@ -13,14 +13,12 @@ making sure that you maintain a proper JSON format. { "propertyName": "Simple text", "propertyKeyword": "simpletextProp", - "shouldValidate": false, "propertyType": "text", "sampleGen": "&containerName|&entityName|&random|" }, { "propertyName": "Text area", "propertyKeyword": "textareaProp", - "propertyValidate": false, "propertyTooltip": "Popup for multi-line text entry", "propertyType": "details", "template": "textarea" @@ -28,7 +26,6 @@ making sure that you maintain a proper JSON format. { "propertyName": "Dropdown selection", "propertyKeyword": "dropdownProp", - "shouldValidate": false, "propertyTooltip": "Select from list of options", "propertyType": "select", "options": [ @@ -50,32 +47,69 @@ making sure that you maintain a proper JSON format. { "propertyName": "Checkbox", "propertyKeyword": "checkboxProp", - "shouldValidate": false, "propertyType": "checkbox" }, { "propertyName": "Group", "propertyType": "group", "propertyKeyword": "grpProp", - "shouldValidate": true, "propertyTooltip": "", "structure": [ { "propertyName": "Simple Grp Text", "propertyKeyword": "simpleGrpText", - "shouldValidate": false, "propertyTooltip": "", "propertyType": "text" }, { "propertyName": "Group Number", "propertyKeyword": "grpNumber", - "propertyValidate": true, "propertyType": "numeric", "valueType": "number", "allowNegative": false } ] + }, +// “groupInput” can have the following states - 0 items, 1 item, and many items. +// “blockInput” has only 2 states - 0 items or 1 item. +// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing +// and forward-engineering in particular. + { + "propertyName": "Block", + "propertyType": "block", + "propertyKeyword": "grpProp", + "propertyTooltip": "", + "structure": [ + { + "propertyName": "Simple Grp Text", + "propertyKeyword": "simpleGrpText", + "propertyTooltip": "", + "propertyType": "text" + }, + { + "propertyName": "Group Number", + "propertyKeyword": "grpNumber", + "propertyType": "numeric", + "valueType": "number", + "allowNegative": false + } + ] + }, + { + "propertyName": "Field List", + "propertyKeyword": "keyList", + "propertyType": "fieldList", + "template": "orderedList" + }, + { + "propertyName": "List with attribute", + "propertyKeyword": "keyListOrder", + "propertyType": "fieldList", + "template": "orderedList", + "attributeList": [ + "ascending", + "descending" + ] } */ diff --git a/properties_pane/view_level/viewLevelConfig.json b/properties_pane/view_level/viewLevelConfig.json index 37ad202..f35cb1a 100644 --- a/properties_pane/view_level/viewLevelConfig.json +++ b/properties_pane/view_level/viewLevelConfig.json @@ -1,5 +1,5 @@ /* -* Copyright © 2016-2017 by IntegrIT S.A. dba Hackolade. All rights reserved. +* Copyright © 2016-2019 by IntegrIT S.A. dba Hackolade. All rights reserved. * * The copyright to the computer software herein is the property of IntegrIT S.A. * The software may be used and/or copied only with the written permission of @@ -13,14 +13,12 @@ making sure that you maintain a proper JSON format. { "propertyName": "Simple text", "propertyKeyword": "simpletextProp", - "shouldValidate": false, "propertyType": "text", "sampleGen": "&containerName|&entityName|&random|" }, { "propertyName": "Text area", "propertyKeyword": "textareaProp", - "propertyValidate": false, "propertyTooltip": "Popup for multi-line text entry", "propertyType": "details", "template": "textarea" @@ -28,7 +26,6 @@ making sure that you maintain a proper JSON format. { "propertyName": "Dropdown selection", "propertyKeyword": "dropdownProp", - "shouldValidate": false, "propertyTooltip": "Select from list of options", "propertyType": "select", "options": [ @@ -50,32 +47,69 @@ making sure that you maintain a proper JSON format. { "propertyName": "Checkbox", "propertyKeyword": "checkboxProp", - "shouldValidate": false, "propertyType": "checkbox" }, { "propertyName": "Group", "propertyType": "group", "propertyKeyword": "grpProp", - "shouldValidate": true, "propertyTooltip": "", "structure": [ { "propertyName": "Simple Grp Text", "propertyKeyword": "simpleGrpText", - "shouldValidate": false, "propertyTooltip": "", "propertyType": "text" }, { "propertyName": "Group Number", "propertyKeyword": "grpNumber", - "propertyValidate": true, "propertyType": "numeric", "valueType": "number", "allowNegative": false } ] + }, +// “groupInput” can have the following states - 0 items, 1 item, and many items. +// “blockInput” has only 2 states - 0 items or 1 item. +// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing +// and forward-engineering in particular. + { + "propertyName": "Block", + "propertyType": "block", + "propertyKeyword": "grpProp", + "propertyTooltip": "", + "structure": [ + { + "propertyName": "Simple Grp Text", + "propertyKeyword": "simpleGrpText", + "propertyTooltip": "", + "propertyType": "text" + }, + { + "propertyName": "Group Number", + "propertyKeyword": "grpNumber", + "propertyType": "numeric", + "valueType": "number", + "allowNegative": false + } + ] + }, + { + "propertyName": "Field List", + "propertyKeyword": "keyList", + "propertyType": "fieldList", + "template": "orderedList" + }, + { + "propertyName": "List with attribute", + "propertyKeyword": "keyListOrder", + "propertyType": "fieldList", + "template": "orderedList", + "attributeList": [ + "ascending", + "descending" + ] } */