ing
This commit is contained in:
parent
2ec475ebcf
commit
3595ea45b0
2
pom.xml
2
pom.xml
|
@ -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>
|
||||||
|
|
|
@ -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 {
|
|
||||||
}
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user