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

Add support for the new Bulk API (CreateMultiple, UpdateMultiple, UpsertMultiple) #122

Closed
7 tasks done
jordimontana82 opened this issue Nov 20, 2023 · 1 comment
Closed
7 tasks done

Comments

@jordimontana82
Copy link
Contributor

jordimontana82 commented Nov 20, 2023

The latest version of FXE doesn't currently support the new Bulk API that went into GA (while still having some operations in preview).

This issue is about adding support for the methods that went into GA along with the new IPluginExecutionContext4 interface in plugins.

More info at:

https://learn.microsoft.com/en-us/power-apps/developer/data-platform/write-plugin-multiple-operation?tabs=single#entity-images
https://learn.microsoft.com/en-us/power-apps/developer/data-platform/bulk-operations?tabs=sdk#message-pipelines-merged

Repro steps:

  • Create a new plugin via pac plugin init
  • Replace IPluginExecutionContext with IPluginExecutionContext4
  • Write a simple Test with FakeXrmEasy
  • Run the test

When an attempt is made to use the new interface, FakeXrmEasy will throw the exception below:

"Exception occurred: The specified service type is not supported".
  • Implement fake message executors for the new bulk operations
  • Implement IPluginExecutionContext4 interface in plugins
  • Pipeline Simulation: Add support for bulk operations in pipeline simulation
  • Pipeline Simulation: Add support specific attribute filtering of bulk operation plugin steps
  • Pipeline Simulation: Add support merged pipeline of bulk operations (trigger bulk plugins from non-bulk messages and viceversa)
  • Pipeline Simulation: Update Plugin Step Validator to include bulk operations
  • Pipeline Simulation: Add support for pre images and post image collections
@jordimontana82 jordimontana82 added the enhancement New feature or request label Nov 20, 2023
@jordimontana82 jordimontana82 added this to To do in Main Backlog via automation Nov 20, 2023
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-core that referenced this issue Mar 10, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-core that referenced this issue Mar 10, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-core that referenced this issue Mar 12, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-core that referenced this issue Mar 15, 2024
… Add file attribute metadata support for MetadataGenerator
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-core that referenced this issue Mar 16, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-core that referenced this issue Mar 16, 2024
@jordimontana82 jordimontana82 changed the title Add support for the new Bulk API (CreateMultiple and UpdateMultiple) Add support for the new Bulk API (CreateMultiple, UpdateMultiple, UpsertMultiple) Mar 25, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue Mar 29, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue Mar 29, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue Mar 30, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue May 2, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue May 2, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue May 2, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue May 12, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-core that referenced this issue May 25, 2024
… do not trigger pipeline requests, these will be moved to the plugings project and pipeline simulation to make sure they trigger in the same order as the platform. DynamicsValue/fake-xrm-easy#122
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue May 26, 2024
…e requests tests. Initiated merged pipeline simulation for bulk operations. DynamicsValue/fake-xrm-easy#122
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue May 26, 2024
…ry request name in PipelineStageExecutionParameters. Adding tests for conversion of bulk requests into multiple non-bulk requests so that it simulates the merged pipeline. Added tests for getting PreImage entity collections as well.
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue May 30, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue May 31, 2024
…request -> single non bulk requests also triggering xMultiple plugins steps DynamicsValue/fake-xrm-easy#122
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue Jun 3, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue Jun 3, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue Jun 5, 2024
jordimontana82 added a commit to DynamicsValue/fake-xrm-easy-plugins that referenced this issue Jun 5, 2024
@jordimontana82
Copy link
Contributor Author

Released into v2.5.0

Main Backlog automation moved this from To do to Done Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant