-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
486 - Power Platform Data Analytics Export #563
Closed
Closed
+791
−0
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading status checks…
10 tasks
… and introduce new structures for improved data handling
…rmation retrieval
…lytics_data_export and update related comments for clarity
…etAnalyticsDataExport function
… and update data mapping in Read method
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes significant updates to the analytics data export service, including new API functionalities, data models, and documentation updates. The changes introduce new data source capabilities, detailed schema definitions, and enhanced testing guidelines.
New API functionalities:
internal/services/analytics_data_export/api_analytics_data_exports.go
: Added new methods for retrieving gateway cluster information and analytics data exports, including the necessary URL mappings and error handling.Data models and schema definitions:
internal/services/analytics_data_export/dto.go
: Defined new data transfer objects for analytics data, including detailed structures for environments, statuses, sinks, and gateway clusters.internal/services/analytics_data_export/model.go
: Created models for analytics data export, including nested attributes for environments, statuses, and sink configurations.internal/services/analytics_data_export/datasource_analytics_data_exports.go
: Implemented a new data source with comprehensive schema definitions and methods for metadata, configuration, and data mapping.Documentation updates:
.github/copilot-instructions.md
: Added detailed guidelines for compiling code, running tests, and writing comments, ensuring consistency and clarity in the development process.Change log:
.changes/unreleased/added-20250308-084936.yaml
: Documented the addition of a new data source, including the issue reference for tracking.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
.