This commit is contained in:
crusader 2018-06-21 17:24:39 +09:00
parent 2ec475ebcf
commit 3595ea45b0
3 changed files with 2 additions and 16 deletions

View File

@ -13,7 +13,7 @@
<groupId>com.loafle.overflow</groupId> <groupId>com.loafle.overflow</groupId>
<artifactId>commons-java</artifactId> <artifactId>commons-java</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>1.0.89-SNAPSHOT</version> <version>1.0.90-SNAPSHOT</version>
<name>com.loafle.overflow.commons-java</name> <name>com.loafle.overflow.commons-java</name>
<properties> <properties>

View File

@ -1,12 +0,0 @@
package com.loafle.overflow.core.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
//@Compress annotation is the name binding annotation
@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface Compress {
}

View File

@ -2,7 +2,6 @@ package com.loafle.overflow.service.central.infra;
import java.util.List; import java.util.List;
import com.loafle.overflow.core.annotation.Compress;
import com.loafle.overflow.core.annotation.WebappAPI; import com.loafle.overflow.core.annotation.WebappAPI;
import com.loafle.overflow.core.exception.OverflowException; import com.loafle.overflow.core.exception.OverflowException;
import com.loafle.overflow.core.model.PageParams; import com.loafle.overflow.core.model.PageParams;
@ -33,8 +32,7 @@ public interface InfraService {
com.loafle.overflow.model.infra.InfraService registByService(Long probeID, Service service) throws OverflowException; com.loafle.overflow.model.infra.InfraService registByService(Long probeID, Service service) throws OverflowException;
@WebappAPI @WebappAPI
@Compress List<Infra> registDiscoverd(Long probeID, String compressedHostsAndServices) throws OverflowException;
List<Infra> registDiscoverd(Long probeID, List<Host> hosts, List<Service> services) throws OverflowException;
@WebappAPI @WebappAPI
Infra read(Long id) throws OverflowException; Infra read(Long id) throws OverflowException;