Initial commit all
parent
ae0ad80a86
commit
98323cfe0d
|
@ -0,0 +1,8 @@
|
|||
@Library('jgpl') _
|
||||
|
||||
servicePipeline([
|
||||
environment: [
|
||||
version : '5.6.0-HBCL-RELEASE',
|
||||
],
|
||||
rpcDependenceServices:["cms", "cos", "fms", "ims", "sms"],
|
||||
])
|
|
@ -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>
|
|
@ -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();
|
||||
}
|
|
@ -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
|
||||
* 不要用BocloudResult通信,BocloudResult是用来返回接口信息的,内部处理要扁平化,避免不必要的实体类,
|
||||
*/
|
||||
void preemptOrFreeIp(List<String> ipsToPreempt, List<String> ipsToFree) ;
|
||||
}
|
|
@ -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();
|
||||
}
|
Loading…
Reference in New Issue