1 files added
2 files modified
| | |
| | | <groupId>org.springframework.boot</groupId> |
| | | <artifactId>spring-boot-maven-plugin</artifactId> |
| | | </plugin> |
| | | <!-- docker 镜像生成 --> |
| | | <plugin> |
| | | <groupId>com.spotify</groupId> |
| | | <artifactId>docker-maven-plugin</artifactId> |
| | | <version>1.2.0</version> |
| | | <configuration> |
| | | <!-- 镜像名 --> |
| | | <imageName>${project.artifactId}</imageName> |
| | | <!-- Dockerfile所在目录 --> |
| | | <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory> |
| | | <!-- 生成的jar文件 --> |
| | | <buildArgs> |
| | | <JAR_FILE>${project.build.finalName}.jar</JAR_FILE> |
| | | </buildArgs> |
| | | <!-- 复制jar到docker容器指定目录 --> |
| | | <resources> |
| | | <resource> |
| | | <targetPath>/</targetPath> |
| | | <directory>${project.build.directory}</directory> |
| | | <include>${project.build.finalName}.jar</include> |
| | | </resource> |
| | | </resources> |
| | | </configuration> |
| | | </plugin> |
| | | <!-- wsdl生成插件 生成了就不用了 这里注释掉 --> |
| | | <!-- <plugin>--> |
| | | <!-- <groupId>org.apache.cxf</groupId>--> |
New file |
| | |
| | | FROM java:8 |
| | | |
| | | MAINTAINER whc |
| | | WORKDIR /home |
| | | VOLUME /logs |
| | | |
| | | RUN mkdir -p /hom/cmci |
| | | ADD cmci-pfcs-gateway.jar /home/cmci/cmci-pfcs-gateway.jar |
| | | |
| | | EXPOSE 8400 |
| | | ENTRYPOINT ["java","-server","-Xms128M","-Xmx512M","-Xss512k","-Duser.timezone=GMT+8","-jar", "/home/cmci/cmci-pfcs-gateway.jar"] |
| | |
| | | * |
| | | */ |
| | | @WebServiceClient(name = "S080030795", |
| | | wsdlLocation = "file:/F:/idealwork/cmci-bank-pfcs/cmci-pfcs-gateway/src/main/resources/wsdl/DU93.wsdl", |
| | | wsdlLocation = "classpath:wsdl/DU93.wsdl", |
| | | targetNamespace = "http://esb.spdbbiz.com/services/S080030795/wsdl") |
| | | public class S080030795 extends Service { |
| | | |
| | |
| | | static { |
| | | URL url = null; |
| | | try { |
| | | url = new URL("file:/F:/idealwork/cmci-bank-pfcs/cmci-pfcs-gateway/src/main/resources/wsdl/DU93.wsdl"); |
| | | url = new URL("classpath:wsdl/DU93.wsdl"); |
| | | } catch (MalformedURLException e) { |
| | | java.util.logging.Logger.getLogger(S080030795.class.getName()) |
| | | .log(java.util.logging.Level.INFO, |
| | | "Can not initialize the default wsdl from {0}", "file:/F:/idealwork/cmci-bank-pfcs/cmci-pfcs-gateway/src/main/resources/wsdl/DU93.wsdl"); |
| | | "Can not initialize the default wsdl from {0}", "classpath:wsdl/DU93.wsdl"); |
| | | } |
| | | WSDL_LOCATION = url; |
| | | } |