Skip to content

Adding Online Experimentation data-plane SDK#44980

Merged
smichtch merged 21 commits intomainfrom
feature/online-experimentation
Jun 10, 2025
Merged

Adding Online Experimentation data-plane SDK#44980
smichtch merged 21 commits intomainfrom
feature/online-experimentation

Conversation

@smichtch
Copy link
Copy Markdown
Member

Description

Adding Online Experimentation data-plane SDK (for Microsoft.OnlineExperimentation/workspaces resources).
TypeSpec PR: Azure/azure-rest-api-specs#33135

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@smichtch smichtch force-pushed the feature/online-experimentation branch from 7b59f84 to c6d5335 Compare April 16, 2025 21:13
@smichtch smichtch force-pushed the feature/online-experimentation branch 3 times, most recently from 2bf51bd to 5c3f9da Compare May 9, 2025 15:37
@smichtch smichtch marked this pull request as ready for review May 9, 2025 20:02
Copilot AI review requested due to automatic review settings May 9, 2025 20:02
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds the Online Experimentation data-plane SDK including new model classes for experiment metric definitions, diagnostic details, and the corresponding client builder and service version implementations. Key changes include the addition of several new model classes, updated JSON (de)serialization handling for these models, and client builder enhancements for configuring and creating service clients.

Reviewed Changes

Copilot reviewed 87 out of 87 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
ExperimentMetricValidationResult.java Adds the model for validation results with isValid property and diagnostics collection.
DiagnosticDetail.java Introduces the diagnostic details model used for validation errors.
ExperimentMetricType.java, ExperimentMetricDefinition.java, and various MetricDefinition classes Define multiple metric types and their JSON (de)serialization behavior.
OnlineExperimentationClientBuilder.java & OnlineExperimentationServiceVersion.java Implement client creation logic and service versioning for the SDK.
pom.xml, README.md, CHANGELOG.md, etc. Package configuration and metadata updates supporting the new SDK.

@smichtch smichtch force-pushed the feature/online-experimentation branch 3 times, most recently from 19b5f0c to 3fd8f15 Compare May 14, 2025 17:17
Comment thread sdk/onlineexperimentation/azure-analytics-onlineexperimentation/pom.xml Outdated
Comment thread sdk/onlineexperimentation/.vscode/cspell.json Outdated
@smichtch smichtch force-pushed the feature/online-experimentation branch from 1ab76ec to bf85add Compare May 14, 2025 22:19
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

com.azure:azure-analytics-onlineexperimentation

@smichtch smichtch force-pushed the feature/online-experimentation branch from bf85add to 47e1f9e Compare May 14, 2025 22:47
github-merge-queue Bot pushed a commit to microsoft/typespec that referenced this pull request May 21, 2025
fix #7418

Mostly to get this code snippet id be cspell friendly.

Context
Azure/azure-sdk-for-java#44980 (comment)

Java code copied from geeksforgeeks :-)
@smichtch smichtch force-pushed the feature/online-experimentation branch from 9aeff0f to d39ad77 Compare June 2, 2025 17:41
@smichtch
Copy link
Copy Markdown
Member Author

smichtch commented Jun 2, 2025

@srnagar please review. Addressed the feedback on APIView: removed non-generated constructors and updated samples/tests accordingly. Added *WithResponse() 'overloads' for non-generated client methods.

@smichtch
Copy link
Copy Markdown
Member Author

smichtch commented Jun 9, 2025

/azp run prepare-pipelines

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Comment thread sdk/onlineexperimentation/test-resources.bicep Outdated
Comment thread sdk/onlineexperimentation/azure-analytics-onlineexperimentation/assets.json Outdated
Comment thread sdk/onlineexperimentation/azure-analytics-onlineexperimentation/pom.xml Outdated
@smichtch smichtch requested a review from a team as a code owner June 9, 2025 22:16
@smichtch smichtch force-pushed the feature/online-experimentation branch from b5e6a0f to cf60a83 Compare June 10, 2025 01:01
@smichtch smichtch requested a review from srnagar June 10, 2025 01:34
Comment thread .vscode/cspell.json Outdated
@smichtch smichtch force-pushed the feature/online-experimentation branch from b3455cf to 3b2ddb7 Compare June 10, 2025 21:37
Comment thread sdk/onlineexperimentation/test-resources.bicep
@smichtch smichtch merged commit 042195b into main Jun 10, 2025
17 checks passed
@smichtch smichtch deleted the feature/online-experimentation branch June 10, 2025 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants