Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahoo-Wang committed May 6, 2021
1 parent f26f0ed commit 171a265
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 33 deletions.
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ config set notify-keyspace-events "KA"
### Gradle

``` kotlin
val governVersion = "0.7.2";
val governVersion = "0.7.3";
implementation("me.ahoo.govern:spring-cloud-starter-config:${governVersion}")
implementation("me.ahoo.govern:spring-cloud-starter-discovery:${governVersion}")
```
Expand All @@ -35,19 +35,19 @@ config set notify-keyspace-events "KA"
```xml

<properties>
<govern.version>0.7.2</govern.version>
<govern.version>0.7.3</govern.version>
</properties>

<dependencies>
<dependency>
<groupId>me.ahoo.govern</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
<version>${govern.version}</version>
<groupId>me.ahoo.govern</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
<version>${govern.version}</version>
</dependency>
<dependency>
<groupId>me.ahoo.govern</groupId>
<artifactId>spring-cloud-starter-discovery</artifactId>
<version>${govern.version}</version>
<groupId>me.ahoo.govern</groupId>
<artifactId>spring-cloud-starter-discovery</artifactId>
<version>${govern.version}</version>
</dependency>
</dependencies>

Expand Down Expand Up @@ -178,4 +178,5 @@ RedisServiceRegistryBenchmark.renew thrpt 67116.1

## TODO

1. Dashboard - UI
1. Dashboard
2. Grayscale Publishing
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group=me.ahoo.govern
version=0.7.2
version=0.7.3

description=Govern Service On Redis
website=https://github.com/Ahoo-Wang/govern-service
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.ahoo.govern.disvoery.spring.cloud.discovery;
package me.ahoo.govern.discovery.spring.cloud.discovery;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
package me.ahoo.govern.disvoery.spring.cloud.discovery;
package me.ahoo.govern.discovery.spring.cloud.discovery;

import io.lettuce.core.AbstractRedisClient;
import io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands;
import me.ahoo.govern.core.listener.MessageListenable;
import me.ahoo.govern.discovery.DiscoveryKeyGenerator;
import me.ahoo.govern.discovery.ServiceDiscovery;
import me.ahoo.govern.discovery.redis.ConsistencyRedisServiceDiscovery;
import me.ahoo.govern.discovery.redis.RedisServiceDiscovery;
import me.ahoo.govern.spring.cloud.GovernAutoConfiguration;
import me.ahoo.govern.spring.cloud.GovernProperties;
import me.ahoo.govern.spring.cloud.support.RedisClientSupport;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.ahoo.govern.disvoery.spring.cloud.discovery;
package me.ahoo.govern.discovery.spring.cloud.discovery;

import me.ahoo.govern.discovery.ServiceDiscovery;
import org.springframework.cloud.client.ServiceInstance;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.ahoo.govern.disvoery.spring.cloud.discovery;
package me.ahoo.govern.discovery.spring.cloud.discovery;

import me.ahoo.govern.spring.cloud.GovernProperties;
import org.springframework.boot.context.properties.ConfigurationProperties;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.ahoo.govern.disvoery.spring.cloud.discovery;
package me.ahoo.govern.discovery.spring.cloud.discovery;

import org.springframework.cloud.client.ServiceInstance;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package me.ahoo.govern.disvoery.spring.cloud.registry;
package me.ahoo.govern.discovery.spring.cloud.registry;

import lombok.var;
import me.ahoo.govern.discovery.InstanceIdGenerator;
import org.springframework.cloud.client.serviceregistry.AbstractAutoServiceRegistration;
import org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties;
import org.springframework.cloud.client.serviceregistry.Registration;
import org.springframework.cloud.client.serviceregistry.ServiceRegistry;

/**
* @author ahoo wang
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package me.ahoo.govern.disvoery.spring.cloud.registry;
package me.ahoo.govern.discovery.spring.cloud.registry;

import io.lettuce.core.AbstractRedisClient;
import io.lettuce.core.cluster.api.async.RedisClusterAsyncCommands;
import lombok.var;
import me.ahoo.govern.discovery.*;
import me.ahoo.govern.discovery.redis.RedisServiceRegistry;
import me.ahoo.govern.disvoery.spring.cloud.discovery.ConditionalOnGovernDiscoveryEnabled;
import me.ahoo.govern.disvoery.spring.cloud.discovery.GovernDiscoveryAutoConfiguration;
import me.ahoo.govern.discovery.spring.cloud.discovery.ConditionalOnGovernDiscoveryEnabled;
import me.ahoo.govern.discovery.spring.cloud.discovery.GovernDiscoveryAutoConfiguration;
import me.ahoo.govern.spring.cloud.support.AppSupport;
import me.ahoo.govern.spring.cloud.support.RedisClientSupport;
import org.apache.logging.log4j.util.Strings;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.ahoo.govern.disvoery.spring.cloud.registry;
package me.ahoo.govern.discovery.spring.cloud.registry;

import me.ahoo.govern.discovery.ServiceInstance;
import org.springframework.cloud.client.serviceregistry.Registration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
package me.ahoo.govern.disvoery.spring.cloud.registry;
package me.ahoo.govern.discovery.spring.cloud.registry;

import me.ahoo.govern.discovery.RenewProperties;
import me.ahoo.govern.disvoery.spring.cloud.discovery.GovernDiscoveryProperties;
import me.ahoo.govern.disvoery.spring.cloud.support.StatusConstants;
import me.ahoo.govern.discovery.spring.cloud.discovery.GovernDiscoveryProperties;
import me.ahoo.govern.discovery.spring.cloud.support.StatusConstants;
import org.apache.logging.log4j.util.Strings;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.commons.util.InetUtils;

import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;

/**
* @author ahoo wang
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package me.ahoo.govern.disvoery.spring.cloud.registry;
package me.ahoo.govern.discovery.spring.cloud.registry;

import lombok.var;
import me.ahoo.govern.discovery.RenewInstanceService;
import me.ahoo.govern.disvoery.spring.cloud.support.StatusConstants;
import me.ahoo.govern.discovery.spring.cloud.support.StatusConstants;
import org.springframework.cloud.client.serviceregistry.ServiceRegistry;
import org.springframework.cloud.client.serviceregistry.endpoint.ServiceRegistryEndpoint;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package me.ahoo.govern.disvoery.spring.cloud.support;
package me.ahoo.govern.discovery.spring.cloud.support;


/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Auto Configuration
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
me.ahoo.govern.disvoery.spring.cloud.discovery.GovernDiscoveryAutoConfiguration,\
me.ahoo.govern.disvoery.spring.cloud.registry.GovernAutoServiceRegistrationAutoConfiguration
me.ahoo.govern.discovery.spring.cloud.discovery.GovernDiscoveryAutoConfiguration,\
me.ahoo.govern.discovery.spring.cloud.registry.GovernAutoServiceRegistrationAutoConfiguration

0 comments on commit 171a265

Please sign in to comment.