Add missing Data space type in qlikcloud (#21698)

* Add missing `Data` space type in qlikcloud

* Fix broken json files
This commit is contained in:
Mohit Tilala 2025-06-13 03:19:10 +05:30 committed by GitHub
parent d20d278c4b
commit 2803e62f0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
21 changed files with 29 additions and 91 deletions

View File

@ -134,6 +134,12 @@ class QlikcloudSource(QliksenseSource):
if self.filter_draft_dashboard(dashboard): if self.filter_draft_dashboard(dashboard):
# Skip unpublished dashboards # Skip unpublished dashboards
continue continue
if dashboard.space_id not in self.projects_map:
logger.warning(
f"Project ID '{dashboard.space_id}' for Dashboard '{dashboard.name}' is not present"
" in projects map"
)
continue
project = self.projects_map[dashboard.space_id] project = self.projects_map[dashboard.space_id]
if self.filter_projects_by_type(project): if self.filter_projects_by_type(project):
# Skip dashboard based on space type filter # Skip dashboard based on space type filter

View File

@ -21,6 +21,7 @@ class QlikSpaceType(Enum):
MANAGED = "Managed" MANAGED = "Managed"
SHARED = "Shared" SHARED = "Shared"
PERSONAL = "Personal" PERSONAL = "Personal"
DATA = "Data"
# Space Models # Space Models

View File

@ -47,7 +47,7 @@ To deploy OpenMetadata, check the Deployment guides.
- **Qlik Cloud Host Port**: This field refers to the base url of your Qlik Cloud Portal, will be used for generating the redirect links for dashboards and charts. Example: `https://<TenantURL>.qlikcloud.com` - **Qlik Cloud Host Port**: This field refers to the base url of your Qlik Cloud Portal, will be used for generating the redirect links for dashboards and charts. Example: `https://<TenantURL>.qlikcloud.com`
- **Qlik Cloud API Token**: Enter the API token for Qlik Cloud APIs access. Refer to [this](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/mc-generate-api-keys.htm) document for more details about. Example: `eyJhbGciOiJFU***`. - **Qlik Cloud API Token**: Enter the API token for Qlik Cloud APIs access. Refer to [this](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/mc-generate-api-keys.htm) document for more details about. Example: `eyJhbGciOiJFU***`.
- **Qlik Cloud Space Types**: Select relevant space types of Qlik Cloud to filter the dashboards ingested into the platform. Example: `Personal`, `Shared`, `Managed`. - **Qlik Cloud Space Types**: Select relevant space types of Qlik Cloud to filter the dashboards ingested into the platform. Example: `Personal`, `Shared`, `Managed`, `Data`.
{% /extraContent %} {% /extraContent %}

View File

@ -81,7 +81,7 @@ Example: `https://<TenantURL>.qlikcloud.com`
Select relevant space types of Qlik Cloud to filter the dashboards ingested into the platform. Select relevant space types of Qlik Cloud to filter the dashboards ingested into the platform.
Example: `Personal`, `Shared`, `Managed` Example: `Personal`, `Shared`, `Managed`, `Data`
{% /codeInfo %} {% /codeInfo %}
@ -111,7 +111,7 @@ source:
hostPort: https://<TenantURL>.qlikcloud.com hostPort: https://<TenantURL>.qlikcloud.com
``` ```
```yaml {% srNumber=3 %} ```yaml {% srNumber=3 %}
spaceTypes: ["Personal", "Shared", "Managed"] spaceTypes: ["Personal", "Shared", "Managed", "Data"]
``` ```
{% partial file="/v1.7/connectors/yaml/dashboard/source-config.md" /%} {% partial file="/v1.7/connectors/yaml/dashboard/source-config.md" /%}

View File

@ -47,7 +47,7 @@ To deploy OpenMetadata, check the Deployment guides.
- **Qlik Cloud Host Port**: This field refers to the base url of your Qlik Cloud Portal, will be used for generating the redirect links for dashboards and charts. Example: `https://<TenantURL>.qlikcloud.com` - **Qlik Cloud Host Port**: This field refers to the base url of your Qlik Cloud Portal, will be used for generating the redirect links for dashboards and charts. Example: `https://<TenantURL>.qlikcloud.com`
- **Qlik Cloud API Token**: Enter the API token for Qlik Cloud APIs access. Refer to [this](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/mc-generate-api-keys.htm) document for more details about. Example: `eyJhbGciOiJFU***`. - **Qlik Cloud API Token**: Enter the API token for Qlik Cloud APIs access. Refer to [this](https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/mc-generate-api-keys.htm) document for more details about. Example: `eyJhbGciOiJFU***`.
- **Qlik Cloud Space Types**: Select relevant space types of Qlik Cloud to filter the dashboards ingested into the platform. Example: `Personal`, `Shared`, `Managed`. - **Qlik Cloud Space Types**: Select relevant space types of Qlik Cloud to filter the dashboards ingested into the platform. Example: `Personal`, `Shared`, `Managed`, `Data`.
{% /extraContent %} {% /extraContent %}

View File

@ -81,7 +81,7 @@ Example: `https://<TenantURL>.qlikcloud.com`
Select relevant space types of Qlik Cloud to filter the dashboards ingested into the platform. Select relevant space types of Qlik Cloud to filter the dashboards ingested into the platform.
Example: `Personal`, `Shared`, `Managed` Example: `Personal`, `Shared`, `Managed`, `Data`
{% /codeInfo %} {% /codeInfo %}
@ -111,7 +111,7 @@ source:
hostPort: https://<TenantURL>.qlikcloud.com hostPort: https://<TenantURL>.qlikcloud.com
``` ```
```yaml {% srNumber=3 %} ```yaml {% srNumber=3 %}
spaceTypes: ["Personal", "Shared", "Managed"] spaceTypes: ["Personal", "Shared", "Managed", "Data"]
``` ```
{% partial file="/v1.8/connectors/yaml/dashboard/source-config.md" /%} {% partial file="/v1.8/connectors/yaml/dashboard/source-config.md" /%}

View File

@ -410,7 +410,7 @@
"totalVotes": { "totalVotes": {
"type": "long", "type": "long",
"null_value": 0 "null_value": 0
}, }
} }
}, },
"service": { "service": {

View File

@ -165,85 +165,6 @@
"type": "text" "type": "text"
} }
} }
},
"downVotes": {
"type": "long"
},
"upVoters": {
"properties": {
"id": {
"type": "keyword",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 36
}
}
},
"type": {
"type": "keyword"
},
"name": {
"type": "keyword",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"fullyQualifiedName": {
"type": "text"
},
"description": {
"type": "text"
},
"deleted": {
"type": "text"
},
"href": {
"type": "text"
}
}
},
"downVoters": {
"properties": {
"id": {
"type": "keyword",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 36
}
}
},
"type": {
"type": "keyword"
},
"name": {
"type": "keyword",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"fullyQualifiedName": {
"type": "text"
},
"description": {
"type": "text"
},
"deleted": {
"type": "text"
},
"href": {
"type": "text"
}
}
}
}
}, },
"query": { "query": {
"type": "text", "type": "text",
@ -379,7 +300,6 @@
"entityType": { "entityType": {
"type": "keyword" "type": "keyword"
}, },
"tier": { "tier": {
"properties": { "properties": {
"description": { "description": {
@ -442,4 +362,4 @@
} }
} }
} }
} }

View File

@ -40,9 +40,9 @@
"uniqueItems": true, "uniqueItems": true,
"items": { "items": {
"type": "string", "type": "string",
"enum": ["Managed", "Shared", "Personal"] "enum": ["Managed", "Shared", "Personal", "Data"]
}, },
"default": ["Managed", "Shared", "Personal"], "default": ["Managed", "Shared", "Personal", "Data"],
"minItems": 1 "minItems": 1
}, },
"dashboardFilterPattern": { "dashboardFilterPattern": {

View File

@ -37,5 +37,5 @@ $$section
Select relevant space types of Qlik Cloud to filter the dashboards ingested into the platform. Select relevant space types of Qlik Cloud to filter the dashboards ingested into the platform.
Example: `Personal`, `Shared`, `Managed` Example: `Personal`, `Shared`, `Managed`, `Data`
$$ $$

View File

@ -3659,6 +3659,7 @@ export enum KafkaSecurityProtocol {
} }
export enum SpaceType { export enum SpaceType {
Data = "Data",
Managed = "Managed", Managed = "Managed",
Personal = "Personal", Personal = "Personal",
Shared = "Shared", Shared = "Shared",

View File

@ -1088,6 +1088,7 @@ export interface GCPImpersonateServiceAccountValues {
} }
export enum SpaceType { export enum SpaceType {
Data = "Data",
Managed = "Managed", Managed = "Managed",
Personal = "Personal", Personal = "Personal",
Shared = "Shared", Shared = "Shared",

View File

@ -5143,6 +5143,7 @@ export enum KafkaSecurityProtocol {
} }
export enum SpaceType { export enum SpaceType {
Data = "Data",
Managed = "Managed", Managed = "Managed",
Personal = "Personal", Personal = "Personal",
Shared = "Shared", Shared = "Shared",

View File

@ -3541,6 +3541,7 @@ export enum KafkaSecurityProtocol {
} }
export enum SpaceType { export enum SpaceType {
Data = "Data",
Managed = "Managed", Managed = "Managed",
Personal = "Personal", Personal = "Personal",
Shared = "Shared", Shared = "Shared",

View File

@ -3931,6 +3931,7 @@ export enum KafkaSecurityProtocol {
} }
export enum SpaceType { export enum SpaceType {
Data = "Data",
Managed = "Managed", Managed = "Managed",
Personal = "Personal", Personal = "Personal",
Shared = "Shared", Shared = "Shared",

View File

@ -72,6 +72,7 @@ export interface FilterPattern {
} }
export enum SpaceType { export enum SpaceType {
Data = "Data",
Managed = "Managed", Managed = "Managed",
Personal = "Personal", Personal = "Personal",
Shared = "Shared", Shared = "Shared",

View File

@ -3522,6 +3522,7 @@ export enum KafkaSecurityProtocol {
} }
export enum SpaceType { export enum SpaceType {
Data = "Data",
Managed = "Managed", Managed = "Managed",
Personal = "Personal", Personal = "Personal",
Shared = "Shared", Shared = "Shared",

View File

@ -1205,6 +1205,7 @@ export interface GCPImpersonateServiceAccountValues {
} }
export enum SpaceType { export enum SpaceType {
Data = "Data",
Managed = "Managed", Managed = "Managed",
Personal = "Personal", Personal = "Personal",
Shared = "Shared", Shared = "Shared",

View File

@ -5549,6 +5549,7 @@ export enum KafkaSecurityProtocol {
} }
export enum SpaceType { export enum SpaceType {
Data = "Data",
Managed = "Managed", Managed = "Managed",
Personal = "Personal", Personal = "Personal",
Shared = "Shared", Shared = "Shared",

View File

@ -3566,6 +3566,7 @@ export enum KafkaSecurityProtocol {
} }
export enum SpaceType { export enum SpaceType {
Data = "Data",
Managed = "Managed", Managed = "Managed",
Personal = "Personal", Personal = "Personal",
Shared = "Shared", Shared = "Shared",

View File

@ -3613,6 +3613,7 @@ export enum KafkaSecurityProtocol {
} }
export enum SpaceType { export enum SpaceType {
Data = "Data",
Managed = "Managed", Managed = "Managed",
Personal = "Personal", Personal = "Personal",
Shared = "Shared", Shared = "Shared",