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

Kedro Viz Static Website hosting on Azure #1708

Merged

Conversation

ravi-kumar-pilla
Copy link
Contributor

@ravi-kumar-pilla ravi-kumar-pilla commented Jan 17, 2024

Description

Resolves #1674

Development notes

  • Added Kedro Viz Static Website hosting support for Azure
  • Moved optional dependencies namely s3fs and adlfs to setup.py -> extras_require. This will help users to install platform specific dependencies based on the cloud platform. For example pip install 'kedro-viz[aws]' will install aws deployer specific dependencies
  • Added pytests for AzureDeployer and updated previous pytests to accept new deployer inputs

NOTE: There will be a new PR to update documentation for shareable-viz

QA notes

Setup Environment for Azure

Route 1 - Authorizing via Azure ServicePrincipal



What users need to do - Create Storage Account + App Registration + Role permissions

On Azure portal

  1. Create an App registration
  2. Copy App registration parameters (Application (Client) ID, Directory (Tenant) ID)
  3. Create and copy Client secret (Client Secret Value)
  4. Create a Storage Account and configure it for static website hosting -
  5. Create a storage container
  6. Assign app and role to the storage account (assign a role of Storage Blob Data Contributor to the app registered)

On command line before running kedro viz deploy

  1. Add environment variables - AZURE_STORAGE_CLIENT_ID (which is the application id in step2), AZURE_STORAGE_TENANT_ID (which is Directory ID in step2), AZURE_STORAGE_CLIENT_SECRET (which is the client secret value in step3)

Route 2 - Using Account Key

What users need to do - Create Storage Account

On Azure portal

  1. Create a Storage Account and configure it for static website hosting - https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website-host
  2. Copy the Account key from Security + Networking tab under storage account created in step 1

On command line before running kedro viz deploy

  1. Add environment variable - AZURE_STORAGE_ACCOUNT_KEY (which is the account key value in step2)

Run deploy command
kedro viz deploy --platform=azure --endpoint=https://example-bucket.z13.web.core.windows.net/ --bucket-name=example-bucket

Note:

  • Bucket name is the storage account name
  • Endpoint (Primary endpoint) can be found in the Storage account -> Capabilities -> Static Website Hosting
  • For static website hosting $web is the default container that is created under the storage account. We will upload all the kedro viz files to this container (This container is mandatory for shareableviz)

Checklist

  • Read the contributing guidelines
  • Opened this PR as a 'Draft Pull Request' if it is work-in-progress
  • Updated the documentation to reflect the code changes
  • Added new entries to the RELEASE.md file
  • Added tests to cover my changes

jitu5 and others added 30 commits January 4, 2024 15:46
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
@astrojuanlu
Copy link
Member

Is there a way to slice these pull requests?

image

reviewing +730,-410 lines of changes is quite a lot and I think it increases the risk of overlooking possible mistakes.

@rashidakanchwala
Copy link
Contributor

Is there a way to slice these pull requests?

image

reviewing +730,-410 lines of changes is quite a lot and I think it increases the risk of overlooking possible mistakes.

the only way we could slice this PR was keep FE and BE seperate. There's some refactoring work which could be removed and put in another PR but it's very minimal. If you like, Ravi or I can quickly give you an overview which will help with the review.

@ravi-kumar-pilla
Copy link
Contributor Author

Is there a way to slice these pull requests?

image

reviewing +730,-410 lines of changes is quite a lot and I think it increases the risk of overlooking possible mistakes.

Hi @astrojuanlu , I tried to make this in 2 PRs but the tests were failing. May be you can give a 2 pass review. There are test files which can be reviewed in the 2nd pass. But, I agree there are lot of changes in this single PR.

@merelcht
Copy link
Member

the only way we could slice this PR was keep FE and BE seperate. There's some refactoring work which could be removed and put in another PR but it's very minimal.

This is certainly not true. There's many ways in which this PR could have been built up, introducing the deployers separately would already have been 1 step. Of course, this involves more work, but the trade off you make with PRs is the following: small easy to follow PRs will be quick to review and will get merged faster, large PRs such as this one require much longer time to review and thus in the end the work will take a lot longer to merge. Ensuring high quality is also harder with big PRs, because it's much easier to miss things.

@rashidakanchwala
Copy link
Contributor

Yes, now that I am slicing it the refactor is quite a lot. I will release the refactor PR shortly. Thanks for pushing back on this.

@rashidakanchwala rashidakanchwala changed the base branch from feature/shareableviz-extended-support to refactor-deployerclass January 26, 2024 11:32
@rashidakanchwala rashidakanchwala marked this pull request as draft January 26, 2024 11:34
@ravi-kumar-pilla ravi-kumar-pilla changed the base branch from refactor-deployerclass to chore/refactor-shareableviz-router February 6, 2024 18:07
…ature/shareableviz-az

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
@ravi-kumar-pilla ravi-kumar-pilla mentioned this pull request Feb 6, 2024
5 tasks
@ravi-kumar-pilla ravi-kumar-pilla changed the base branch from chore/refactor-shareableviz-router to chore/refactor-shareableviz-cli February 6, 2024 19:32
Base automatically changed from chore/refactor-shareableviz-cli to feature/shareableviz-extended-support February 8, 2024 16:55
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
@ravi-kumar-pilla ravi-kumar-pilla marked this pull request as ready for review February 8, 2024 17:55
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

from kedro_viz import __version__

_AZ_PROTOCOL = "abfs"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we reused logic from kedro? I don't think abfs is the only protocols supported by Azure. See https://github.com/fsspec/adlfs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here we are using Gen2 filesystem to build the remote path (we will mention this in our docs that azure deployment is supported with gen2 filesystem). Could you please point me to what reuse logic from kedro you are referring to ? Thank you

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/kedro-org/kedro/blob/80ad182a220d691c77efc05cc4e2b36dcecb6ac7/kedro/io/core.py#L711
95% identical to fsspec to handle some extra edge cases. If this only support abfs it is fine too, but worth mentioning in the docs.

super().__init__()
self._endpoint = endpoint
self._bucket_name = bucket_name
self._path = f"{_AZ_PROTOCOL}://$web"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is $web?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$web is the default container in AzureBlobStorage when someone enables static website hosting. We will mention this in the docs that the users need to have this container to use static hosting.

package/setup.py Outdated
Comment on lines 61 to 62
"aws": ["s3fs>=2021.4,<2024.1"],
"azure": ["adlfs>=2021.4,<2024.1"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any documentation explains why this pin differently from kedro? It would be nice even if it's just an in-line comment. Some users were asking why this is pinned, from my understanding it only affect kedro-viz user who is using the static site deployment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, the issue was files were being copied differently from fsspec>=2024.1. The project structure was not maintained. But, you are right I will try to see if we can remove the upperbound, if not will document this with a comment here and also in the deployment docs. Thank you !

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @noklam , I tested with the latest version of fsspec, s3fs and adlfs. The deployment seems to work fine. I would request @jitu5 to test it and confirm. If it works fine, we will drop the upperbound and sync it with kedro. Thanks for pointing this 👍

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ravi-kumar-pilla I tested with the latest version of fsspec, s3fs and adlfs and its works fine for me.

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
@noklam noklam self-requested a review February 13, 2024 14:04
@ravi-kumar-pilla ravi-kumar-pilla merged commit 25a7aff into feature/shareableviz-extended-support Feb 13, 2024
17 checks passed
@ravi-kumar-pilla ravi-kumar-pilla deleted the feature/shareableviz-az branch February 13, 2024 15:09
ravi-kumar-pilla added a commit that referenced this pull request Feb 26, 2024
* refactor router to accept new deployer inputs (#1739)

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* Refactor Shareableviz CLI (#1740)

* refactor router to accept new deployer inputs

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* refactor cli for shareableviz deploy

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* merge router change

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* PR comments fix

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

---------

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* Kedro Viz Static Website hosting on Azure  (#1708)

* CLI command kedro viz build added

* Lint fix

* lint fix

* Lint fix

* add mypy ignore

* Missing build file added

* Lint error fix

* BaseDeployer class added

* Unused code removed

* Fix lint issue

* azure deploy initial draft

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* added base_deployer

* add deployer factory

* partial working draft

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* Test and comments of deployers updated

* test draft

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix lint

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* remove circular dependency

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix lint

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* revert back consent

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* minor updates

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* update pytests

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* add pytest for azure shareableviz

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* refactor and add timeout

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* refactor cli

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* update pytest

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* add release note

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix PR comments and flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* testing flaky c
y test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* remove flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* resolve conflicts

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix PR comments

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* add back cypress flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* remove cypress flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* remove duplicate pytest parameter

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* remove fsspec upper bound

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

---------

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Co-authored-by: Jitendra Gundaniya <jitendra_gundaniya@mckinsey.com>
Co-authored-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>

* Kedro Viz Static Website Hosting on GCP (#1711)

* CLI command kedro viz build added

* Lint fix

* lint fix

* Lint fix

* add mypy ignore

* Missing build file added

* Lint error fix

* BaseDeployer class added

* Unused code removed

* Fix lint issue

* azure deploy initial draft

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* added base_deployer

* add deployer factory

* partial working draft

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* Test and comments of deployers updated

* test draft

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix lint

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* remove circular dependency

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix lint

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* revert back consent

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* initial draft

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* minor updates

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* update pytests

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* add pytest for azure shareableviz

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* refactor and add timeout

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* refactor cli

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* update pytest

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* add release note

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix PR comments and flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* testing flaky c
y test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* remove flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* add pytest for gcp

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix gcp pytest coverage

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix lint

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* update pytest

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* revert file permission change

---------

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Co-authored-by: Jitendra Gundaniya <jitendra_gundaniya@mckinsey.com>
Co-authored-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>

* Sharable Kedro-Viz UI for AWS, GCP and Azure (#1718)

* shareable viz with multiple platform UI

* test fix

* Relative path fix for user entered url

* Test updated

* Test updated

* UI alignment and endpoint help text added.

Signed-off-by: <>

* Add Kedro-Viz documentation URLs and update modal content

Signed-off-by: <>

* Code review suggestions added

Signed-off-by: <>

* Refactor form field names in ShareableUrlModal component

Signed-off-by: <>

* Add cursor style to input field in shareable-url-modal.js

Signed-off-by: <>

* Add cursor style to input field in shareable-url-modal.js

Signed-off-by: <>

* Variable names updated.

Signed-off-by: <>

* add exception handlers

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* Disclaimer note added and shareable-url-modal component refactored by moving major jsx to other file

Signed-off-by: <>

* Wrapped the prop methods with useCallback

Signed-off-by: <>

* info text updated.

Signed-off-by: <>

* Test fixed

Signed-off-by: <>

* test fix and rearranging jsx

Signed-off-by: <>

* Cypress test fix

Signed-off-by: <>

* button text updated

Signed-off-by: <>

* Keeping button text as Publish for a link seetings

Signed-off-by: <>

---------

Signed-off-by: <>
Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Co-authored-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* Kedro-viz doc link added in disclaimer note.

Signed-off-by: <>

---------

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Signed-off-by: <>
Co-authored-by: Jitendra Gundaniya <jitendra_gundaniya@mckinsey.com>
Co-authored-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>
Co-authored-by: Jitendra Gundaniya <38945204+jitu5@users.noreply.github.com>
@ravi-kumar-pilla ravi-kumar-pilla mentioned this pull request Mar 1, 2024
5 tasks
jitu5 added a commit that referenced this pull request Apr 12, 2024
…dular pipelines flag (#1799)

* shareable viz with multiple platform UI

* test fix

* Relative path fix for user entered url

* Test updated

* Test updated

* refactor router to accept new deployer inputs (#1739)

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* Refactor Shareableviz CLI (#1740)

* refactor router to accept new deployer inputs

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* refactor cli for shareableviz deploy

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* merge router change

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* PR comments fix

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

---------

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* Kedro Viz Static Website hosting on Azure  (#1708)

* CLI command kedro viz build added

* Lint fix

* lint fix

* Lint fix

* add mypy ignore

* Missing build file added

* Lint error fix

* BaseDeployer class added

* Unused code removed

* Fix lint issue

* azure deploy initial draft

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* added base_deployer

* add deployer factory

* partial working draft

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* Test and comments of deployers updated

* test draft

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix lint

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* remove circular dependency

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix lint

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* revert back consent

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* minor updates

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* update pytests

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* add pytest for azure shareableviz

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* refactor and add timeout

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* refactor cli

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* update pytest

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* add release note

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix PR comments and flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* testing flaky c
y test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* remove flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* resolve conflicts

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix PR comments

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* add back cypress flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* remove cypress flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* remove duplicate pytest parameter

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* remove fsspec upper bound

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

---------

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Co-authored-by: Jitendra Gundaniya <jitendra_gundaniya@mckinsey.com>
Co-authored-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>

* Kedro Viz Static Website Hosting on GCP (#1711)

* CLI command kedro viz build added

* Lint fix

* lint fix

* Lint fix

* add mypy ignore

* Missing build file added

* Lint error fix

* BaseDeployer class added

* Unused code removed

* Fix lint issue

* azure deploy initial draft

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* added base_deployer

* add deployer factory

* partial working draft

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* Test and comments of deployers updated

* test draft

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix lint

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* remove circular dependency

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix lint

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* revert back consent

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* initial draft

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* minor updates

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* update pytests

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* add pytest for azure shareableviz

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* refactor and add timeout

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* refactor cli

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* update pytest

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* add release note

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix PR comments and flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* testing flaky c
y test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* remove flaky test

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* add pytest for gcp

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix gcp pytest coverage

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* fix lint

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* update pytest

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>

* revert file permission change

---------

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Co-authored-by: Jitendra Gundaniya <jitendra_gundaniya@mckinsey.com>
Co-authored-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>

* Initial commit

* Set query params from local storage on load

* Test fix

* test fix

* Test fixes

* Some method docs added.

* Shortening existing URL query params focused_id, selected_id, selected_name and pipeline_id

* Fix experiment tracking search query test

* Clear filter button added

* Missing test added

* Release note added

* Clear to Reset

* Release note & retain qparams updated

* fixes

* almost done

* missing nodeTypes added

* URL Params handling moved to user-generated-pathname.js

* Review suggestion added

* getKeysByValue moved

* updateStateWithFilters renamed

* Reset button status check removed

* Reset buton status test removed

* Reset button status check revert

* Reset button UI update

* code review suggestions for reset button status

* state compare for nodeTypes

* On group filter click fix

* Task to node mapping added

* All nodeTypes match UI labels with URLparmas

* Removed console.log

* modified test as per query param name update

---------

Signed-off-by: ravi-kumar-pilla <ravi_kumar_pilla@mckinsey.com>
Co-authored-by: Ravi Kumar Pilla <ravi_kumar_pilla@mckinsey.com>
Co-authored-by: rashidakanchwala <rashida_kanchwala@mckinsey.com>
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.

Shareable Viz with Azure
6 participants