ing
This commit is contained in:
parent
33bc79efe8
commit
2ec475ebcf
2
pom.xml
2
pom.xml
|
@ -13,7 +13,7 @@
|
|||
<groupId>com.loafle.overflow</groupId>
|
||||
<artifactId>commons-java</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.0.88-SNAPSHOT</version>
|
||||
<version>1.0.89-SNAPSHOT</version>
|
||||
<name>com.loafle.overflow.commons-java</name>
|
||||
|
||||
<properties>
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
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,6 +2,7 @@ package com.loafle.overflow.service.central.infra;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import com.loafle.overflow.core.annotation.Compress;
|
||||
import com.loafle.overflow.core.annotation.WebappAPI;
|
||||
import com.loafle.overflow.core.exception.OverflowException;
|
||||
import com.loafle.overflow.core.model.PageParams;
|
||||
|
@ -32,6 +33,7 @@ public interface InfraService {
|
|||
com.loafle.overflow.model.infra.InfraService registByService(Long probeID, Service service) throws OverflowException;
|
||||
|
||||
@WebappAPI
|
||||
@Compress
|
||||
List<Infra> registDiscoverd(Long probeID, List<Host> hosts, List<Service> services) throws OverflowException;
|
||||
|
||||
@WebappAPI
|
||||
|
|
Loading…
Reference in New Issue
Block a user