Change the directory and use revision.

pull/161/head
chen.ma 3 years ago
parent e2300f9323
commit e2c337e09f

@ -6,10 +6,10 @@
<parent> <parent>
<groupId>com.github.dynamic-threadpool</groupId> <groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId> <artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>${revision}</version>
</parent> </parent>
<artifactId>dynamic-threadpool-common</artifactId> <artifactId>common</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>${project.artifactId}</name> <name>${project.artifactId}</name>

@ -6,10 +6,10 @@
<parent> <parent>
<groupId>com.github.dynamic-threadpool</groupId> <groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId> <artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>${revision}</version>
</parent> </parent>
<artifactId>dynamic-threadpool-config</artifactId> <artifactId>config</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>${project.artifactId}</name> <name>${project.artifactId}</name>
@ -44,7 +44,7 @@
<dependency> <dependency>
<groupId>com.github.dynamic-threadpool</groupId> <groupId>com.github.dynamic-threadpool</groupId>
<artifactId>dynamic-threadpool-common</artifactId> <artifactId>common</artifactId>
</dependency> </dependency>
<dependency> <dependency>

@ -6,10 +6,10 @@
<parent> <parent>
<groupId>com.github.dynamic-threadpool</groupId> <groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId> <artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>${revision}</version>
</parent> </parent>
<artifactId>dynamic-threadpool-console</artifactId> <artifactId>console</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>${project.artifactId}</name> <name>${project.artifactId}</name>
@ -18,7 +18,7 @@
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.github.dynamic-threadpool</groupId> <groupId>com.github.dynamic-threadpool</groupId>
<artifactId>dynamic-threadpool-config</artifactId> <artifactId>config</artifactId>
</dependency> </dependency>
</dependencies> </dependencies>

@ -6,10 +6,10 @@
<parent> <parent>
<groupId>com.github.dynamic-threadpool</groupId> <groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId> <artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>${revision}</version>
</parent> </parent>
<artifactId>dynamic-threadpool-registry</artifactId> <artifactId>discovery</artifactId>
<name>${project.artifactId}</name> <name>${project.artifactId}</name>
<description>${project.artifactId}</description> <description>${project.artifactId}</description>
@ -27,7 +27,7 @@
<dependency> <dependency>
<groupId>com.github.dynamic-threadpool</groupId> <groupId>com.github.dynamic-threadpool</groupId>
<artifactId>dynamic-threadpool-common</artifactId> <artifactId>common</artifactId>
</dependency> </dependency>
<dependency> <dependency>

@ -1,6 +1,6 @@
package com.github.dynamic.threadpool.registry.config; package com.github.dynamic.threadpool.discovery.config;
import com.github.dynamic.threadpool.registry.core.BaseInstanceRegistry; import com.github.dynamic.threadpool.discovery.core.BaseInstanceRegistry;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;

@ -1,11 +1,11 @@
package com.github.dynamic.threadpool.registry.controller; package com.github.dynamic.threadpool.discovery.controller;
import com.github.dynamic.threadpool.common.model.InstanceInfo; import com.github.dynamic.threadpool.common.model.InstanceInfo;
import com.github.dynamic.threadpool.common.web.base.Result; import com.github.dynamic.threadpool.common.web.base.Result;
import com.github.dynamic.threadpool.common.web.base.Results; import com.github.dynamic.threadpool.common.web.base.Results;
import com.github.dynamic.threadpool.common.web.exception.ErrorCodeEnum; import com.github.dynamic.threadpool.common.web.exception.ErrorCodeEnum;
import com.github.dynamic.threadpool.registry.core.InstanceRegistry; import com.github.dynamic.threadpool.discovery.core.InstanceRegistry;
import com.github.dynamic.threadpool.registry.core.Lease; import com.github.dynamic.threadpool.discovery.core.Lease;
import lombok.NonNull; import lombok.NonNull;
import lombok.RequiredArgsConstructor; import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;

@ -1,4 +1,4 @@
package com.github.dynamic.threadpool.registry.core; package com.github.dynamic.threadpool.discovery.core;
import com.github.dynamic.threadpool.common.model.InstanceInfo; import com.github.dynamic.threadpool.common.model.InstanceInfo;
import com.github.dynamic.threadpool.common.model.InstanceInfo.InstanceStatus; import com.github.dynamic.threadpool.common.model.InstanceInfo.InstanceStatus;

@ -1,4 +1,4 @@
package com.github.dynamic.threadpool.registry.core; package com.github.dynamic.threadpool.discovery.core;
import com.github.dynamic.threadpool.common.model.InstanceInfo; import com.github.dynamic.threadpool.common.model.InstanceInfo;

@ -1,4 +1,4 @@
package com.github.dynamic.threadpool.registry.core; package com.github.dynamic.threadpool.discovery.core;
/** /**
* Lease. * Lease.

@ -1,4 +1,4 @@
package com.github.dynamic.threadpool.registry.core; package com.github.dynamic.threadpool.discovery.core;
/** /**
* Pair. * Pair.

@ -1,4 +1,4 @@
package com.github.dynamic.threadpool.registry.core; package com.github.dynamic.threadpool.discovery.core;
import com.github.dynamic.threadpool.common.model.InstanceInfo.InstanceStatus; import com.github.dynamic.threadpool.common.model.InstanceInfo.InstanceStatus;

@ -6,7 +6,7 @@
<parent> <parent>
<groupId>com.github.dynamic-threadpool</groupId> <groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId> <artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>${revision}</version>
</parent> </parent>
<artifactId>dynamic-threadpool-spring-boot-starter</artifactId> <artifactId>dynamic-threadpool-spring-boot-starter</artifactId>
@ -43,7 +43,7 @@
<dependency> <dependency>
<groupId>com.github.dynamic-threadpool</groupId> <groupId>com.github.dynamic-threadpool</groupId>
<artifactId>dynamic-threadpool-common</artifactId> <artifactId>common</artifactId>
</dependency> </dependency>
<dependency> <dependency>

@ -6,10 +6,10 @@
<parent> <parent>
<groupId>com.github.dynamic-threadpool</groupId> <groupId>com.github.dynamic-threadpool</groupId>
<artifactId>parent</artifactId> <artifactId>parent</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>${revision}</version>
</parent> </parent>
<artifactId>dynamic-threadpool-example</artifactId> <artifactId>example</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>${project.artifactId}</name> <name>${project.artifactId}</name>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save