Skip to content
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

PaYamlV3 schema and OM updates #713

Merged
merged 1 commit into from
Sep 6, 2024
Merged

Conversation

joem-msft
Copy link
Contributor

Problem

After some discussion with McCall, Marcel, Mesganaw, Chris, we made some changes to the schema that makes breaking changes to:

  • Variants
  • Groups

Solution

Updated PaYamlV3 OM and schema accordingly

Changes

  • Remove Groups from control containers

  • Add ControlInstance.Group name to allow a control to belong to a group for use in Studio

  • Removed InstanceCreationParameters as no longer needed

  • Add ControlInstance.Variant as this will be part of required properties for some 1P controls

  • Updated v3 yaml schema:

    • With all updates above
    • Added top-level DataSources property to PaModule files.

Validation

  • updated unit tests with latest schema OM
  • updated example v3 pa.yaml files according to new schema

- Remove `Groups` from control containers
- Add `ControlInstance.Group` name to allow a control to belong to a group for use in Studio
- Removed `InstanceCreationParameters` as no longer needed
- Add `ControlInstance.Variant` as this will be part of required properties for some 1P controls

- Updated v3 yaml schema:
  - With all updates above
  - Added top-level `DataSources` property to PaModule files.
@joem-msft joem-msft requested review from a team as code owners September 5, 2024 02:15
@joem-msft joem-msft enabled auto-merge (squash) September 6, 2024 00:10
@joem-msft joem-msft merged commit 997b924 into master Sep 6, 2024
4 checks passed
@joem-msft joem-msft deleted the users/joemay/PaYamlV3-updates branch September 6, 2024 17:08
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.

3 participants