Skip to content

Commit

Permalink
Merge pull request #300 from WeBankFinTech/dev-1.0.0-rc
Browse files Browse the repository at this point in the history
Repair the problem of README.md in #300
  • Loading branch information
Davidhua1996 authored Jun 16, 2022
2 parents cbadc7b + 1b667f4 commit b5cf18d
Show file tree
Hide file tree
Showing 1,623 changed files with 71,260 additions and 78,214 deletions.
103 changes: 103 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
name: Bug report
title: "[Bug] "
description: Problems and issues with code of Exchangis
labels: [bug, triage]
body:
- type: markdown
attributes:
value: |
Thank you for reporting the problem!
Please make sure what you are reporting is a bug with reproducible steps. To ask questions
or share ideas, pleae post on our [Discussion page](https://github.com/WeBankFinTech/Exchangis/discussions) instead.
- type: checkboxes
attributes:
label: Search before asking
description: >
Please make sure to search in the [issues](https://github.com/WeBankFinTech/Exchangis/issues) first to see
whether the same issue was reported already.
options:
- label: >
I searched the [issues](https://github.com/WeBankFinTech/Exchangis/issues) and found no similar
issues.
required: true
- type: dropdown
attributes:
label: Exchangis Component
description: |
What component are you using? Exchangis has many modules, please make sure to choose the module that
you found the bug.
multiple: true
options:
- "exchangis-datasource"
- "exchangis-job-launcher"
- "exchangis-job-server"
- "exchangis-job-builder"
- "exchangis-job-metrics"
- "exchangis-project"
- "exchangis-plugins"
- "exchangis-dao"
- "exchangis-web"
validations:
required: true

- type: textarea
attributes:
label: What happened + What you expected to happen
description: Describe 1. the bug 2. expected behavior 3. useful information (e.g., logs)
placeholder: >
Please provide the context in which the problem occurred and explain what happened. Further,
To Reproduce Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '.... 4. See error
please also explain why you think the behaviour is erroneous. It is extremely helpful if you can
copy and paste the fragment of logs showing the exact error messages or wrong behaviour here.
**NOTE**: Expected behavior A clear and concise description of what you expected to happen.Screenshots If applicable, add screenshots to help explain your problem.
validations:
required: true

- type: textarea
attributes:
label: Relevent platform
description: The platform where you occurred this issue
placeholder: >
Please specify Desktop or Smartphone, Version / Dependencies / OS / Browser
validations:
required: true

- type: textarea
attributes:
label: Reproduction script
description: >
Please provide a reproducible script. Providing a narrow reproduction (minimal / no external dependencies) will
help us triage and address issues in the timely manner!
placeholder: >
Please provide a short code snippet (less than 50 lines if possible) that can be copy-pasted to
reproduce the issue. The snippet should have **no external library dependencies**
(i.e., use fake or mock data / environments).
**NOTE**: If the code snippet cannot be run by itself, the issue will be marked as "needs-repro-script"
until the repro instruction is updated.
validations:
required: true

- type: textarea
attributes:
label: Anything else
description: Anything else we need to know?
placeholder: >
How often does this problem occur? (Once? Every time? Only when certain conditions are met?)
Any relevant logs to include? Are there other relevant issues?
- type: checkboxes
attributes:
label: Are you willing to submit a PR?
description: >
This is absolutely not required, but we are happy to guide you in the contribution process
especially if you already have a good understanding of how to implement the fix.
options:
- label: Yes I am willing to submit a PR!

- type: markdown
attributes:
value: "Thanks for completing our form!"
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: fasle
contact_links:
- name: Ask a question or get support
url: https://github.com/WeBankFinTech/Exchangis/discussions
about: Ask a question or request support for using Exchangis
63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Exchangis feature request
description: Suggest an idea for Exchangis project
title: "[Feature] "
labels: [enhancement]
body:
- type: markdown
attributes:
value: |
Thank you for finding the time to propose a new feature!
We really appreciate the community efforts to improve Exchangis.
- type: checkboxes
attributes:
label: Search before asking
description: >
Please make sure to search in the [issues](https://github.com/WeBankFinTech/Exchangis/issues) first to see
whether the same feature was requested already.
options:
- label: >
I had searched in the [issues](https://github.com/WeBankFinTech/Exchangis/issues) and found no similar
feature requirement.
required: true
- type: textarea
attributes:
label: Problem Description
description: Is your feature request related to a problem? Please describe.

- type: textarea
attributes:
label: Description
description: A short description of your feature

- type: textarea
attributes:
label: Use case
description: >
Describe the use case of your feature request.
placeholder: >
Describe the solution you'd like A clear and concise description of what you want to happen.
- type: textarea
attributes:
label: solutions
description: Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

- type: textarea
attributes:
label: Anything else
description: Anything else we need to know?
placeholder: >
Additional context Add any other context or screenshots about the feature request here.
- type: checkboxes
attributes:
label: Are you willing to submit a PR?
description: >
This is absolutely not required, but we are happy to guide you in the contribution process
especially if you already have a good understanding of how to implement the feature.
options:
- label: Yes I am willing to submit a PR!

- type: markdown
attributes:
value: "Thanks for completing our form!"
28 changes: 28 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
### What is the purpose of the change
(For example: Exchangis-Job defines the core ability of Exchangis, it provides the abilities of job management, job transform, and job launch.
Related issues: #50. )

### Brief change log
(for example:)
- defines the job server module of Exchangis;
- defines the job launcher module of Exchangis;
- defines the job metrics module of Exchangis.

### Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
- Added tests for creating and execute the Exchangis jobs and verify the availability of different Exchangis Job, such as sqoop job, datax job.

### Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (yes / no)
- Anything that affects deployment: (yes / no / don't know)
- The Core framework, i.e., JobManager, Server.: (yes / no)

### Documentation
- Does this pull request introduce a new feature? (yes / no)
- If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
55 changes: 55 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#
# Copyright 2019 WeBank.
# 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.
#

name: Exchangis CI Actions

on:
push:
pull_request:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.17.3]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Build backend by maven
run: |
mvn -N install
mvn clean package
- name: Build frontend by node.js
run: |
cd web
npm install
npm run build
48 changes: 48 additions & 0 deletions .github/workflows/check_license.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#
# Copyright 2019 WeBank.
# 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.
#

name: Exchangis License check

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up JDK 8
uses: actions/setup-java@v2
with:
java-version: '8'
distribution: 'adopt'
- name: mvn -N install
run:
mvn -N install
- name: License check with Maven
run: |
rat_file=`mvn apache-rat:check | { grep -oe "\\S\\+/rat.txt" || true; }`
echo "rat_file=$rat_file"
if [[ -n "$rat_file" ]];then echo "check error!" && cat $rat_file && exit 123;else echo "check success!" ;fi
- name: Upload the report
uses: actions/upload-artifact@v2
with:
name: license-check-report
path: "**/target/rat.txt"
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ target

### IntelliJ IDEA ###
.idea
*.log
*.iws
*.iml
*.ipr
Expand All @@ -26,3 +27,12 @@ target
.mvn/wrapper/maven-wrapper.jar
.mvn/wrapper/maven-wrapper.properties
/packages/
exchangis-server/exchangis-extds
/logs/
/web/package-lock.json
package-lock.json
.DS_Store

web/dist

workspace/
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM harbor.local.hching.com/library/jdk:8u301

ADD assembly-package/target/wedatasphere-exchangis-1.0.0-RC1.tar.gz /opt/wedatasphere-exchangis.tar.gz

RUN cd /opt/wedatasphere-exchangis.tar.gz/packages/ && tar -zxf exchangis-server_1.0.0-RC1.tar.gz && cd /opt/wedatasphere-exchangis.tar.gz/sbin

WORKDIR /opt/wedatasphere-exchangis.tar.gz/sbin

ENTRYPOINT ["/bin/bash start.sh"]
Loading

0 comments on commit b5cf18d

Please sign in to comment.