|
6178 | 6178 | "type": "string" |
6179 | 6179 | } |
6180 | 6180 | }, |
6181 | | - "default_branch_name": { |
6182 | | - "description": "Name of the default remote branch", |
| 6181 | + "commit_branch_name": { |
| 6182 | + "description": "Name of the remote branch where objects from this Thoughtspot instance will be versioned. <br/> <span class=\"since-beta-tag\">Version: 9.7.0.cl or later</span>", |
6183 | 6183 | "type": "string" |
6184 | 6184 | }, |
| 6185 | + "default_branch_name": { |
| 6186 | + "description": " Use commit_branch_name instead.\n \n\nName of the remote branch where objects from this Thoughtspot instance will be versioned.\n\n\n \n\n*Deprecated from 10.0.0.cl : Replaced by commit_branch_name* ", |
| 6187 | + "type": "string", |
| 6188 | + "deprecated": true |
| 6189 | + }, |
6185 | 6190 | "enable_guid_mapping": { |
6186 | 6191 | "description": "Maintain mapping of guid for the deployment to an instance <br/> <span class=\"since-beta-tag\">Version: 9.4.0.cl or later</span>", |
6187 | | - "default": false, |
| 6192 | + "default": true, |
6188 | 6193 | "type": "boolean", |
6189 | 6194 | "nullable": true |
6190 | 6195 | }, |
6191 | | - "guid_mapping_branch_name": { |
6192 | | - "description": " Name of the branch where the file containing guid mapping should be maintained. This will be set only when enable_guid_mapping is true.\n \n\nNote: If no guid mapping branch is specified, then the default branch for this configuration will be considered. <br/> <span class=\"since-beta-tag\">Version: 9.4.0.cl or later</span>", |
| 6196 | + "configuration_branch_name": { |
| 6197 | + "description": " Name of the branch where the configuration files related to operations between Thoughtspot and version control repo should be maintained.\n \n\nNote: If no branch name is specified, then by default, ts_config_files branch is considered. Ensure this branch exists before configuration. <br/> <span class=\"since-beta-tag\">Version: 9.7.0.cl or later</span>", |
6193 | 6198 | "type": "string" |
| 6199 | + }, |
| 6200 | + "guid_mapping_branch_name": { |
| 6201 | + "description": " Use configuration_branch_name instead.\n \n\nName of the branch where the configuration files related to operations between Thoughtspot and version control repo should be maintained.\n\n\n \n\nNote: If no branch name is specified, then by default, ts_config_files branch is considered. Ensure this branch exists before configuration. \n\n\n \n\n*Deprecated from 10.0.0.cl : Replaced by configuration_branch_name* <br/> <span class=\"since-beta-tag\">Version: 9.4.0.cl or later</span>", |
| 6202 | + "type": "string", |
| 6203 | + "deprecated": true |
6194 | 6204 | } |
6195 | 6205 | }, |
6196 | 6206 | "required": [ |
|
6291 | 6301 | "type": "string" |
6292 | 6302 | } |
6293 | 6303 | }, |
6294 | | - "default_branch_name": { |
6295 | | - "description": "Name of the default remote branch", |
| 6304 | + "commit_branch_name": { |
| 6305 | + "description": "Name of the remote branch where objects from this Thoughtspot instance will be versioned. <br/> <span class=\"since-beta-tag\">Version: 9.7.0.cl or later</span>", |
6296 | 6306 | "type": "string" |
6297 | 6307 | }, |
| 6308 | + "default_branch_name": { |
| 6309 | + "description": " Use commit_branch_name instead.\n \n\nName of the remote branch where objects from this Thoughtspot instance will be versioned.\n\n\n \n\n*Deprecated from 10.0.0.cl : Replaced by commit_branch_name* ", |
| 6310 | + "type": "string", |
| 6311 | + "deprecated": true |
| 6312 | + }, |
6298 | 6313 | "enable_guid_mapping": { |
6299 | 6314 | "description": "Maintain mapping of guid for the deployment to an instance <br/> <span class=\"since-beta-tag\">Version: 9.4.0.cl or later</span>", |
6300 | 6315 | "type": "boolean", |
6301 | 6316 | "nullable": true |
6302 | 6317 | }, |
6303 | | - "guid_mapping_branch_name": { |
6304 | | - "description": " Name of the branch in which the file containing guid mapping should be maintained. This will be set only if enable_guid_mapping is true.\n \n\nNote: If no guid mapping branch is specified, then the default branch for this configuration will be considered. <br/> <span class=\"since-beta-tag\">Version: 9.4.0.cl or later</span>", |
| 6318 | + "configuration_branch_name": { |
| 6319 | + "description": "Name of the branch where the configuration files related to operations between Thoughtspot and version control repo should be maintained. <br/> <span class=\"since-beta-tag\">Version: 9.7.0.cl or later</span>", |
6305 | 6320 | "type": "string" |
| 6321 | + }, |
| 6322 | + "guid_mapping_branch_name": { |
| 6323 | + "description": " Use configuration_branch_name instead.\n \n\nName of the branch where the configuration files related to operations between Thoughtspot and version control repo should be maintained.\n\n\n \n\n*Deprecated from 10.0.0.cl : Replaced by configuration_branch_name* <br/> <span class=\"since-beta-tag\">Version: 9.4.0.cl or later</span>", |
| 6324 | + "type": "string", |
| 6325 | + "deprecated": true |
6306 | 6326 | } |
6307 | 6327 | } |
6308 | 6328 | } |
|
6457 | 6477 | "$ref": "#/components/schemas/MetadataObject" |
6458 | 6478 | } |
6459 | 6479 | }, |
| 6480 | + "delete_aware": { |
| 6481 | + "description": "Delete the tml files from version control repo if it does not exist in the ThoughSpot instance", |
| 6482 | + "default": true, |
| 6483 | + "type": "boolean", |
| 6484 | + "nullable": true |
| 6485 | + }, |
6460 | 6486 | "branch_name": { |
6461 | | - "description": " Name of the remote branch where object should be pushed\n \n\nNote: If no branch_name is specified, then the default branch will be considered.", |
| 6487 | + "description": " Name of the remote branch where object should be pushed\n \n\nNote: If no branch_name is specified, then the commit_branch_name will be considered.", |
6462 | 6488 | "type": "string" |
6463 | 6489 | }, |
6464 | 6490 | "comment": { |
|
6552 | 6578 | } |
6553 | 6579 | }, |
6554 | 6580 | "branch_name": { |
6555 | | - "description": " Name of the branch where the reverted version should be committed\n \n\nNote: If no branch_name is specified, then the default branch will be considered.", |
| 6581 | + "description": " Name of the branch where the reverted version should be committed\n \n\nNote: If no branch_name is specified, then the commit_branch_name will be considered.", |
6556 | 6582 | "type": "string" |
6557 | 6583 | }, |
6558 | 6584 | "revert_policy": { |
6559 | | - "description": "Policy to be followed while importing. Valid values: [ALL_OR_NONE, PARTIAL]", |
| 6585 | + "description": "Policy to apply when reverting a commit. Valid values: [ALL_OR_NONE, PARTIAL]", |
6560 | 6586 | "default": "ALL_OR_NONE", |
6561 | 6587 | "type": "string", |
6562 | 6588 | "enum": [ |
|
6743 | 6769 | "type": "string" |
6744 | 6770 | }, |
6745 | 6771 | "branch_name": { |
6746 | | - "description": " Name of the remote branch where changes should be picked\n \n\nNote: If no branch_name is specified, then the default branch will be considered.", |
| 6772 | + "description": "Name of the remote branch where changes should be picked", |
6747 | 6773 | "type": "string" |
6748 | 6774 | }, |
6749 | 6775 | "deploy_type": { |
|
6764 | 6790 | "PARTIAL" |
6765 | 6791 | ] |
6766 | 6792 | } |
6767 | | - } |
| 6793 | + }, |
| 6794 | + "required": [ |
| 6795 | + "branch_name" |
| 6796 | + ] |
6768 | 6797 | } |
6769 | 6798 | } |
6770 | | - } |
| 6799 | + }, |
| 6800 | + "required": true |
6771 | 6801 | }, |
6772 | 6802 | "parameters": [], |
6773 | 6803 | "responses": { |
|
10867 | 10897 | "type": "string", |
10868 | 10898 | "description": "Username to authenticate connection to the version control system" |
10869 | 10899 | }, |
10870 | | - "default_branch": { |
| 10900 | + "commit_branch_name": { |
10871 | 10901 | "type": "string", |
10872 | | - "description": "Name of the default remote branch" |
| 10902 | + "description": "Name of the remote branch where objects from this Thoughtspot instance will be versioned." |
10873 | 10903 | }, |
10874 | 10904 | "branches": { |
10875 | 10905 | "type": "array", |
|
10882 | 10912 | "type": "boolean", |
10883 | 10913 | "description": "Maintain mapping of guid for the deployment to an instance" |
10884 | 10914 | }, |
10885 | | - "guid_mapping_branch_name": { |
| 10915 | + "configuration_branch_name": { |
10886 | 10916 | "type": "string", |
10887 | | - "description": "Name of the branch in the file containing guid mapping should be maintained" |
| 10917 | + "description": "Name of the branch where the configuration files related to operations between Thoughtspot and version control repo should be maintained." |
10888 | 10918 | }, |
10889 | 10919 | "org": { |
10890 | 10920 | "$ref": "#/components/schemas/Org", |
|
0 commit comments