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

tests(smoke): introducing first isolated smoke test: updating tags & terms #3496

Merged
merged 25 commits into from
Nov 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a167752
Fetch data flows in the relationship field
gabe-lyons Oct 28, 2021
1842acc
Merge branch 'master' of https://github.com/linkedin/datahub
gabe-lyons Oct 29, 2021
edfb7e0
Merge branch 'master' of https://github.com/linkedin/datahub
gabe-lyons Nov 1, 2021
11a57e0
create tag directory
gabe-lyons Nov 1, 2021
b251ec1
renaming & slicing down
gabe-lyons Nov 1, 2021
c4a89d8
small movements
jjoyce0510 Nov 1, 2021
03f8ca5
Merge branch 'isolating-smoke-tests' of https://github.com/acryldata/…
jjoyce0510 Nov 1, 2021
6481ed7
fixing accidental rename
gabe-lyons Nov 1, 2021
495e4b6
factoring ingest via rest into util class
gabe-lyons Nov 1, 2021
9e72eff
fix rename
gabe-lyons Nov 1, 2021
32c8668
making my changes
jjoyce0510 Nov 1, 2021
ed72d8c
Merge branch 'isolating-smoke-tests' of https://github.com/acryldata/…
jjoyce0510 Nov 1, 2021
01afceb
adding delete util
gabe-lyons Nov 1, 2021
a4d82a6
placeholder for ingest and cleanup data
jjoyce0510 Nov 1, 2021
9ac072c
rename file
gabe-lyons Nov 1, 2021
0c67500
Merge branch 'isolating-smoke-tests' of https://github.com/acryldata/…
jjoyce0510 Nov 1, 2021
0591c90
getting closer
jjoyce0510 Nov 1, 2021
5dff869
Close
jjoyce0510 Nov 1, 2021
bae2b97
final commit for gabe
jjoyce0510 Nov 1, 2021
9e931e5
session and host
gabe-lyons Nov 1, 2021
844ba9a
Merge branch 'isolating-smoke-tests' of github.com:acryldata/datahub-…
gabe-lyons Nov 1, 2021
bb290fd
fix up smoke test
gabe-lyons Nov 1, 2021
c2dd09e
rename
gabe-lyons Nov 1, 2021
e0fb765
fix rename
gabe-lyons Nov 1, 2021
6729b2e
lint fix
gabe-lyons Nov 1, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions metadata-ingestion/src/datahub/cli/cli_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import requests
import yaml
from pydantic import BaseModel, ValidationError
from requests.sessions import Session

log = logging.getLogger(__name__)

Expand Down Expand Up @@ -179,6 +180,14 @@ def post_delete_endpoint(
session, gms_host = get_session_and_host()
url = gms_host + path

return post_delete_endpoint_with_session_and_url(session, url, payload_obj)


def post_delete_endpoint_with_session_and_url(
session: Session,
url: str,
payload_obj: dict,
) -> typing.Tuple[str, int]:
payload = json.dumps(payload_obj)

response = session.post(url, payload)
Expand Down
Loading