Unverified Commit c0b6ff48 authored by Tao Feng's avatar Tao Feng Committed by GitHub

chore: clean and modify repo references (#632)

Signed-off-by: 's avatarfeng-tao <fengtao04@gmail.com>
parent 7a4d4f08
[submodule "amundsendatabuilder"] [submodule "amundsendatabuilder"]
path = amundsendatabuilder path = amundsendatabuilder
url = https://github.com/lyft/amundsendatabuilder url = https://github.com/amundsen-io/amundsendatabuilder
branch = master branch = master
[submodule "amundsenfrontendlibrary"] [submodule "amundsenfrontendlibrary"]
path = amundsenfrontendlibrary path = amundsenfrontendlibrary
url = https://github.com/lyft/amundsenfrontendlibrary url = https://github.com/amundsen-io/amundsenfrontendlibrary
branch = master branch = master
[submodule "amundsenmetadatalibrary"] [submodule "amundsenmetadatalibrary"]
path = amundsenmetadatalibrary path = amundsenmetadatalibrary
url = https://github.com/lyft/amundsenmetadatalibrary url = https://github.com/amundsen-io/amundsenmetadatalibrary
branch = master branch = master
[submodule "amundsensearchlibrary"] [submodule "amundsensearchlibrary"]
path = amundsensearchlibrary path = amundsensearchlibrary
url = https://github.com/lyft/amundsensearchlibrary url = https://github.com/amundsen-io/amundsensearchlibrary
branch = master branch = master
[submodule "amundsencommon"] [submodule "amundsencommon"]
path = amundsencommon path = amundsencommon
url = https://github.com/lyft/amundsencommon url = https://github.com/amundsen-io/amundsencommon
...@@ -2,13 +2,13 @@ apiVersion: v1 ...@@ -2,13 +2,13 @@ apiVersion: v1
description: Amundsen is a metadata driven application for improving the productivity of data analysts, data scientists and engineers when interacting with data. description: Amundsen is a metadata driven application for improving the productivity of data analysts, data scientists and engineers when interacting with data.
name: amundsen name: amundsen
version: 2.0.0 version: 2.0.0
icon: https://github.com/lyft/amundsen/blob/master/docs/img/logos/amundsen_logo_on_light.svg icon: https://github.com/amundsen-io/amundsen/blob/master/docs/img/logos/amundsen_logo_on_light.svg
home: https://github.com/lyft/amundsen home: https://github.com/amundsen-io/amundsen
maintainers: maintainers:
- name: Shaun Elliott - name: Amundsen TSC
email: javamonkey79@gmail.com email: amundsen-tsc@lists.lfai.foundation
sources: sources:
- https://github.com/lyft/amundsen - https://github.com/amundsen-io/amundsen
keywords: keywords:
- metadata - metadata
- data - data
\ No newline at end of file
set -ex set -ex
#REPO="git@github.com:lyft/amundsen.git" #REPO="git@github.com:amundsen-io/amundsen.git"
#DIR=temp-clone #DIR=temp-clone
# We use https://www.mkdocs.org/user-guide/deploying-your-docs/ to build/deploy docs # We use https://www.mkdocs.org/user-guide/deploying-your-docs/ to build/deploy docs
# Currently the doc is built/deployed manually. We should first build and deploy locally and verify it. # Currently the doc is built/deployed manually. We should first build and deploy locally and verify it.
......
...@@ -72,8 +72,8 @@ services: ...@@ -72,8 +72,8 @@ services:
- METADATASERVICE_BASE=http://amundsenmetadata:5000 - METADATASERVICE_BASE=http://amundsenmetadata:5000
# Only for easy config-less Quickstart bookmark evalutation. `TestConfig` extends ordinary `LocalConfig` by # Only for easy config-less Quickstart bookmark evalutation. `TestConfig` extends ordinary `LocalConfig` by
# defining `AUTH_USER_METHOD` to a hardcoded dummy user in `amundsen_application.tests.test_utils.get_test_user()` # defining `AUTH_USER_METHOD` to a hardcoded dummy user in `amundsen_application.tests.test_utils.get_test_user()`
# See further docs in https://github.com/lyft/amundsenfrontendlibrary/blob/master/docs/configuration.md#flask # See further docs in https://github.com/amundsen-io/amundsenfrontendlibrary/blob/master/docs/configuration.md#flask
# and https://github.com/lyft/amundsenfrontendlibrary/blob/master/docs/configuration.md#authentication # and https://github.com/amundsen-io/amundsenfrontendlibrary/blob/master/docs/configuration.md#authentication
- FRONTEND_SVC_CONFIG_MODULE_CLASS=amundsen_application.config.TestConfig - FRONTEND_SVC_CONFIG_MODULE_CLASS=amundsen_application.config.TestConfig
command: gunicorn -w 2 --bind :5000 amundsen_application.wsgi command: gunicorn -w 2 --bind :5000 amundsen_application.wsgi
......
...@@ -42,7 +42,7 @@ that can be used for data exploration and it is what we leverage internally at L ...@@ -42,7 +42,7 @@ that can be used for data exploration and it is what we leverage internally at L
![](../img/tutorials/superset-sqllab-verify.png) ![](../img/tutorials/superset-sqllab-verify.png)
4. Next, We need to build a preview client following this [guide](../frontend/docs/examples/superset_preview_client.md) 4. Next, We need to build a preview client following this [guide](../frontend/docs/examples/superset_preview_client.md)
and the [example client code](https://github.com/lyft/amundsenfrontendlibrary/blob/master/amundsen_application/base/examples/example_superset_preview_client.py). and the [example client code](https://github.com/amundsen-io/amundsenfrontendlibrary/blob/master/amundsen_application/base/examples/example_superset_preview_client.py).
There are a couple of things to keep in mind: There are a couple of things to keep in mind:
- We could start with an unauthenticated Superset([example superset config](https://gist.github.com/feng-tao/b89e6faf7236372cef70a44f13615c39)), - We could start with an unauthenticated Superset([example superset config](https://gist.github.com/feng-tao/b89e6faf7236372cef70a44f13615c39)),
but in production, we will need to send the impersonate info to Superset but in production, we will need to send the impersonate info to Superset
......
...@@ -10,9 +10,9 @@ The doc won't cover how to setup a postgres database. ...@@ -10,9 +10,9 @@ The doc won't cover how to setup a postgres database.
1. In the example, we have a postgres table in localhost postgres named `films`. 1. In the example, we have a postgres table in localhost postgres named `films`.
![](../img/tutorials/postgres.png) ![](../img/tutorials/postgres.png)
2. We leverage the [postgres metadata extractor](https://github.com/lyft/amundsendatabuilder/blob/master/databuilder/extractor/postgres_metadata_extractor.py) 2. We leverage the [postgres metadata extractor](https://github.com/amundsen-io/amundsendatabuilder/blob/master/databuilder/extractor/postgres_metadata_extractor.py)
to extract the metadata information of the postgres database. We could call the metadata extractor to extract the metadata information of the postgres database. We could call the metadata extractor
in an adhoc python function as this [example](https://github.com/lyft/amundsendatabuilder/pull/248/commits/f5064e58a19a5bfa380b333cfc657ebb34702a2c) in an adhoc python function as this [example](https://github.com/amundsen-io/amundsendatabuilder/pull/248/commits/f5064e58a19a5bfa380b333cfc657ebb34702a2c)
or from an Airflow DAG. or from an Airflow DAG.
3. Once we run the script, we could search the `films` table using Amundsen Search. 3. Once we run the script, we could search the `films` table using Amundsen Search.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment