Initial commit all

master
Hoshi 2024-05-18 16:48:51 +08:00
parent ae0ad80a86
commit 98323cfe0d
5 changed files with 145 additions and 0 deletions

8
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,8 @@
@Library('jgpl') _
servicePipeline([
environment: [
version : '5.6.0-HBCL-RELEASE',
],
rpcDependenceServices:["cms", "cos", "fms", "ims", "sms"],
])

94
pom.xml Normal file
View File

@ -0,0 +1,94 @@
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.bocloud</groupId>
<artifactId>bocloud.bre</artifactId>
<version>5.6.0-RELEASE</version>
</parent>
<properties>
<bocloud.bre.version>5.6.0-RELEASE</bocloud.bre.version>
<bocloud.current.version>5.6.0-HBCL-RELEASE</bocloud.current.version>
</properties>
<artifactId>bocloud.rpc</artifactId>
<version>${bocloud.current.version}</version>
<dependencies>
<dependency>
<groupId>com.bocloud</groupId>
<artifactId>bocloud.acd.rpc</artifactId>
<version>${bocloud.bre.version}</version>
</dependency>
<dependency>
<groupId>com.bocloud</groupId>
<artifactId>bocloud.bre.service</artifactId>
<version>${bocloud.bre.version}</version>
</dependency>
<dependency>
<groupId>com.bocloud</groupId>
<artifactId>bocloud.sms.entity</artifactId>
<version>${bocloud.current.version}</version>
</dependency>
<dependency>
<groupId>com.bocloud</groupId>
<artifactId>bocloud.cos.entity</artifactId>
<version>${bocloud.current.version}</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>com.bocloud</groupId>-->
<!-- <artifactId>bocloud.cms.entity</artifactId>-->
<!-- <version>${bocloud.current.version}</version>-->
<!-- </dependency>-->
<dependency>
<groupId>com.bocloud</groupId>
<artifactId>bocloud.cop.entity</artifactId>
<version>${bocloud.current.version}</version>
</dependency>
<dependency>
<groupId>com.bocloud</groupId>
<artifactId>bocloud.fms.entity</artifactId>
<version>${bocloud.current.version}</version>
</dependency>
<dependency>
<groupId>com.bocloud</groupId>
<artifactId>bocloud.ims.entity</artifactId>
<version>${bocloud.current.version}</version>
</dependency>
<dependency>
<groupId>com.bocloud</groupId>
<artifactId>bocloud.pms.entity</artifactId>
<version>${bocloud.current.version}</version>
</dependency>
<dependency>
<groupId>com.bocloud</groupId>
<artifactId>bocloud.rms.entity</artifactId>
<version>${bocloud.current.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<type>jar</type>
<includeTypes>jar</includeTypes>
<includeScope>runtime</includeScope>
<outputDirectory>${project.build.directory}/libs</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -0,0 +1,12 @@
package com.bocloud.rpc.interfaces.cos;
import com.bocloud.acd.rpc.anno.RPCService;
import com.bocloud.common.enums.BoCloudService;
import com.bocloud.cos.entity.BillItem;
import java.util.List;
@RPCService(BoCloudService.COS)
public interface CosRpcService {
List<BillItem> listBillItems();
}

View File

@ -0,0 +1,15 @@
package com.bocloud.rpc.interfaces.ims;
import com.bocloud.acd.rpc.anno.RPCService;
import com.bocloud.common.enums.BoCloudService;
import java.util.List;
@RPCService(BoCloudService.IMS)
public interface ImsRpcService {
/**
* IP
* BocloudResultBocloudResult
*/
void preemptOrFreeIp(List<String> ipsToPreempt, List<String> ipsToFree) ;
}

View File

@ -0,0 +1,16 @@
package com.bocloud.rpc.interfaces.sms;
import com.bocloud.acd.rpc.anno.RPCService;
import com.bocloud.common.enums.BoCloudService;
import com.bocloud.sms.entity.Project;
import com.bocloud.sms.entity.User;
import java.util.List;
@RPCService(BoCloudService.SMS)
public interface SmsRpcService {
User userDetail(String name);
List<Project> getProjectList();
}