Skip to content

Commit dbb663a

Browse files
Merge pull request #1079 from chrisbonilla95/cbon-lx-1187-first-step-sega
feat: Org IdP management updates
2 parents 0a75ab8 + 592b5dd commit dbb663a

File tree

74 files changed

+3643
-257
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+3643
-257
lines changed

gooddata-api-client/.openapi-generator/FILES

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ docs/AttributeResultHeader.md
6565
docs/AttributesApi.md
6666
docs/AutomationAlert.md
6767
docs/AutomationAlertCondition.md
68+
docs/AutomationDashboardTabularExport.md
6869
docs/AutomationExternalRecipient.md
6970
docs/AutomationImageExport.md
7071
docs/AutomationMetadata.md
@@ -121,6 +122,7 @@ docs/DashboardPermissions.md
121122
docs/DashboardPermissionsAssignment.md
122123
docs/DashboardSlidesTemplate.md
123124
docs/DashboardTabularExportRequest.md
125+
docs/DashboardTabularExportRequestV2.md
124126
docs/DashboardsApi.md
125127
docs/DataColumnLocator.md
126128
docs/DataColumnLocators.md
@@ -370,6 +372,7 @@ docs/JsonApiAttributeToOneLinkage.md
370372
docs/JsonApiAutomationIn.md
371373
docs/JsonApiAutomationInAttributes.md
372374
docs/JsonApiAutomationInAttributesAlert.md
375+
docs/JsonApiAutomationInAttributesDashboardTabularExportsInner.md
373376
docs/JsonApiAutomationInAttributesExternalRecipientsInner.md
374377
docs/JsonApiAutomationInAttributesImageExportsInner.md
375378
docs/JsonApiAutomationInAttributesMetadata.md
@@ -571,7 +574,6 @@ docs/JsonApiIdentityProviderOutDocument.md
571574
docs/JsonApiIdentityProviderOutList.md
572575
docs/JsonApiIdentityProviderOutWithLinks.md
573576
docs/JsonApiIdentityProviderPatch.md
574-
docs/JsonApiIdentityProviderPatchAttributes.md
575577
docs/JsonApiIdentityProviderPatchDocument.md
576578
docs/JsonApiIdentityProviderToOneLinkage.md
577579
docs/JsonApiJwkIn.md
@@ -842,6 +844,7 @@ docs/NotificationsMetaTotal.md
842844
docs/ObjectLinks.md
843845
docs/ObjectLinksContainer.md
844846
docs/OptionsApi.md
847+
docs/OrganizationApi.md
845848
docs/OrganizationControllerApi.md
846849
docs/OrganizationDeclarativeAPIsApi.md
847850
docs/OrganizationEntityAPIsApi.md
@@ -933,6 +936,7 @@ docs/SqlColumn.md
933936
docs/SqlQuery.md
934937
docs/SqlQueryAllOf.md
935938
docs/Suggestion.md
939+
docs/SwitchIdentityProviderRequest.md
936940
docs/Table.md
937941
docs/TableAllOf.md
938942
docs/TableOverride.md
@@ -1045,6 +1049,7 @@ gooddata_api_client/api/metadata_sync_api.py
10451049
gooddata_api_client/api/metrics_api.py
10461050
gooddata_api_client/api/notification_channels_api.py
10471051
gooddata_api_client/api/options_api.py
1052+
gooddata_api_client/api/organization_api.py
10481053
gooddata_api_client/api/organization_controller_api.py
10491054
gooddata_api_client/api/organization_declarative_apis_api.py
10501055
gooddata_api_client/api/organization_entity_apis_api.py
@@ -1139,6 +1144,7 @@ gooddata_api_client/model/attribute_positive_filter_all_of.py
11391144
gooddata_api_client/model/attribute_result_header.py
11401145
gooddata_api_client/model/automation_alert.py
11411146
gooddata_api_client/model/automation_alert_condition.py
1147+
gooddata_api_client/model/automation_dashboard_tabular_export.py
11421148
gooddata_api_client/model/automation_external_recipient.py
11431149
gooddata_api_client/model/automation_image_export.py
11441150
gooddata_api_client/model/automation_metadata.py
@@ -1189,6 +1195,7 @@ gooddata_api_client/model/dashboard_permissions.py
11891195
gooddata_api_client/model/dashboard_permissions_assignment.py
11901196
gooddata_api_client/model/dashboard_slides_template.py
11911197
gooddata_api_client/model/dashboard_tabular_export_request.py
1198+
gooddata_api_client/model/dashboard_tabular_export_request_v2.py
11921199
gooddata_api_client/model/data_column_locator.py
11931200
gooddata_api_client/model/data_column_locators.py
11941201
gooddata_api_client/model/data_source_parameter.py
@@ -1421,6 +1428,7 @@ gooddata_api_client/model/json_api_attribute_to_one_linkage.py
14211428
gooddata_api_client/model/json_api_automation_in.py
14221429
gooddata_api_client/model/json_api_automation_in_attributes.py
14231430
gooddata_api_client/model/json_api_automation_in_attributes_alert.py
1431+
gooddata_api_client/model/json_api_automation_in_attributes_dashboard_tabular_exports_inner.py
14241432
gooddata_api_client/model/json_api_automation_in_attributes_external_recipients_inner.py
14251433
gooddata_api_client/model/json_api_automation_in_attributes_image_exports_inner.py
14261434
gooddata_api_client/model/json_api_automation_in_attributes_metadata.py
@@ -1622,7 +1630,6 @@ gooddata_api_client/model/json_api_identity_provider_out_document.py
16221630
gooddata_api_client/model/json_api_identity_provider_out_list.py
16231631
gooddata_api_client/model/json_api_identity_provider_out_with_links.py
16241632
gooddata_api_client/model/json_api_identity_provider_patch.py
1625-
gooddata_api_client/model/json_api_identity_provider_patch_attributes.py
16261633
gooddata_api_client/model/json_api_identity_provider_patch_document.py
16271634
gooddata_api_client/model/json_api_identity_provider_to_one_linkage.py
16281635
gooddata_api_client/model/json_api_jwk_in.py
@@ -1964,6 +1971,7 @@ gooddata_api_client/model/sql_column.py
19641971
gooddata_api_client/model/sql_query.py
19651972
gooddata_api_client/model/sql_query_all_of.py
19661973
gooddata_api_client/model/suggestion.py
1974+
gooddata_api_client/model/switch_identity_provider_request.py
19671975
gooddata_api_client/model/table.py
19681976
gooddata_api_client/model/table_all_of.py
19691977
gooddata_api_client/model/table_override.py

gooddata-api-client/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,9 @@ Class | Method | HTTP request | Description
246246
*MetricsApi* | [**update_entity_metrics**](docs/MetricsApi.md#update_entity_metrics) | **PUT** /api/v1/entities/workspaces/{workspaceId}/metrics/{objectId} | Put a Metric
247247
*NotificationChannelsApi* | [**create_entity_notification_channels**](docs/NotificationChannelsApi.md#create_entity_notification_channels) | **POST** /api/v1/entities/notificationChannels | Post Notification Channel entities
248248
*NotificationChannelsApi* | [**delete_entity_notification_channels**](docs/NotificationChannelsApi.md#delete_entity_notification_channels) | **DELETE** /api/v1/entities/notificationChannels/{id} | Delete Notification Channel entity
249+
*NotificationChannelsApi* | [**get_all_entities_notification_channel_identifiers**](docs/NotificationChannelsApi.md#get_all_entities_notification_channel_identifiers) | **GET** /api/v1/entities/notificationChannelIdentifiers |
249250
*NotificationChannelsApi* | [**get_all_entities_notification_channels**](docs/NotificationChannelsApi.md#get_all_entities_notification_channels) | **GET** /api/v1/entities/notificationChannels | Get all Notification Channel entities
251+
*NotificationChannelsApi* | [**get_entity_notification_channel_identifiers**](docs/NotificationChannelsApi.md#get_entity_notification_channel_identifiers) | **GET** /api/v1/entities/notificationChannelIdentifiers/{id} |
250252
*NotificationChannelsApi* | [**get_entity_notification_channels**](docs/NotificationChannelsApi.md#get_entity_notification_channels) | **GET** /api/v1/entities/notificationChannels/{id} | Get Notification Channel entity
251253
*NotificationChannelsApi* | [**get_export_templates_layout**](docs/NotificationChannelsApi.md#get_export_templates_layout) | **GET** /api/v1/layout/exportTemplates | Get all export templates layout
252254
*NotificationChannelsApi* | [**get_notification_channels_layout**](docs/NotificationChannelsApi.md#get_notification_channels_layout) | **GET** /api/v1/layout/notificationChannels | Get all notification channels layout
@@ -260,6 +262,7 @@ Class | Method | HTTP request | Description
260262
*NotificationChannelsApi* | [**test_notification_channel**](docs/NotificationChannelsApi.md#test_notification_channel) | **POST** /api/v1/actions/notificationChannels/test | Test notification channel.
261263
*NotificationChannelsApi* | [**update_entity_notification_channels**](docs/NotificationChannelsApi.md#update_entity_notification_channels) | **PUT** /api/v1/entities/notificationChannels/{id} | Put Notification Channel entity
262264
*OptionsApi* | [**get_all_options**](docs/OptionsApi.md#get_all_options) | **GET** /api/v1/options | Links for all configuration options
265+
*OrganizationApi* | [**switch_active_identity_provider**](docs/OrganizationApi.md#switch_active_identity_provider) | **POST** /api/v1/actions/organization/switchActiveIdentityProvider | Switch Active Identity Provider
263266
*OrganizationDeclarativeAPIsApi* | [**get_organization_layout**](docs/OrganizationDeclarativeAPIsApi.md#get_organization_layout) | **GET** /api/v1/layout/organization | Get organization layout
264267
*OrganizationDeclarativeAPIsApi* | [**set_organization_layout**](docs/OrganizationDeclarativeAPIsApi.md#set_organization_layout) | **PUT** /api/v1/layout/organization | Set organization layout
265268
*OrganizationEntityAPIsApi* | [**create_entity_organization_settings**](docs/OrganizationEntityAPIsApi.md#create_entity_organization_settings) | **POST** /api/v1/entities/organizationSettings | Post Organization Setting entities
@@ -469,6 +472,7 @@ Class | Method | HTTP request | Description
469472
*ActionsApi* | [**scan_data_source**](docs/ActionsApi.md#scan_data_source) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scan | Scan a database to get a physical data model (PDM)
470473
*ActionsApi* | [**scan_sql**](docs/ActionsApi.md#scan_sql) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scanSql | Collect metadata about SQL query
471474
*ActionsApi* | [**set_translations**](docs/ActionsApi.md#set_translations) | **POST** /api/v1/actions/workspaces/{workspaceId}/translations/set | Set translations for entities.
475+
*ActionsApi* | [**switch_active_identity_provider**](docs/ActionsApi.md#switch_active_identity_provider) | **POST** /api/v1/actions/organization/switchActiveIdentityProvider | Switch Active Identity Provider
472476
*ActionsApi* | [**test_data_source**](docs/ActionsApi.md#test_data_source) | **POST** /api/v1/actions/dataSources/{dataSourceId}/test | Test data source connection by data source id
473477
*ActionsApi* | [**test_data_source_definition**](docs/ActionsApi.md#test_data_source_definition) | **POST** /api/v1/actions/dataSource/test | Test connection by data source definition
474478
*ActionsApi* | [**test_existing_notification_channel**](docs/ActionsApi.md#test_existing_notification_channel) | **POST** /api/v1/actions/notificationChannels/{notificationChannelId}/test | Test existing notification channel.
@@ -973,6 +977,7 @@ Class | Method | HTTP request | Description
973977
- [AttributeResultHeader](docs/AttributeResultHeader.md)
974978
- [AutomationAlert](docs/AutomationAlert.md)
975979
- [AutomationAlertCondition](docs/AutomationAlertCondition.md)
980+
- [AutomationDashboardTabularExport](docs/AutomationDashboardTabularExport.md)
976981
- [AutomationExternalRecipient](docs/AutomationExternalRecipient.md)
977982
- [AutomationImageExport](docs/AutomationImageExport.md)
978983
- [AutomationMetadata](docs/AutomationMetadata.md)
@@ -1023,6 +1028,7 @@ Class | Method | HTTP request | Description
10231028
- [DashboardPermissionsAssignment](docs/DashboardPermissionsAssignment.md)
10241029
- [DashboardSlidesTemplate](docs/DashboardSlidesTemplate.md)
10251030
- [DashboardTabularExportRequest](docs/DashboardTabularExportRequest.md)
1031+
- [DashboardTabularExportRequestV2](docs/DashboardTabularExportRequestV2.md)
10261032
- [DataColumnLocator](docs/DataColumnLocator.md)
10271033
- [DataColumnLocators](docs/DataColumnLocators.md)
10281034
- [DataSourceParameter](docs/DataSourceParameter.md)
@@ -1255,6 +1261,7 @@ Class | Method | HTTP request | Description
12551261
- [JsonApiAutomationIn](docs/JsonApiAutomationIn.md)
12561262
- [JsonApiAutomationInAttributes](docs/JsonApiAutomationInAttributes.md)
12571263
- [JsonApiAutomationInAttributesAlert](docs/JsonApiAutomationInAttributesAlert.md)
1264+
- [JsonApiAutomationInAttributesDashboardTabularExportsInner](docs/JsonApiAutomationInAttributesDashboardTabularExportsInner.md)
12581265
- [JsonApiAutomationInAttributesExternalRecipientsInner](docs/JsonApiAutomationInAttributesExternalRecipientsInner.md)
12591266
- [JsonApiAutomationInAttributesImageExportsInner](docs/JsonApiAutomationInAttributesImageExportsInner.md)
12601267
- [JsonApiAutomationInAttributesMetadata](docs/JsonApiAutomationInAttributesMetadata.md)
@@ -1456,7 +1463,6 @@ Class | Method | HTTP request | Description
14561463
- [JsonApiIdentityProviderOutList](docs/JsonApiIdentityProviderOutList.md)
14571464
- [JsonApiIdentityProviderOutWithLinks](docs/JsonApiIdentityProviderOutWithLinks.md)
14581465
- [JsonApiIdentityProviderPatch](docs/JsonApiIdentityProviderPatch.md)
1459-
- [JsonApiIdentityProviderPatchAttributes](docs/JsonApiIdentityProviderPatchAttributes.md)
14601466
- [JsonApiIdentityProviderPatchDocument](docs/JsonApiIdentityProviderPatchDocument.md)
14611467
- [JsonApiIdentityProviderToOneLinkage](docs/JsonApiIdentityProviderToOneLinkage.md)
14621468
- [JsonApiJwkIn](docs/JsonApiJwkIn.md)
@@ -1798,6 +1804,7 @@ Class | Method | HTTP request | Description
17981804
- [SqlQuery](docs/SqlQuery.md)
17991805
- [SqlQueryAllOf](docs/SqlQueryAllOf.md)
18001806
- [Suggestion](docs/Suggestion.md)
1807+
- [SwitchIdentityProviderRequest](docs/SwitchIdentityProviderRequest.md)
18011808
- [Table](docs/Table.md)
18021809
- [TableAllOf](docs/TableAllOf.md)
18031810
- [TableOverride](docs/TableOverride.md)

gooddata-api-client/docs/ActionsApi.md

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Method | HTTP request | Description
7474
[**scan_data_source**](ActionsApi.md#scan_data_source) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scan | Scan a database to get a physical data model (PDM)
7575
[**scan_sql**](ActionsApi.md#scan_sql) | **POST** /api/v1/actions/dataSources/{dataSourceId}/scanSql | Collect metadata about SQL query
7676
[**set_translations**](ActionsApi.md#set_translations) | **POST** /api/v1/actions/workspaces/{workspaceId}/translations/set | Set translations for entities.
77+
[**switch_active_identity_provider**](ActionsApi.md#switch_active_identity_provider) | **POST** /api/v1/actions/organization/switchActiveIdentityProvider | Switch Active Identity Provider
7778
[**test_data_source**](ActionsApi.md#test_data_source) | **POST** /api/v1/actions/dataSources/{dataSourceId}/test | Test data source connection by data source id
7879
[**test_data_source_definition**](ActionsApi.md#test_data_source_definition) | **POST** /api/v1/actions/dataSource/test | Test connection by data source definition
7980
[**test_existing_notification_channel**](ActionsApi.md#test_existing_notification_channel) | **POST** /api/v1/actions/notificationChannels/{notificationChannelId}/test | Test existing notification channel.
@@ -5625,6 +5626,74 @@ No authorization required
56255626

56265627
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
56275628

5629+
# **switch_active_identity_provider**
5630+
> switch_active_identity_provider(switch_identity_provider_request)
5631+
5632+
Switch Active Identity Provider
5633+
5634+
Switch the active identity provider for the organization. Requires MANAGE permission on the organization.
5635+
5636+
### Example
5637+
5638+
5639+
```python
5640+
import time
5641+
import gooddata_api_client
5642+
from gooddata_api_client.api import actions_api
5643+
from gooddata_api_client.model.switch_identity_provider_request import SwitchIdentityProviderRequest
5644+
from pprint import pprint
5645+
# Defining the host is optional and defaults to http://localhost
5646+
# See configuration.py for a list of all supported configuration parameters.
5647+
configuration = gooddata_api_client.Configuration(
5648+
host = "http://localhost"
5649+
)
5650+
5651+
5652+
# Enter a context with an instance of the API client
5653+
with gooddata_api_client.ApiClient() as api_client:
5654+
# Create an instance of the API class
5655+
api_instance = actions_api.ActionsApi(api_client)
5656+
switch_identity_provider_request = SwitchIdentityProviderRequest(
5657+
idp_id="my-idp-123",
5658+
) # SwitchIdentityProviderRequest |
5659+
5660+
# example passing only required values which don't have defaults set
5661+
try:
5662+
# Switch Active Identity Provider
5663+
api_instance.switch_active_identity_provider(switch_identity_provider_request)
5664+
except gooddata_api_client.ApiException as e:
5665+
print("Exception when calling ActionsApi->switch_active_identity_provider: %s\n" % e)
5666+
```
5667+
5668+
5669+
### Parameters
5670+
5671+
Name | Type | Description | Notes
5672+
------------- | ------------- | ------------- | -------------
5673+
**switch_identity_provider_request** | [**SwitchIdentityProviderRequest**](SwitchIdentityProviderRequest.md)| |
5674+
5675+
### Return type
5676+
5677+
void (empty response body)
5678+
5679+
### Authorization
5680+
5681+
No authorization required
5682+
5683+
### HTTP request headers
5684+
5685+
- **Content-Type**: application/json
5686+
- **Accept**: Not defined
5687+
5688+
5689+
### HTTP response details
5690+
5691+
| Status code | Description | Response headers |
5692+
|-------------|-------------|------------------|
5693+
**204** | No Content | - |
5694+
5695+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
5696+
56285697
# **test_data_source**
56295698
> TestResponse test_data_source(data_source_id, test_request)
56305699
@@ -5827,6 +5896,11 @@ with gooddata_api_client.ApiClient() as api_client:
58275896
notification_channel_id = "notificationChannelId_example" # str |
58285897
test_destination_request = TestDestinationRequest(
58295898
destination=DeclarativeNotificationChannelDestination(None),
5899+
external_recipients=[
5900+
AutomationExternalRecipient(
5901+
email="email_example",
5902+
),
5903+
],
58305904
) # TestDestinationRequest | (optional)
58315905

58325906
# example passing only required values which don't have defaults set
@@ -5907,6 +5981,11 @@ with gooddata_api_client.ApiClient() as api_client:
59075981
api_instance = actions_api.ActionsApi(api_client)
59085982
test_destination_request = TestDestinationRequest(
59095983
destination=DeclarativeNotificationChannelDestination(None),
5984+
external_recipients=[
5985+
AutomationExternalRecipient(
5986+
email="email_example",
5987+
),
5988+
],
59105989
) # TestDestinationRequest |
59115990

59125991
# example passing only required values which don't have defaults set
@@ -6014,6 +6093,25 @@ with gooddata_api_client.ApiClient() as api_client:
60146093
id="dashboard123",
60156094
type="analyticalDashboard",
60166095
),
6096+
dashboard_tabular_exports=[
6097+
AutomationDashboardTabularExport(
6098+
request_payload=DashboardTabularExportRequestV2(
6099+
dashboard_filters_override=[
6100+
DashboardFilter(),
6101+
],
6102+
dashboard_id="761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0",
6103+
file_name="result",
6104+
format="XLSX",
6105+
settings=DashboardExportSettings(
6106+
export_info=True,
6107+
merge_headers=True,
6108+
),
6109+
widget_ids=[
6110+
"widget_ids_example",
6111+
],
6112+
),
6113+
),
6114+
],
60176115
description="description_example",
60186116
details={
60196117
"key": "key_example",

gooddata-api-client/docs/AdHocAutomation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**alert** | [**AutomationAlert**](AutomationAlert.md) | | [optional]
88
**analytical_dashboard** | [**DeclarativeAnalyticalDashboardIdentifier**](DeclarativeAnalyticalDashboardIdentifier.md) | | [optional]
9+
**dashboard_tabular_exports** | [**[AutomationDashboardTabularExport]**](AutomationDashboardTabularExport.md) | | [optional]
910
**description** | **str** | | [optional]
1011
**details** | **{str: (str,)}** | Additional details to be included in the automated message. | [optional]
1112
**external_recipients** | [**[AutomationExternalRecipient]**](AutomationExternalRecipient.md) | External recipients of the automation action results. | [optional]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# AutomationDashboardTabularExport
2+
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**request_payload** | [**DashboardTabularExportRequestV2**](DashboardTabularExportRequestV2.md) | |
8+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
9+
10+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
11+
12+

0 commit comments

Comments
 (0)