Skip to content

Commit

Permalink
0.11.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ciusji committed Jul 29, 2022
0 parents commit 4e212f4
Show file tree
Hide file tree
Showing 2,887 changed files with 357,925 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[run]
relative_files = True
branch = True
source = ingestion/src/
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---

**Affected module**
Does it impact the UI, backend or Ingestion Framework?

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**

Screenshots or steps to reproduce

**Expected behavior**
A clear and concise description of what you expected to happen.

**Version:**
- OS: [e.g. iOS]
- Python version:
- Metadata version: [e.g. 0.8]
- Metadata Ingestion package version: [e.g. `openmetadata-ingestion[docker]==XYZ`]

**Additional context**
Add any other context about the problem here.
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/doc_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Documentation Request
about: Let us know what our docs can improve
title: ''
labels: 'documentation'
assignees: ''
---

**Is some content missing, wrong or not clear?**
A clear and concise description of what the problem is and the source URL. Ex. Page [...] is not clear.

**Describe the solution you'd like**
Let us know what could help us improve the docs.

**Additional context**
Add any other context or screenshots about the feature request here.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/epic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Epic Feature
about: Roadmap track of features
title: ''
labels: 'epic'
assignees: ''
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.

**Related issues**
- ...
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_task.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Feature task
about: Create a Feature based on an issue
title: ''
labels: ''
assignees: ''
---

**Feature**
Add feature issue reference

**Describe the task**
A clear and concise description of what the bug is.
34 changes: 34 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
### Describe your changes :
<!-- Explain what you have done & tag your assigned issue !-->
I worked on the ..... because ...

#
### Type of change :
<!-- You should choose 1 option and delete options that aren't relevant -->
- [x] Bug fix
- [x] Improvement
- [x] New feature
- [] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [] Documentation

#
### Frontend Preview (Screenshots) :
<p align="center">For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.
</p>

#
### Checklist:
<!-- add an x in [] if done, don't mark items that you didn't do !-->
- [x] I have read the `CONTRIBUTING` document.
- [ ] I have commented on my code, particularly in hard-to-understand areas.
- [ ] I have added tests that prove my fix is effective or that my feature works.
- [x] All new and existing tests passed.

#
### Reviewers
<!-- Please see the contributing guidelines and then add your reviewer(s) !-->
<!--- OpenMetadata community thanks you for explaining your changes in detail !-->
<!--- If you are unsure of people to review your work, you can add anyone of these developers :) !-->
<!--- Frontend: @metadata/ui -->
<!--- Backend: @metadata/backend -->
<!--- Ingestion: @metadata/ingestion -->
108 changes: 108 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Copyright 2021 Collate
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Created by .ignore support plugin (hsz.mobi)
# Maven
__pycache__
target/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties

catalog-services/catalog-services.iml
# Java template
*.class
venv
env
# logs
logs
*.log
*.egg-info
.eggs
*.db
# Eclipse
.settings/
.project
.classpath

# Intellij
*.iml
*.ipr
*.iws
.idea/
# Package Files
*.jar
*.war
*.ear

# mac dir files
.DS_Store

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
node_modules
build
dist

# Registry Kerberos SASL secrets directory
secrets

# ts build info and report
metadata-ui/src/main/resources/ui/webpack
metadata-ui/src/main/resources/ui/tsconfig.tsbuildinfo

#tests
.coverage
/ingestion/coverage.xml
/ingestion/junit/*
metadata-ui/src/main/resources/ui/src/test/unit/coverage
metadata-ui/src/main/resources/ui/test-report.xml

# Cypress artifacts
metadata-ui/src/main/resources/ui/cypress/screenshots
metadata-ui/src/main/resources/ui/cypress/videos
metadata-ui/src/main/resources/ui/cypress/fixtures

#UI - Dereferenced Schemas
metadata-ui/src/main/resources/ui/src/jsons/connectionSchemas

#UI - Generated TS
metadata-ui/src/main/resources/ui/src/generated

#vscode
*/.vscode/*
.vscode/*

# Python generated sources
ingestion-core/src/metadata/generated/**
ingestion/src/metadata/generated/**
ingestion/requirements.txt
ingestion/.python-version
ingestion/venv2/**
.python-version

# MLFlow
mlruns/
/ingestion/tests/integration/source/mlflow/tests/db/

# Antlr
/metadata-ui/src/main/resources/ui/src/antlr/generated/Fqn.interp
/metadata-ui/src/main/resources/ui/src/antlr/generated/Fqn.tokens
/metadata-ui/src/main/resources/ui/src/antlr/generated/FqnLexer.interp
/metadata-ui/src/main/resources/ui/src/antlr/generated/FqnLexer.tokens

# SQLAlchemy tests
file:cachedb
Empty file added .nojekyll
Empty file.
41 changes: 41 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
repos:
- repo: https://github.com/ambv/black
rev: 21.12b0
hooks:
- id: black
language_version: python3.8
exclude: ingestion/src/metadata/generated
- repo: https://github.com/timothycrosley/isort
rev: 5.9.3
hooks:
- id: isort
args: ["--profile", "black"]
exclude: ingestion/src/metadata/generated
- repo: https://github.com/hadialqattan/pycln
rev: v1.2.4
hooks:
- id: pycln
exclude: ingestion/src/metadata/generated
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
hooks:
- id: prettier
files: ^catalog-rest-service/src/main/resources/json/schema/
- repo: local
hooks:
- id: google-style-java
name: Google Java Code Style for Java
description: Formats code in Google's Java codestyle with 120 line length.
entry: scripts/format-code.sh
language: script
files: \.java$
require_serial: true
- repo: local
hooks:
- id: lint-staged
name: lint-staged
description: Formats TS and JS code.
entry: scripts/lint-staged.sh
language: script
files: \.(js|jsx|ts|tsx)$
require_serial: true
28 changes: 28 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[BASIC]
# W1203: logging-fstring-interpolation - f-string brings better readability and unifies style
# W1202: logging-format-interpolation - lazy formatting in logging functions
# R0903: too-few-public-methods - False negatives in pydantic classes
# W0707: raise-missing-from - Tends to be a false positive as exception are closely encapsulated
# R0901: too-many-ancestors - We are already inheriting from SQA classes with a bunch of ancestors
# W0703: broad-except - We are dealing with many different source systems, but we want to make sure workflows run until the end
# W0511: fixme - These are internal notes and guides
disable=W1203,W1202,R0903,W0707,R0901,W1201,W0703,W0511

docstring-min-length=20
max-args=7
max-attributes=12

# usual typevar naming
good-names=T,C,fn

[MASTER]
fail-under=6.0
init-hook='from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.dirname(find_pylintrc()))'
extension-pkg-allow-list=pydantic

[MESSAGES CONTROL]
disable=no-name-in-module

[FORMAT]
# We all have big monitors now
max-line-length=120
13 changes: 13 additions & 0 deletions .run/Template JUnit.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<component name="ProjectRunConfigurationManager">
<configuration default="true" type="JUnit" factoryName="JUnit">
<module name="catalog-rest-service" />
<option name="PACKAGE_NAME" value="" />
<option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="package" />
<option name="VM_PARAMETERS" value="-ea -DjdbcContainerClassName=org.testcontainers.containers.MySQLContainer -DjdbcContainerImage=mysql:8" />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>
Loading

0 comments on commit 4e212f4

Please sign in to comment.