Skip to content

Commit

Permalink
Markdown and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
pdesmarets committed May 16, 2019
1 parent 134583f commit 6ff7277
Show file tree
Hide file tree
Showing 6 changed files with 381 additions and 81 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Cassandra",
"version": "0.1.28",
"versionDate": "2019-04-24",
"version": "0.1.29",
"versionDate": "2019-05-16",
"author": "hackolade",
"engines": {
"hackolade": "2.1.x",
Expand All @@ -24,7 +24,7 @@
"disablePatternField": false,
"enableForwardEngineering": true,
"disableMultipleTypes": true,
"disableReverseEngineering": false,
"enableReverseEngineering": true,
"disableChoices": true,
"enableJsonType": true,
"enableArrayItemName": true
Expand Down
81 changes: 72 additions & 9 deletions properties_pane/container_level/containerLevelConfig.json
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -13,21 +13,19 @@ making sure that you maintain a proper JSON format.
{
"propertyName": "Simple text",
"propertyKeyword": "simpletextProp",
"shouldValidate": false,
"propertyType": "text"
"propertyType": "text",
"sampleGen": "&containerName|&entityName|&random|<value>"
},
{
"propertyName": "Text area",
"propertyKeyword": "textareaProp",
"propertyValidate": false,
"propertyTooltip": "Popup for multi-line text entry",
"propertyType": "details",
"template": "textarea"
},
{
"propertyName": "Dropdown selection",
"propertyKeyword": "dropdownProp",
"shouldValidate": false,
"propertyTooltip": "Select from list of options",
"propertyType": "select",
"options": [
Expand All @@ -42,13 +40,76 @@ making sure that you maintain a proper JSON format.
"propertyKeyword": "numericProp",
"propertyValidate": true,
"propertyType": "numeric",
"valueType": "number"
"valueType": "number",
"allowNegative": false,
"sampleGen": "&containerName|&entityName|&random|<value>"
},
{
"propertyName": "Checkbox",
"propertyKeyword": "checkboxProp",
"shouldValidate": false,
"propertyType": "checkbox"
},
{
"propertyName": "Group",
"propertyType": "group",
"propertyKeyword": "grpProp",
"propertyTooltip": "",
"structure": [
{
"propertyName": "Simple Grp Text",
"propertyKeyword": "simpleGrpText",
"propertyTooltip": "",
"propertyType": "text"
},
{
"propertyName": "Group Number",
"propertyKeyword": "grpNumber",
"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"
]
}

*/
Expand Down Expand Up @@ -177,7 +238,8 @@ making sure that you maintain a proper JSON format.
"shouldValidate": false,
"propertyTooltip": "description",
"propertyType": "details",
"template": "textarea"
"template": "textarea",
"markdown": false
},
{
"propertyName": "Comments",
Expand Down Expand Up @@ -227,7 +289,8 @@ making sure that you maintain a proper JSON format.
"shouldValidate": false,
"propertyTooltip": "description",
"propertyType": "details",
"template": "textarea"
"template": "textarea",
"markdown": false
},
{
"propertyName": "Comments",
Expand Down
56 changes: 32 additions & 24 deletions properties_pane/entity_level/entityLevelConfig.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,31 @@
/*
* 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
* IntegrIT S.A. or in accordance with the terms and conditions stipulated in
* the agreement/contract under which the software has been supplied.


In order to define custom properties for any object's properties pane, you may copy/paste from the following,
making sure that you maintain a proper JSON format.

{
"propertyName": "Simple text",
"propertyKeyword": "simpletextProp",
"shouldValidate": false,
"propertyType": "text",
"sampleGen": "&containerName|&entityName|&random|<value>"
},
{
"propertyName": "Text area",
"propertyKeyword": "textareaProp",
"propertyValidate": false,
"propertyTooltip": "Popup for multi-line text entry",
"propertyType": "details",
"template": "textarea"
},
{
"propertyName": "Dropdown selection",
"propertyKeyword": "dropdownProp",
"shouldValidate": false,
"propertyTooltip": "Select from list of options",
"propertyType": "select",
"options": [
Expand All @@ -49,27 +47,48 @@ making sure that you maintain a proper JSON format.
{
"propertyName": "Checkbox",
"propertyKeyword": "checkboxProp",
"shouldValidate": false,
"propertyType": "checkbox"
},
{
"propertyName": "Properties Group",
"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
Expand All @@ -79,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": [
Expand All @@ -104,20 +121,17 @@ making sure that you maintain a proper JSON format.
{
"propertyName": "Technical name",
"propertyKeyword": "code",
"shouldValidate": true,
"propertyType": "text"
},
{
"propertyName": "Partition key",
"propertyKeyword": "compositePartitionKey",
"shouldValidate": false,
"propertyType": "primaryKeySetter",
"abbr": "PK"
},
{
"propertyName": "Clustering key",
"propertyKeyword": "compositeClusteringKey",
"shouldValidate": false,
"propertyType": "primaryKeySetter",
"abbr": "CK",
"attributeList": [
Expand All @@ -128,16 +142,15 @@ making sure that you maintain a proper JSON format.
{
"propertyName": "Options",
"propertyKeyword": "tableOptions",
"shouldValidate": false,
"propertyTooltip": "Table options separated by 'AND'",
"propertyType": "details",
"template": "textarea",
"valueType": "string"
"valueType": "string",
"markdown": false
},
{
"propertyName": "Comments",
"propertyKeyword": "comments",
"shouldValidate": false,
"propertyTooltip": "comments",
"propertyType": "details",
"template": "textarea",
Expand All @@ -152,20 +165,17 @@ making sure that you maintain a proper JSON format.
"propertyName": "Secondary Index",
"propertyType": "group",
"propertyKeyword": "SecIndxs",
"shouldValidate": false,
"propertyTooltip": "",
"structure": [
{
"propertyName": "Name",
"propertyKeyword": "name",
"shouldValidate": false,
"propertyTooltip": "",
"propertyType": "text"
},
{
"propertyName": "Key",
"propertyKeyword": "SecIndxKey",
"shouldValidate": false,
"propertyType": "fieldList",
"template": "orderedList",
"attributeList": [
Expand All @@ -176,25 +186,23 @@ making sure that you maintain a proper JSON format.
{
"propertyName": "Id",
"propertyKeyword": "SecIndxID",
"shouldValidate": false,
"propertyTooltip": "Secondary Index ID",
"propertyType": "text"
},
{
"propertyName": "Description",
"propertyKeyword": "SecIndxDescription",
"shouldValidate": false,
"propertyTooltip": "description",
"propertyType": "details",
"template": "textarea"
},
{
"propertyName": "Function",
"propertyKeyword": "SecIndxFunction",
"shouldValidate": false,
"propertyTooltip": "description",
"propertyType": "details",
"template": "textarea"
"template": "textarea",
"markdown": false
},
{
"propertyName": "Comments",
Expand Down
Loading

0 comments on commit 6ff7277

Please sign in to comment.