Skip to content

Commit

Permalink
RC4: 依赖完善,增加banner
Browse files Browse the repository at this point in the history
  • Loading branch information
coodex2016 committed Jul 11, 2022
1 parent ad39fd5 commit 107c0bd
Show file tree
Hide file tree
Showing 83 changed files with 211 additions and 94 deletions.
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-accounts</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-accounts</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-accounts</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-accounts</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-accounts</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-accounts</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-accounts</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-accounts</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-accounts</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-accounts</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-accounts</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-accounts</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion concrete-pom/concrete-accounts/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-pom</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>
<artifactId>concrete-accounts</artifactId>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion concrete-pom/concrete-amqp-pom/concrete-amqp-bom/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-amqp-pom</artifactId>
<groupId>org.coodex.concrete.amqp</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-amqp-pom</artifactId>
<groupId>org.coodex.concrete.amqp</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-amqp-pom</artifactId>
<groupId>org.coodex.concrete.amqp</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-amqp-pom</artifactId>
<groupId>org.coodex.concrete.amqp</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Expand Up @@ -16,6 +16,7 @@

package org.coodex.concrete.spring.boot;

import org.coodex.concrete.common.ConcreteHelper;
import org.coodex.concrete.support.amqp.AMQPApplication;
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.beans.factory.support.RootBeanDefinition;
Expand All @@ -27,6 +28,14 @@ public class ConcreteAMQPBeanDefinitionRegistrar implements ImportBeanDefinition
private static final String BEAN_NAME = "concreteAMQPApplication";
private static final AMQPRuntime runtime = new AMQPRuntime();

public ConcreteAMQPBeanDefinitionRegistrar() {
ConcreteHelper.printBanner(" _____ __ ___ __ _______ ___ \n" +
" / ___/__ ___ ___________ / /____ / _ | / |/ / __ \\ / _ \\\n" +
"/ /__/ _ \\/ _ \\/ __/ __/ -_) __/ -_) / __ |/ /|_/ / /_/ / / ___/\n" +
"\\___/\\___/_//_/\\__/_/ \\__/\\__/\\__/ /_/ |_/_/ /_/\\___\\_\\/_/ \n",
"Concrete AMQP", true);
}

@Override
public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) {
if (!registry.containsBeanDefinition(BEAN_NAME)) {
Expand Down
2 changes: 1 addition & 1 deletion concrete-pom/concrete-amqp-pom/concrete-amqp/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-amqp-pom</artifactId>
<groupId>org.coodex.concrete.amqp</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion concrete-pom/concrete-amqp-pom/pom.xml
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>concrete-pom</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-apache-dubbo-pom</artifactId>
<groupId>org.coodex.concrete.dubbo</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-apache-dubbo-pom</artifactId>
<groupId>org.coodex.concrete.dubbo</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-apache-dubbo-pom</artifactId>
<groupId>org.coodex.concrete.dubbo</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>

<modelVersion>4.0.0</modelVersion>
Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-apache-dubbo-pom</artifactId>
<groupId>org.coodex.concrete.dubbo</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Expand Up @@ -14,6 +14,7 @@
* limitations under the License.
*/

import org.coodex.concrete.common.ConcreteHelper;
import org.coodex.concrete.support.dubbo.ApacheDubboApplication;
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.beans.factory.support.RootBeanDefinition;
Expand All @@ -24,7 +25,15 @@
public class ConcreteDubboBeanDefinitionRegistrar implements ImportBeanDefinitionRegistrar {

private static final String BEAN_NAME = "concreteDubboApplication";
private static DubboRuntime runtime = new DubboRuntime();
private static final DubboRuntime runtime = new DubboRuntime();

public ConcreteDubboBeanDefinitionRegistrar() {
ConcreteHelper.printBanner(" _____ __ ___ __ __ \n" +
" / ___/__ ___ ___________ / /____ / _ \\__ __/ / / / ___ \n" +
"/ /__/ _ \\/ _ \\/ __/ __/ -_) __/ -_) / // / // / _ \\/ _ \\/ _ \\\n" +
"\\___/\\___/_//_/\\__/_/ \\__/\\__/\\__/ /____/\\_,_/_.__/_.__/\\___/\n",
"Concrete Dubbo", true);
}

@Override
public void registerBeanDefinitions(AnnotationMetadata annotationMetadata, BeanDefinitionRegistry beanDefinitionRegistry) {
Expand Down
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-apache-dubbo-pom</artifactId>
<groupId>org.coodex.concrete.dubbo</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion concrete-pom/concrete-apache-dubbo-pom/pom.xml
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>concrete-pom</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion concrete-pom/concrete-api-tools/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-pom</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion concrete-pom/concrete-api/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-pom</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion concrete-pom/concrete-bom/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.coodex.concrete</groupId>
<artifactId>concrete-pom</artifactId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion concrete-pom/concrete-client/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-pom</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion concrete-pom/concrete-commons-spring-data/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-pom</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion concrete-pom/concrete-core-mock/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-pom</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
4 changes: 2 additions & 2 deletions concrete-pom/concrete-core-spring/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-pom</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down Expand Up @@ -58,7 +58,7 @@

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<artifactId>slf4j-reload4j</artifactId>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion concrete-pom/concrete-core/pom.xml
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>concrete-pom</artifactId>
<groupId>org.coodex.concrete</groupId>
<version>0.5.1-SNAPSHOT</version>
<version>0.5.1-RC4</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down

0 comments on commit 107c0bd

Please sign in to comment.