Skip to content

tsp - Add four brown field test cases#1521

Merged
dolauli merged 2 commits into
Azure:mainfrom
dolauli:tsp-brown
Sep 17, 2025
Merged

tsp - Add four brown field test cases#1521
dolauli merged 2 commits into
Azure:mainfrom
dolauli:tsp-brown

Conversation

@dolauli

@dolauli dolauli commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

This pull request introduces significant new modeling and API surface for the Azure Chaos Management service in TypeSpec, including new resource types, operations, and client configuration customizations. The changes focus on defining models and operations for Capabilities, Capability Types, and Experiments, as well as providing common types and client naming conventions for multiple SDK languages.

Key changes include:

New Resource Models and Operations

  • Introduced models and operations for Capability and CapabilityType resources, including their properties, list results, and parent resource relationships (capability.models.tsp, capabilityType.models.tsp, capability.tsp, capabilityType.tsp). [1] [2] [3] [4]
  • Added comprehensive models for Experiment resources, including actions, steps, selectors, filters, and update models (experiment.models.tsp).

Common Types and Utilities

  • Defined shared types and utilities such as ProvisioningState, OperationStatus, and ParentResourceParameters for consistent modeling across resources (common.models.tsp).

Client Customization and Naming

  • Added a centralized client configuration file to specify client names, flatten properties, and set language-specific naming conventions for SDKs in C#, Java, Python, and JavaScript (client.tsp).
  • Configured client operation and model names for cross-language consistency and SDK compatibility, including suppression of deprecated warnings for property flattening.

Backward Compatibility and SDK Integration

  • Added a compatibility layer to map interface operations to client locations and names, ensuring backward compatibility with previous SDKs and smooth integration with client generators (back-compatible.tsp).

These changes collectively establish a robust and extensible foundation for Azure Chaos Management modeling and SDK generation, enabling support for multiple languages and future resource expansion.

@dolauli
dolauli merged commit 69685d6 into Azure:main Sep 17, 2025
103 checks passed
@dolauli
dolauli deleted the tsp-brown branch September 17, 2025 07:03
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.

1 participant