This commit is contained in:
crusader 2018-04-25 18:44:53 +09:00
parent 6241a6502d
commit 5e16f9b686
3 changed files with 7 additions and 31 deletions

29
pom.xml
View File

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>com.loafle</groupId> <groupId>com.loafle.maven</groupId>
<artifactId>maven_parent_jar</artifactId> <artifactId>maven_parent_jar</artifactId>
<version>1.0.0-RELEASE</version> <version>1.0.0-RELEASE</version>
</parent> </parent>
@ -174,8 +174,8 @@
<dependency> <dependency>
<groupId>com.loafle</groupId> <groupId>com.loafle.overflow</groupId>
<artifactId>overflow_api_server</artifactId> <artifactId>central-api</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>1.0.0-SNAPSHOT</version>
</dependency> </dependency>
@ -265,29 +265,6 @@
</dependencies> </dependencies>
</plugin> </plugin>
<plugin>
<groupId>cz.habarta.typescript-generator</groupId>
<artifactId>typescript-generator-maven-plugin</artifactId>
<version>1.25.322</version>
<executions>
<execution>
<id>generate</id>
<goals>
<goal>generate</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
<configuration>
<jsonLibrary>jackson2</jsonLibrary>
<classPatterns>
<classPattern>com.loafle.overflow.central.module.**.model.*</classPattern>
</classPatterns>
<outputKind>module</outputKind>
<outputFileType>implementationFile</outputFileType>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>

View File

@ -34,7 +34,6 @@ import com.loafle.overflow.service.central.infra.InfraOSService;
import com.loafle.overflow.service.central.noauthprobe.NoAuthProbeService; import com.loafle.overflow.service.central.noauthprobe.NoAuthProbeService;
import com.loafle.overflow.service.central.probe.ProbeHostService; import com.loafle.overflow.service.central.probe.ProbeHostService;
import com.loafle.overflow.service.central.probe.ProbeService; import com.loafle.overflow.service.central.probe.ProbeService;
import com.sun.jna.platform.win32.Variant.VARIANT._VARIANT.__VARIANT;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

View File

@ -1,8 +1,8 @@
package com.loafle.overflow.central.proxy; package com.loafle.overflow.central.proxy;
import com.loafle.overflow.api.OverflowApiServerGrpc; import com.loafle.overflow.central.api.CentralAPIGrpc;
import com.loafle.overflow.api.ServerInput; import com.loafle.overflow.central.api.ServerInput;
import com.loafle.overflow.api.ServerOutput; import com.loafle.overflow.central.api.ServerOutput;
import com.loafle.overflow.core.exception.OverflowException; import com.loafle.overflow.core.exception.OverflowException;
import io.grpc.*; import io.grpc.*;
@ -56,7 +56,7 @@ public class ServiceProxy {
} }
} }
static class ServiceImpl extends OverflowApiServerGrpc.OverflowApiServerImplBase { static class ServiceImpl extends CentralAPIGrpc.CentralAPIImplBase {
private ServiceInvoker serviceInvoker; private ServiceInvoker serviceInvoker;