-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95f229a
commit a572d0e
Showing
177 changed files
with
38,169 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You 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. | ||
*/ | ||
export default { | ||
extends: ["@commitlint/config-conventional"], | ||
rules: { | ||
"type-enum": [ | ||
2, | ||
"always", | ||
[ | ||
"build", | ||
"chore", | ||
"ci", | ||
"docs", | ||
"feat", | ||
"fix", | ||
"perf", | ||
"refactor", | ||
"revert", | ||
"style", | ||
"test", | ||
], | ||
], | ||
"type-case": [0], | ||
"type-empty": [0], | ||
"scope-empty": [0], | ||
"scope-case": [0], | ||
"subject-full-stop": [0, "never"], | ||
"subject-case": [0, "never"], | ||
"header-max-length": [0, "always", 72], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You 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. | ||
|
||
VITE_VUE_APP_HOST= | ||
VITE_BACKEND_URL= | ||
VITE_VUE_APP_MN_CONFIG_PREFIX= | ||
VITE_VUE_APP_MN_CONFIG_SOCKET= | ||
VITE_VUE_APP_VERSION= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You 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. | ||
|
||
node_modules | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"root": true, | ||
"env": { | ||
"browser": true, | ||
"es2021": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:vue/vue3-essential", | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier" | ||
], | ||
"overrides": [], | ||
"parser": "vue-eslint-parser", | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module", | ||
"parser": "@typescript-eslint/parser" | ||
}, | ||
"settings": { | ||
"import/resolver": { | ||
"typescript": {}, | ||
"alias": { | ||
"map": ["@", "./src"], | ||
"extentions": [".js", ".ts", ".vue"] | ||
} | ||
} | ||
}, | ||
"plugins": ["vue", "@typescript-eslint"], | ||
"rules": { | ||
"indent": ["error", 2], | ||
"linebreak-style": ["error", "unix"], | ||
"semi": ["error", "always"], | ||
"vue/multi-word-component-names": 0, | ||
"quotes": ["error", "double"], | ||
"vue/html-quotes": ["error", "double"], | ||
"import/extensions": "off" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
* text=auto | ||
* text eol=lf | ||
*.png binary | ||
*.gif binary | ||
*.ttf binary | ||
*.woff binary | ||
*.eot binary | ||
*.woff binary | ||
*.otf binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.DS_Store | ||
.vscode | ||
.cache | ||
.idea/ | ||
|
||
node_modules/ | ||
dist/ | ||
|
||
package-lock.json | ||
apache-linkis-*.tar.gz | ||
./cn.json | ||
.env.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
# | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You 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. | ||
# | ||
|
||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx --no-install commitlint --edit $1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
# | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You 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. | ||
# | ||
|
||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one or more | ||
* contributor license agreements. See the NOTICE file distributed with | ||
* this work for additional information regarding copyright ownership. | ||
* The ASF licenses this file to You 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. | ||
*/ | ||
|
||
export default { | ||
trailingComma: "all", | ||
tabWidth: 4, | ||
semi: true, | ||
singleQuote: true, | ||
overrides: [ | ||
{ | ||
files: [".prettierrc.js", ".commitlintrc.ts"], | ||
// options: { "parser": "json" } | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
<h2 align="center"> | ||
Apache Linkis Web | ||
</h2> | ||
|
||
<p align="center"> | ||
<strong> Linkis builds a computation middleware layer to facilitate connection, | ||
governance and orchestration between the upper applications and the underlying data engines. </strong> | ||
</p> | ||
<p align="center"> | ||
<a href="https://linkis.apache.org/">https://linkis.apache.org/</a> | ||
</p> | ||
|
||
<p align="center"> | ||
<a href="https://linkis.apache.org/docs/latest/introduction/" > | ||
<img src="https://img.shields.io/badge/document-English-blue.svg" alt="EN docs" /> | ||
</a> | ||
<a href="https://linkis.apache.org/zh-CN/docs/latest/introduction/"> | ||
<img src="https://img.shields.io/badge/文档-简体中文-blue.svg" alt="简体中文文档" /> | ||
</a> | ||
</p> | ||
|
||
<p align="center"> | ||
<a target="_blank" href="https://search.maven.org/search?q=g:org.apache.linkis%20AND%20a:linkis"> | ||
<img src="https://img.shields.io/maven-central/v/org.apache.linkis/linkis.svg?label=maven%20central" /> | ||
</a> | ||
<a target="_blank" href="https://github.com/apache/linkis/blob/master/LICENSE"> | ||
<img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg?label=license" /> | ||
</a> | ||
<a target="_blank" href="https://www.oracle.com/technetwork/java/javase/downloads/index.html"> | ||
<img src="https://img.shields.io/badge/JDK-8-green.svg" /> | ||
</a> | ||
<a target="_blank" href="https://github.com/apache/linkis/actions"> | ||
<img src="https://github.com/apache/linkis/actions/workflows//build-backend.yml/badge.svg" /> | ||
</a> | ||
|
||
<a target="_blank" href='https://github.com/apache/linkis'> | ||
<img src="https://img.shields.io/github/forks/apache/linkis.svg" alt="github forks"/> | ||
</a> | ||
<a target="_blank" href='https://github.com/apache/linkis'> | ||
<img src="https://img.shields.io/github/stars/apache/linkis.svg" alt="github stars"/> | ||
</a> | ||
<a target="_blank" href='https://github.com/apache/linkis'> | ||
<img src="https://img.shields.io/github/contributors/apache/linkis.svg" alt="github contributors"/> | ||
</a> | ||
<a target="_blank" href="https://badges.toozhao.com/stats/01G7TRNN1PH9PMSCYWDF3EK4QT"> | ||
<img src="https://badges.toozhao.com/badges/01G7TRNN1PH9PMSCYWDF3EK4QT/green.svg" /> | ||
</a> | ||
|
||
</p> | ||
<br/> | ||
|
||
--- | ||
[English](README.md) | [中文](README_CN.md) | ||
|
||
# Introduction | ||
|
||
Linkis builds a layer of computation middleware between upper applications and underlying engines. By using standard interfaces such as REST/WS/JDBC provided by Linkis, the upper applications can easily access the underlying engines such as MySQL/Spark/Hive/Presto/Flink, etc., and achieve the intercommunication of user resources like unified variables, scripts, UDFs, functions and resource files at the same time. | ||
|
||
Linkis Web provides a management system for easy management of user resources. | ||
|
||
# Start | ||
|
||
```shell | ||
# configure the project basic information in the `src/.env` firstly | ||
cd linkis/linkis-web-next | ||
npm install | ||
npm run dev | ||
|
||
# build | ||
npm run build | ||
``` | ||
|
||
# File Structure | ||
|
||
> ├── README.md | ||
> ├── README_CN.md | ||
> ├── index.html | ||
> ├── node_modules | ||
> ├── package-lock.json | ||
> ├── package.json | ||
> ├── pom.xml | ||
> ├── public | ||
> │ ├── favicon.ico` | ||
> │ ├── sidebar | ||
> │ └── vite.svg | ||
> ├── release-docs | ||
> │ ├── LICENSE | ||
> │ ├── NOTICE | ||
> │ └── licenses | ||
> ├── src | ||
> │ ├── App.vue | ||
> │ ├── assets | ||
> │ ├── components | ||
> │ ├── config | ||
> │ ├── dss | ||
> │ ├── env.d.ts | ||
> │ ├── helper | ||
> │ ├── index.d.ts | ||
> │ ├── layout.vue | ||
> │ ├── locales | ||
> │ ├── main.ts | ||
> │ ├── pages | ||
> │ ├── router | ||
> │ ├── scriptis | ||
> │ ├── service | ||
> │ ├── style | ||
> │ ├── util | ||
> │ └── vite-env.d.ts | ||
> ├── tsconfig.json | ||
> ├── tsconfig.node.json | ||
> └── vite.config.ts | ||
# Contributing | ||
|
||
Contributions are always welcomed, we need more contributors to build Linkis together. either code, or doc, or other supports that could help the community. | ||
For code and documentation contributions, please follow the [contribution guide](https://linkis.apache.org/community/how-to-contribute). | ||
|
||
# Contact Us | ||
|
||
- Any questions or suggestions please kindly submit an [issue](https://github.com/apache/linkis/issues). | ||
- By mail [[email protected]](mailto:[email protected]) | ||
- You can scan the QR code below to join our WeChat group to get more immediate response | ||
|
||
<img src="https://linkis.apache.org/Images/wedatasphere_contact_01.png" width="256"/> | ||
|
||
# Who is Using Linkis | ||
|
||
We opened an issue [[Who is Using Linkis]](https://github.com/apache/linkis/issues/23) for users to feedback and record who is using Linkis. | ||
Since the first release of Linkis in 2019, it has accumulated more than **700** trial companies and **1000+** sandbox trial users, which involving diverse industries, from finance, banking, tele-communication, to manufactory, internet companies and so on. |
Oops, something went wrong.