-
Notifications
You must be signed in to change notification settings - Fork 119
perf: Parallelize all items by central encapsulation into base classes #761
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
Open
mdrakiburrahman
wants to merge
26
commits into
microsoft:main
Choose a base branch
from
mdrakiburrahman:dev/mdrrahman/parallelize-everything
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 11 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e4e074b
Docs
mdrakiburrahman ed9dfba
Bring in changes from previous branch
mdrakiburrahman 2da3f41
Factor out exclude
mdrakiburrahman 05ade34
Make API mapping a constant
mdrakiburrahman c7bfdcb
Encapsulate environments and pipelines better
mdrakiburrahman 2a21653
Unnecessary change
mdrakiburrahman b71024b
Push more logic into the base publisher
mdrakiburrahman 3282403
Whitespace
mdrakiburrahman 4e76a5f
Factor out dupe logic for validate_items_to_include
mdrakiburrahman 0d4bf0c
English
mdrakiburrahman f19a476
Missed one
mdrakiburrahman 1c35265
Merge origin/main into dev/mdrrahman/parallelize-everything
mdrakiburrahman 4104c4f
Remove unused feature flag
mdrakiburrahman 7ddd4d0
Make validate_experimental_param generic
mdrakiburrahman 0cc63be
Prefix with item type
mdrakiburrahman 8edc409
Lint fix
mdrakiburrahman feee24c
Remove location output for terminal
mdrakiburrahman 11a6175
Update tracer to be thread safe with OS agnostic file locker
mdrakiburrahman d332147
Lint
mdrakiburrahman e3f3da8
Remove orgapp support as of https://github.com/microsoft/fabric-cicd/…
mdrakiburrahman 33f1230
Reorder functions, public first
mdrakiburrahman 6bf1b45
Docstrings
mdrakiburrahman d889839
Merge branch 'main' into dev/mdrrahman/parallelize-everything
mdrakiburrahman 659c259
Restore formatting to how it used to be but add item and name into fu…
mdrakiburrahman fbc25e6
Merge branch 'main' into dev/mdrrahman/parallelize-everything
shirasassoon 943210a
Swallow error into log
mdrakiburrahman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,62 +1,10 @@ | ||
| # Copyright (c) Microsoft Corporation. | ||
| # Licensed under the MIT License. | ||
|
|
||
| from fabric_cicd._items._activator import publish_activators | ||
| from fabric_cicd._items._apacheairflowjob import publish_apacheairflowjobs | ||
| from fabric_cicd._items._copyjob import publish_copyjobs | ||
| from fabric_cicd._items._dataagent import publish_dataagents | ||
| from fabric_cicd._items._dataflowgen2 import publish_dataflows | ||
| from fabric_cicd._items._datapipeline import find_referenced_datapipelines, publish_datapipelines | ||
| from fabric_cicd._items._environment import check_environment_publish_state, publish_environments | ||
| from fabric_cicd._items._eventhouse import publish_eventhouses | ||
| from fabric_cicd._items._eventstream import publish_eventstreams | ||
| from fabric_cicd._items._graphqlapi import publish_graphqlapis | ||
| from fabric_cicd._items._kqldashboard import publish_kqldashboard | ||
| from fabric_cicd._items._kqldatabase import publish_kqldatabases | ||
| from fabric_cicd._items._kqlqueryset import publish_kqlquerysets | ||
| from fabric_cicd._items._lakehouse import publish_lakehouses | ||
| from fabric_cicd._items._manage_dependencies import set_unpublish_order | ||
| from fabric_cicd._items._mirroreddatabase import publish_mirroreddatabase | ||
| from fabric_cicd._items._mlexperiment import publish_mlexperiments | ||
| from fabric_cicd._items._mounteddatafactory import publish_mounteddatafactories | ||
| from fabric_cicd._items._notebook import publish_notebooks | ||
| from fabric_cicd._items._orgapp import publish_orgapps | ||
| from fabric_cicd._items._report import publish_reports | ||
| from fabric_cicd._items._semanticmodel import publish_semanticmodels | ||
| from fabric_cicd._items._sparkjobdefinition import publish_sparkjobdefinitions | ||
| from fabric_cicd._items._sqldatabase import publish_sqldatabases | ||
| from fabric_cicd._items._userdatafunction import publish_userdatafunctions | ||
| from fabric_cicd._items._variablelibrary import publish_variablelibraries | ||
| from fabric_cicd._items._warehouse import publish_warehouses | ||
| from fabric_cicd._items._base_publisher import ItemPublisher, ParallelConfig, PublishError | ||
|
|
||
| __all__ = [ | ||
| "check_environment_publish_state", | ||
| "find_referenced_datapipelines", | ||
| "publish_activators", | ||
| "publish_apacheairflowjobs", | ||
| "publish_copyjobs", | ||
| "publish_dataagents", | ||
| "publish_dataflows", | ||
| "publish_datapipelines", | ||
| "publish_environments", | ||
| "publish_eventhouses", | ||
| "publish_eventstreams", | ||
| "publish_graphqlapis", | ||
| "publish_kqldashboard", | ||
| "publish_kqldatabases", | ||
| "publish_kqlquerysets", | ||
| "publish_lakehouses", | ||
| "publish_mirroreddatabase", | ||
| "publish_mlexperiments", | ||
| "publish_mounteddatafactories", | ||
| "publish_notebooks", | ||
| "publish_orgapps", | ||
| "publish_reports", | ||
| "publish_semanticmodels", | ||
| "publish_sparkjobdefinitions", | ||
| "publish_sqldatabases", | ||
| "publish_userdatafunctions", | ||
| "publish_variablelibraries", | ||
| "publish_warehouses", | ||
| "set_unpublish_order", | ||
| "ItemPublisher", | ||
mdrakiburrahman marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "ParallelConfig", | ||
| "PublishError", | ||
| ] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.