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

Data Source: powerplatform_data_records #278

Closed
10 tasks
mattdot opened this issue May 2, 2024 · 0 comments · Fixed by #330
Closed
10 tasks

Data Source: powerplatform_data_records #278

mattdot opened this issue May 2, 2024 · 0 comments · Fixed by #330
Assignees
Labels
data source data source enhancement New feature or request
Milestone

Comments

@mattdot
Copy link
Member

mattdot commented May 2, 2024

Description

Create a data source that allows querying Dataverse via the odata web API

Resource

Note

Not planning to implement paging or aggregation for initial feature set

Potential Terraform Configuration

# Sample Terraform config that describes how the new resource might look.

data "powerplatform_data_records" "example_data_records" {
  environment_id = "..."
  entity_collection = "systemusers(....)"
  select = ["firstname", "lastname"]
  expand = [
    {
      navigation_property = "Account_Tasks"
      select = ["firstname", "lastname"]
      expand = [{ ... }, { ... }]
    }
  ]
  orderby = "lastname desc, firstname asc"
  filter = "name ne 'eduardo'"
  apply="groupby((statuscode),aggregate(revenue with sum as total))"
  count = true
  top = 100
  savedquery=""
  userquery=""
}

Definition of Done

  • Data Transfer Objects (dtos)
  • Data Client functions
  • Resource Implementation
  • Resource Added to Provider
  • Unit Tests for Happy Path
  • Unit Tests for error path
  • Acceptance Tests
  • Example in the /examples folder
  • Schema Documentation in code
  • Updated auto-generated provider docs with make docs

Contributions

Do you plan to raise a PR to address this issue? NO

See the contributing guide for more information about what's expected for contributions.

@mattdot mattdot added enhancement New feature or request data source data source labels May 2, 2024
@mattdot mattdot added this to the Preview 2 milestone May 2, 2024
@mawasile mawasile self-assigned this May 28, 2024
@mawasile mawasile linked a pull request Jun 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data source data source enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants