PromucFlow_constructor/app/client/cypress/fixtures/mySQL_GET_Actions.json
Ankita Kinger 9b7944e7ee
feat: migrate organisation to workspace (#13863)
* migration from organization to workspace on code level

* updated a few more files

* fixed runtime errors

* update org settings URL

* Renamed organizationId in domain objects

* changed field named from organization to workspace

* Reverted AppsmithRole changes

* fixed migrations

* recreating indexes

* migration update

* seed data runs before migration, undo changes

* mock commit

* seedmongo to populate upgraded data, datasource upgrade

* fixed two test cases

* updated migrations

* updated prop name

* Upgraded AclPermission

* comment

* migrated AppsmithRole

* more changes

* final set of changes

* variable name changes

* update cypress variable name

* Update app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/ApplicationControllerCE.java

* Update app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/Datasource.java

Co-authored-by: Trisha Anand <trisha@appsmith.com>

* reverting encryption handler change

* migrated a few missed out org to workspace

* migrated a few missed out org to workspace

* migration changes

* Removed Permission import

* fixed AppsmithRole

* mongodb version update

* fixed compile error

* fixed compile issue

* fixed some tests

* simplified embedded mongodb config

* updated a cypress test

Co-authored-by: Sidhant Goel <sidhant@appsmith.com>
Co-authored-by: Trisha Anand <trisha@appsmith.com>
Co-authored-by: Sidhant Goel <sidhant@hexcod.in>
2022-06-15 21:07:41 +05:30

197 lines
4.6 KiB
JSON

{
"responseMeta": {
"status": 200,
"success": true
},
"data": [
{
"id": "616532b5b58fda6558e56bb9",
"workspaceId": "6156b8c6c7e12534da9c5a1d",
"pluginType": "DB",
"pluginId": "6156b849c7e12534da9c5998",
"name": "DeleteQuery",
"datasource": {
"id": "615eda1cfc57aa262aa4b1fc",
"userPermissions": [
],
"pluginId": "6156b849c7e12534da9c5998",
"messages": [
],
"isValid": true,
"new": false
},
"pageId": "616532b5b58fda6558e56bb8",
"actionConfiguration": {
"timeoutInMillisecond": 10000,
"paginationType": "NONE",
"encodeParamsToggle": true,
"body": "DELETE FROM CC\n WHERE rating = {{Table1.triggeredRow.rating}};"
},
"executeOnLoad": false,
"isValid": true,
"invalids": [
],
"jsonPathKeys": [
"Table1.triggeredRow.rating"
],
"confirmBeforeExecute": false,
"userPermissions": [
"read:actions",
"execute:actions",
"manage:actions"
],
"validName": "DeleteQuery"
},
{
"id": "616532b5b58fda6558e56bbc",
"workspaceId": "6156b8c6c7e12534da9c5a1d",
"pluginType": "DB",
"pluginId": "6156b849c7e12534da9c5998",
"name": "UpdateQuery",
"datasource": {
"id": "615eda1cfc57aa262aa4b1fc",
"userPermissions": [
],
"pluginId": "6156b849c7e12534da9c5998",
"messages": [
],
"isValid": true,
"new": false
},
"pageId": "616532b5b58fda6558e56bb8",
"actionConfiguration": {
"timeoutInMillisecond": 10000,
"paginationType": "NONE",
"encodeParamsToggle": true,
"body": "UPDATE CC SET\n\t\tName = '{{update_col_2.text}}',\n ceoname = '{{update_col_3.text}}',\n age = '{{update_col_4.text}}'\nWHERE rating = {{Table1.selectedRow.rating}};",
"pluginSpecifiedTemplates": [
{
"value": false
}
]
},
"executeOnLoad": false,
"isValid": true,
"invalids": [
],
"jsonPathKeys": [
"update_col_3.text",
"Table1.selectedRow.rating",
"update_col_2.text",
"update_col_4.text"
],
"confirmBeforeExecute": false,
"userPermissions": [
"read:actions",
"execute:actions",
"manage:actions"
],
"validName": "UpdateQuery"
},
{
"id": "616532b5b58fda6558e56bbb",
"workspaceId": "6156b8c6c7e12534da9c5a1d",
"pluginType": "DB",
"pluginId": "6156b849c7e12534da9c5998",
"name": "InsertQuery",
"datasource": {
"id": "615eda1cfc57aa262aa4b1fc",
"userPermissions": [
],
"pluginId": "6156b849c7e12534da9c5998",
"messages": [
],
"isValid": true,
"new": false
},
"pageId": "616532b5b58fda6558e56bb8",
"actionConfiguration": {
"timeoutInMillisecond": 10000,
"paginationType": "NONE",
"encodeParamsToggle": true,
"body": "INSERT INTO CC (\n\trating,\n\tName, \n\tceoname,\n\tage)\nVALUES (\n\t\t\t\t{{insert_col_input1.text}}, \n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}});",
"pluginSpecifiedTemplates": [
{
"value": true
}
]
},
"executeOnLoad": false,
"isValid": true,
"invalids": [
],
"jsonPathKeys": [
"insert_col_input1.text",
"insert_col_input4.text",
"insert_col_input3.text",
"insert_col_input2.text"
],
"confirmBeforeExecute": false,
"userPermissions": [
"read:actions",
"execute:actions",
"manage:actions"
],
"validName": "InsertQuery"
},
{
"id": "616532b5b58fda6558e56bba",
"workspaceId": "6156b8c6c7e12534da9c5a1d",
"pluginType": "DB",
"pluginId": "6156b849c7e12534da9c5998",
"name": "SelectQuery",
"datasource": {
"id": "615eda1cfc57aa262aa4b1fc",
"userPermissions": [
],
"pluginId": "6156b849c7e12534da9c5998",
"messages": [
],
"isValid": true,
"new": false
},
"pageId": "616532b5b58fda6558e56bb8",
"actionConfiguration": {
"timeoutInMillisecond": 10000,
"paginationType": "NONE",
"encodeParamsToggle": true,
"body": "SELECT * FROM CC\nWHERE Name like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};",
"pluginSpecifiedTemplates": [
{
"value": false
}
]
},
"executeOnLoad": true,
"isValid": true,
"invalids": [
],
"jsonPathKeys": [
"(Table1.pageNo - 1) * Table1.pageSize",
"Table1.searchText || \"\"",
"col_select.selectedOptionValue",
"Table1.pageSize",
"order_select.selectedOptionValue"
],
"confirmBeforeExecute": false,
"userPermissions": [
"read:actions",
"execute:actions",
"manage:actions"
],
"validName": "SelectQuery"
}
]
}