Giter Site home page Giter Site logo

asura's Introduction

Asura Framework

简介

asura是我们在实际使用过程中,抽取出来的公共组件,主要包括如下:
asura-base 对content增强处理,无法单独提供服务 asura-commons 封装第三方的工具包提供util类 asura-cache 缓存相关的功能封装
asura-dao 数据库访问读写分离相关
asura-log 统一日志处理相关
asura-pay ziroom支付相关
asura-rabbitmq rabbitmq相关
asura-quartz 定时任务相关

What's New

###asura--0.0.9-RC4 1、修改记录日志类,修复代码约定,修复info日志记录两次问题,记录catMessageId,可快速从cat定位问题 2、调整asura-mq 添加RabbitmqConfig 支持多个RabbitConnectionFactory

###asura--0.0.9-RC3 1、修改quartz定时添加job 日志record记录 2、修改定时任务动态参数添加 3、测试用例修改

asura-0.0.9

1、新增asura-cache sentinel支持

asura-0.0.8

1、新增asura-commons
2、规则base模块,提供基于jackson全新的json工具
3、去除掉http3依赖
4、添加Options BusinessAssert工具类
5、升级到spring4依赖 6、支持cache incr 场景 7、支持date utils 8、新增asura-cache sentinel支持

asura-0.0.6

1、zk模块升级到curator 2、基于curator的asura-conf 4、asura-pay支付和通用收款单相关内容 5、asura-base新增支持header的http请求
6、 asura-base支持DES加密

asura-0.0.5

1、asura-rabbitmq 支持客户端消费者断开连接后重连
2、asura-rabbitmq 支持客户端消费者处理消费异常
3、asura-log统一接管返回值为DataTransferObject(或者为DataTransferObject的String形式)异常处理

asura-0.0.4

新增asura-pay模块

asura-0.0.3

新增asura-log接管所有异常错误功能

asura-0.0.2

asura-log对接CAT
新增asura-rabbitmq

asura-0.0.1

基础的组件功能

版本发布文档

目前废弃掉使用package.bat文件deploy到远程仓库

1、parent pom.xml文件

parant pom.xml 需要设置好
1、部署的仓库地址
2、插件声明
3、仓库配置声明

<!-- 设置好使用仓库地址 -->
<properties>
  <repository.id>snapshots</repository.id>
  <repository.url>http://maven.ziroom.com:8081/nexus/content/repositories/snapshots</repository.url>
</properties>
...
</plugins>
  ...
  <!-- install插件 -->
  <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-install-plugin</artifactId>
      <version>2.5.2</version>
  </plugin>

  <!-- deploy插件 -->
  <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-deploy-plugin</artifactId>
      <version>2.8.2</version>
  </plugin>
</plugins>
...
<distributionManagement>    
  <repository>
      <id>releases</id>
      <url>http://maven.ziroom.com:8081/nexus/content/repositories/releases</url>
  </repository>
  <snapshotRepository>
      <id>snapshots</id>
      <url>http://maven.ziroom.com:8081/nexus/content/repositories/snapshots</url>
  </snapshotRepository>
<distributionManagement>    

2、child pom.xml

子模块pom.xml 注释默认的deploy goal改写deploy goal为deploy-file

<plugins>
  <!-- deploy插件 -->
  <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-deploy-plugin</artifactId>
      <executions>
          <execution>
              <id>default-deploy</id>
              <phase>none</phase>
          </execution>
          <execution>
              <id>deploy-sms</id>
              <phase>deploy</phase>
              <goals>
                  <goal>deploy-file</goal>
              </goals>
              <configuration>
                  <file>target/com-asura-framework-sms-${version}.jar</file>
                  <repositoryId>${repository.id}</repositoryId>
                  <url>${repository.url}</url>
                  <groupId>com.asura</groupId>
                  <artifactId>com-asura-framework-sms</artifactId>
                  <version>${version}</version>
                  <packaging>jar</packaging>
              </configuration>
          </execution>
      </executions>
  </plugin>
</plugins>

3、部署到远程仓库

使用maven命令:

mvn clean compile package deploy 

asura's People

Contributors

kaiyun1206 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.