Closed owenfarrell closed 2 years ago
@lordozb - Thoughts?
Changes will also be required in Here because integration runtime is of type Microsoft.Synapse/workspaces/integrationRuntimes.
When I took a look at this method, the logic was starting to get a bit gnarly. So in order to help make future maintenance easier, I refactored that method to use enumerated instances of a class instead of three independent arrays.
Can you please also add some positive and negative unit tests Here
I also renamed some of the test data constants. When I first looked at them, I got really confused how/why each object existed since most of them were named DEFAULT...
. When I realized that some of them were intended to represent custom artifacts, it made a bit more sense.
Hello @owenfarrell Thank you for contributing to the project. We have asked our partner team which manages integration runtime to let us know if skipping autoresolve IR will cause any issue or not. We are waiting for their response.
@lordozb - What's the verdict?
Hello @owenfarrell Apologies for delay in getting back. We can go ahead and mark it as a default artifact. However, due to the recent commit there has been some merge conflicts. If you can resolve the conflicts I can go ahead and merge the PR. If you are unavailable I can resolve the conflicts and merge your PR.
@lordozb - I can resolve the conflicts. But I have a couple questions about #28.
DefaultArtifact
class that I added here and paste it in to your PR? Or is there something genuinely different?@owenfarrell
matches
method I have replaced the indexOf
call with name.toLowerCase().includes(this.name.toLowerCase())
. You can either add autoresolve IR
to this class and delete the file you created or you can add the new default artifacts to the file you created and remove the class from here. @lordozb - so back to my question.... is there a way to toggle off the deployment of MPEs (which do have alternative automation options)?
@owenfarrell Currently, the code deploys all the artifacts in the template. There is no way to do selective deployment as of now.
Closing this PR since the code was copied/committed elsewhere
When creating a new Synapse Workspace, an Integration Runtime named
AutoResolveIntegrationRuntime
is automatically created.