Skip to content

Commit

Permalink
Merge pull request #91 from WeBankFinTech/branch-0.9.1
Browse files Browse the repository at this point in the history
Add ui and appconn source code in root directory.
  • Loading branch information
Tangjiafeng authored Mar 16, 2022
2 parents 6eec1ce + a18a7c2 commit 20094ee
Show file tree
Hide file tree
Showing 148 changed files with 41,532 additions and 20,204 deletions.
194 changes: 194 additions & 0 deletions appconn/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2019 WeBank
~ 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.
~
-->

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>dss</artifactId>
<groupId>com.webank.wedatasphere.dss</groupId>
<version>1.0.1</version>
<relativePath>../../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>dss-qualitis-appconn</artifactId>

<dependencies>
<dependency>
<groupId>com.webank.wedatasphere.dss</groupId>
<artifactId>dss-project-plugin</artifactId>
<version>${dss.version}</version>
</dependency>
<dependency>
<groupId>com.webank.wedatasphere.dss</groupId>
<artifactId>dss-appconn-core</artifactId>
<version>${dss.version}</version>
</dependency>
<dependency>
<groupId>com.webank.wedatasphere.dss</groupId>
<artifactId>spring-origin-dss-project-plugin</artifactId>
<version>${dss.version}</version>
</dependency>

<dependency>
<groupId>com.webank.wedatasphere.dss</groupId>
<artifactId>dss-structure-integration-standard</artifactId>
<version>${dss.version}</version>
</dependency>

<dependency>
<groupId>com.webank.wedatasphere.dss</groupId>
<artifactId>dss-development-process-standard</artifactId>
<version>${dss.version}</version>
</dependency>
<dependency>
<groupId>com.webank.wedatasphere.dss</groupId>
<artifactId>dss-development-process-standard-execution</artifactId>
<version>${dss.version}</version>
</dependency>

<dependency>
<groupId>org.apache.linkis</groupId>
<artifactId>linkis-cs-common</artifactId>
<version>${linkis.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.linkis</groupId>
<artifactId>linkis-bml-client</artifactId>
<version>${linkis.version}</version>
<exclusions>
<exclusion>
<artifactId>gson</artifactId>
<groupId>com.google.code.gson</groupId>
</exclusion>
</exclusions>
<scope>provided</scope>
<optional>true</optional>
</dependency>

<dependency>
<groupId>org.apache.linkis</groupId>
<artifactId>linkis-httpclient</artifactId>
<version>${linkis.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.linkis</groupId>
<artifactId>linkis-common</artifactId>
</exclusion>
<exclusion>
<artifactId>json4s-jackson_2.11</artifactId>
<groupId>org.json4s</groupId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.apache.linkis</groupId>
<artifactId>linkis-storage</artifactId>
<version>${linkis.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.apache.linkis</groupId>
<artifactId>linkis-common</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>com.webank.wedatasphere.dss</groupId>
<artifactId>dss-common</artifactId>
<version>${dss.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>


<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
</plugin>

<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.3</version>
<inherited>false</inherited>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/distribution.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
<configuration>
<skipAssembly>false</skipAssembly>
<finalName>out</finalName>
<appendAssemblyId>false</appendAssemblyId>
<attach>false</attach>
<descriptors>
<descriptor>src/main/assembly/distribution.xml</descriptor>
</descriptors>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>**/*.properties</exclude>
<exclude>**/application.yml</exclude>
<exclude>**/bootstrap.yml</exclude>
<exclude>**/log4j2.xml</exclude>
</excludes>
</resource>
</resources>
</build>

</project>
78 changes: 78 additions & 0 deletions appconn/src/main/assembly/distribution.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<!--
~ Copyright 2019 WeBank
~ 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.
~
-->

<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/2.3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/2.3 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
<id>dss-qualitis-appconn</id>
<formats>
<format>dir</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<baseDirectory>qualitis</baseDirectory>

<dependencySets>
<dependencySet>
<outputDirectory>lib</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<useTransitiveDependencies>true</useTransitiveDependencies>
<unpack>false</unpack>
<useStrictFiltering>true</useStrictFiltering>
<useTransitiveFiltering>true</useTransitiveFiltering>
</dependencySet>
</dependencySets>

<fileSets>
<fileSet>
<directory>${basedir}/conf</directory>
<includes>
<include>*</include>
</includes>
<fileMode>0777</fileMode>
<outputDirectory>conf</outputDirectory>
<lineEnding>unix</lineEnding>
</fileSet>
<fileSet>
<directory>${basedir}/bin</directory>
<includes>
<include>*</include>
</includes>
<fileMode>0777</fileMode>
<outputDirectory>bin</outputDirectory>
<lineEnding>unix</lineEnding>
</fileSet>
<fileSet>
<directory>.</directory>
<excludes>
<exclude>*/**</exclude>
</excludes>
<outputDirectory>logs</outputDirectory>
</fileSet>

<fileSet>
<directory>${basedir}/src/main/resources</directory>
<includes>
<include>init.sql</include>
</includes>
<fileMode>0777</fileMode>
<outputDirectory>db</outputDirectory>
<lineEnding>unix</lineEnding>
</fileSet>
</fileSets>

</assembly>

Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/*
* Copyright 2019 WeBank
* 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.
*
*/

package com.webank.wedatasphere.dss.appconn.qualitis;

import com.webank.wedatasphere.dss.appconn.core.ext.ThirdlyAppConn;
import com.webank.wedatasphere.dss.appconn.core.impl.AbstractOnlySSOAppConn;
import com.webank.wedatasphere.dss.standard.app.development.standard.DevelopmentIntegrationStandard;
import com.webank.wedatasphere.dss.standard.app.structure.StructureIntegrationStandard;
import org.apache.linkis.common.conf.CommonVars;

/**
* @author [email protected]
* @date 2021/6/21 14:40
*/
public class QualitisAppConn extends AbstractOnlySSOAppConn implements ThirdlyAppConn {
public static final String QUALITIS_APPCONN_NAME = CommonVars.apply("wds.dss.appconn.qualitis.name", "Qualitis").getValue();

private QualitisDevelopmentIntegrationStandard developmentIntegrationStandard;
private QualitisStructureIntegrationStandard structureIntegrationStandard;

@Override
protected void initialize() {
structureIntegrationStandard = new QualitisStructureIntegrationStandard();
developmentIntegrationStandard = new QualitisDevelopmentIntegrationStandard();
}

@Override
public StructureIntegrationStandard getOrCreateStructureStandard() {
return structureIntegrationStandard;
}

@Override
public DevelopmentIntegrationStandard getOrCreateDevelopmentStandard() {
return developmentIntegrationStandard;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/*
* Copyright 2019 WeBank
* 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.
*
*/

package com.webank.wedatasphere.dss.appconn.qualitis;

import com.webank.wedatasphere.dss.appconn.qualitis.execution.QualitisExecutionService;
import com.webank.wedatasphere.dss.appconn.qualitis.service.QualitisCrudService;
import com.webank.wedatasphere.dss.appconn.qualitis.service.QualitisQueryService;
import com.webank.wedatasphere.dss.appconn.qualitis.service.QualitisRefExportService;
import com.webank.wedatasphere.dss.appconn.qualitis.service.QualitisRefImportService;
import com.webank.wedatasphere.dss.standard.app.development.service.*;
import com.webank.wedatasphere.dss.standard.app.development.standard.AbstractDevelopmentIntegrationStandard;

/**
* @author [email protected]
* @date 2021/6/21 14:40
*/
public class QualitisDevelopmentIntegrationStandard extends AbstractDevelopmentIntegrationStandard {

@Override
protected RefCRUDService createRefCRUDService() {
return new QualitisCrudService();
}

@Override
protected RefExecutionService createRefExecutionService() { return new QualitisExecutionService(); }

@Override
protected RefExportService createRefExportService() {
return new QualitisRefExportService();
}

@Override
protected RefImportService createRefImportService() { return new QualitisRefImportService(); }

@Override
protected RefQueryService createRefQueryService() {
return new QualitisQueryService();
}

}
Loading

0 comments on commit 20094ee

Please sign in to comment.