This pull request introduces support for Power Platform Analytics by adding new configuration URLs, constants, and data models. The changes include updates to the configuration files, creation of new data transfer objects (DTOs) and models, and implementation of API client methods for analytics data export.
Configuration Updates:
Added PowerPlatformAnalyticsUrl to ProviderConfigUrls in internal/config/config.go.
Introduced PUBLIC_POWERPLATFORM_ANALYTICS_API_DOMAIN constant in internal/constants/constants.go.
Updated getCloudPublicUrls function to include PowerPlatformAnalyticsUrl in internal/provider/provider.go.
New Data Models and DTOs:
Created AnalyticsDataDto, AnalyticsDataCreateDto, EnvironmentDto, and SinkDto in internal/services/powerplatform_analytics_data_export/analytics_data_export_dto.go.
Added AnalyticsDataModel, Environment, Sink, and Status structs in internal/services/powerplatform_analytics_data_export/analytics_data_export_model.go.
API Client Implementation:
Implemented NewTelemetryExport, Client, GetAnalyticsDataExport, and CreateAnalyticsDataExport methods in internal/services/powerplatform_analytics_data_export/api_analytics_data_export.go.
This pull request introduces support for Power Platform Analytics by adding new configuration URLs, constants, and data models. The changes include updates to the configuration files, creation of new data transfer objects (DTOs) and models, and implementation of API client methods for analytics data export.
Configuration Updates:
PowerPlatformAnalyticsUrl
toProviderConfigUrls
ininternal/config/config.go
.PUBLIC_POWERPLATFORM_ANALYTICS_API_DOMAIN
constant ininternal/constants/constants.go
.getCloudPublicUrls
function to includePowerPlatformAnalyticsUrl
ininternal/provider/provider.go
.New Data Models and DTOs:
AnalyticsDataDto
,AnalyticsDataCreateDto
,EnvironmentDto
, andSinkDto
ininternal/services/powerplatform_analytics_data_export/analytics_data_export_dto.go
.AnalyticsDataModel
,Environment
,Sink
, andStatus
structs ininternal/services/powerplatform_analytics_data_export/analytics_data_export_model.go
.API Client Implementation:
NewTelemetryExport
,Client
,GetAnalyticsDataExport
, andCreateAnalyticsDataExport
methods ininternal/services/powerplatform_analytics_data_export/api_analytics_data_export.go
.