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

sync with upstream repo #286

Merged
merged 846 commits into from
Oct 15, 2024
Merged

sync with upstream repo #286

merged 846 commits into from
Oct 15, 2024

Conversation

bavneetsingh16
Copy link


This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
  • My extension version conforms to the Extension version schema

For new extensions:

About Extension Publish

There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

leozhang-msft and others added 30 commits August 16, 2024 07:14
* feat: initial migration support using backup & restore commands.

* create backup_core to separate backup & make migrate

* port over dashboard for migrate and backup.

* rename get_dashboards to get_all_dashboards

* move over library panels

* in backup_core, support skipping external snapshots, only applicable for migrate (non-amg grafana instances)

* refactor snapshots between backup_core & use in migrate/backup

* feat: change backup_core to have get_folders and have migrate and backup use it.

* Refactor backup_core to include get_all_annotations and update migrate and backup to use it

* refactor backup_core to have get, which returns and migrate and backup uses.

* refactor: restore of dashboards

* refactor: make create_folder function to be used by migrate and restore.

* refactor: library panels

* refactor: create_snapshot function for migrate & restore.

* refactor: create_annotation for restore & migrate

* feat: datasources & mapping, fully port everything over to migrate.

* delete backup & restore from migrate.

* Add dry_run flag to migrate & only create new folders.

* add dry_run logic and not sending request to remake datasource when we already have.

* add in summary

* refactor: sync library panels during migration

* Refactor migrate function to have dry run & summary

* refactor migrate into having it's own functions.

* feat: Add  override flags to migrate_grafana

* add overwrite support for folders and library panels

* change override to overwrite to be more consistent.

* update the summary text so that it better reflects what happens

* update library panel summary text to be correct.

* add better summary texts for dashboards.

* create new migrate test by copy and pasting the backup and restore testing function

* e2e except folders seem to work

* fix folder issue

* move the migrate tests to a new file.

* start writing the unit tests

* migrate dry run flag test works

* fix dashboard version edge case & finish writing all the tests

* All recordings

* Add datasources warning

* fix edge case for library panels & folders & dashboards, depending on included / excluded.

* cleanup dry run summary texts

* implement PR comment changes

* add in support for --overwrite snapshots

* add in support for --overwrite for annotations

* Add in Jeremy's suggestions: refactor summary functions into more summarized and got rid of excess code

* Update test recordings

* Add header back to backup.py & change imports back to normal. Delete debugging logging. Update backup_core imports to remove useless ones.

* Clean up migrate logic

* Make backup_core more consistent

* Use update_summary / update_summary_dict in migrate instead of duplicate code.

* run autopep8 to fix style issues & manually fix some

* fix most azdev style issues, dealing with too-many-locals

* disable too-many-locals for migrate function

* Update recordings

* add in accidentally removed prints

* change variable names, update HISTORY,  make return more explict

* fix remapping test

* Update test recordings

* Add print statements

* use different method to check for library panels for dashboards

* Update tests to mock search_annotations.

* Update recordings

* Delete resources after test complete.

* Update recordings

* add in copyright & get rid of useles imports and get rid of useless f string.

* Change help message

* do health check of source_url before calling the migrate function

* Add check for same folders in include & exclude. Update valid folders to include/exclude

* fix a few minor bugs

* re-record the tests

* redo recordings

* fix style issues on custom.py (removing converting fstrings to strings & elif to if)

* add 'meta' to  fix an Grafana 8 migrate bug.

* azdev style line to long fix

* update history.rst

* rename migrate variables

* cleanup the valid folder uids general edge case to be cleaner

* fix indenting from azdev style amg
Fix spelling mistake
* add param --new

* deprecate Postgres

* update version
* [DataFactory]Support new features in ADF 1.0.3

* update

* update
* vendor sdks

* pass lint

* update version

* update changelog

---------

Co-authored-by: Junda Chen <[email protected]>
* Update the grafana update command

* list available plugins through aaz

* Update the recordings

* Update history & setup

* Update setup.py
* Update vendor sdk

* Add service mode

* Fix lint

* Update version
azclibot and others added 26 commits October 10, 2024 06:57
…re#8041)

* Updated comment about origin of _storage.py

* Created Generate-Vendored-SDKs.ps1

* Copied azure_storagev2 to vendored_sdks

* Fixed a couple of azdev style violations

* Copied azure-sdk-for-python/.../blob to vendored_sdks/azure_storage_blob

* Added a comment

* Deleted unused script

* Copied style fix from PR 7987
* Update AddPRComment.yml

* Update AddPRComment.yml

* Update AddPRComment.yml
* generate code

* update version

* add gateway commands

* remove vmware update

* run tests

* add gateway tests

* add tests

* hide subscription

* add arc module

* add gateway tests

* add NSP get test

* add service name for gateway

* add 200 response in nsp reconcile

* remove NSP PATCH

* fix pylint errors

* update codebase

* Update src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license/_update.py

Co-authored-by: Yan Zhu <[email protected]>

* fix ci error

* fix ci

* fix ci

* remove arc

* fix comment

* fix comment

* fix comment

* generate stable api code

* remove preview version

* update tests

* update test

* update test

* update test

* update test

* update tests

* update test

* update tests

* update tests

* update test

* update test

---------

Co-authored-by: Yan Zhu <[email protected]>
* Delete src/adp directory

ADP service has been decommissioned

* remove ADP from src/index.json
…#8128)

* Update pipeline group extension to 2024-10-01-preview API spec

* Update version in setup.py

* Follow release version suggestions

---------

Co-authored-by: Jingchuan Huang <[email protected]>
* add examples for acat

* style

* update history.rst

* fix parameter name

* fix build error

* remove duplicated examples

* Update src/acat/azext_acat/_help.py

Co-authored-by: kai ru <[email protected]>

* resoleve comments

* debug per comment

* move examples to class description

* fix import error

* resolve lint error

---------

Co-authored-by: Huiquan Jiang <[email protected]>
Co-authored-by: kai ru <[email protected]>
* az load support for zip artifacts upload

* remove large file test resource

* fix azdev style

* action on comments

* refactor and additional test cases

* update help, changelog and bump version

* action on comments
* Update db-up deprecation warning message

* Update doc
@bavneetsingh16 bavneetsingh16 merged commit 86b187b into k8s-extension/public Oct 15, 2024
17 of 18 checks passed
@bavneetsingh16 bavneetsingh16 deleted the upstream_changes branch October 15, 2024 19:23
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.