Giter Site home page Giter Site logo

ewinds / test-manager-service Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open-hand/test-manager-service

0.0 1.0 0.0 10.22 MB

This service is the management center of the Choerodon Microservices Framework. It`s main functions include configuration management, route management, and swagger management.

Home Page: http://choerodon.io

License: Apache License 2.0

Shell 0.09% Java 51.04% Groovy 12.55% Dockerfile 0.01% JavaScript 29.91% Less 3.37% SCSS 0.24% TypeScript 2.72% Mustache 0.07%

test-manager-service's Introduction

test-manager-service

Test-Manager Service is onr of choerodon core service,the service is the test management center for the Choerodon microservices framework。Its main functions include test case management, test cycle, test analysis, etc.

Feature

  • Test Case(Create, view, and edit test cases, test case trees, excel imports/exports, and so on)
  • Test Plan(Create test cycles, test phases, batch clone cycles, and more)
  • Test Execution(Execute test, search execution, record step results, view execution details, delete execution)
  • Custom State(State list, create state)
  • Automated Test(Perform automated tests,View test results)
  • Setting(Custom State)

Dependency

Service Config

  • application.yml
spring:
  datasource:
    url: jdbc:mysql://localhost:3306/test_manager_service?useUnicode=true&characterEncoding=utf-8&useSSL=false&useInformationSchema=true&remarks=true
    username: choerodon
    password: 123456
  aop:
    auto: true
  http:
    encoding:
      charset: UTF-8
      force: true
      enabled: true
  redis:
    host: localhost
    port: 6379
  servlet:
    multipart:
      max-file-size: 30MB
      max-request-size: 30MB
choerodon:
   saga:
      consumer:
        thread-num: 5 # saga Message consumption thread pool size
        max-poll-size: 200 # Maximum number of messages per pull
        enabled: true # Start consumer
        poll-interval-ms: 1000 # Pull interval, default 1000 ms
    schedule:
      consumer:
        enabled: true # Enable the task scheduling consumer
        thread-num: 1 # Task scheduling consumes the number of threads
        poll-interval-ms: 1000 # Pull interval, default 1000 ms
eureka:
  instance:
    preferIpAddress: true
    leaseRenewalIntervalInSeconds: 1
    leaseExpirationDurationInSeconds: 3
  client:
    serviceUrl:
      defaultZone: http://localhost:8000/eureka/
    registryFetchIntervalSeconds: 1
mybatis:
  mapperLocations: classpath*:/mapper/*.xml
  configuration:
    mapUnderscoreToCamelCase: true
feign:
  hystrix:
    shareSecurityContext: true
    command:
      default:
        execution:
          isolation:
            thread:
              timeoutInMilliseconds: 30000
ribbon:
  ConnectTimeout: 5000
  ReadTimeout: 5000
logging:
  level:
    root: info
    io.choerodon.test.manager: debug
  • bootstrap.yml
server:
  port: 8093
spring:
  application:
    name: test-manager-service
  cloud:
    config:
      failFast: true
      retry:
        maxAttempts: 6
        multiplier: 1.5
        maxInterval: 2000
      uri: localhost:8010
      enabled: false
  mvc:
    static-path-pattern: /**
  resources:
    static-locations: classpath:/static,classpath:/public,classpath:/resources,classpath:/META-INF/resources,file:/dist
management:
  server:
    port: 8094
  endpoints:
    web:
      exposure:
        include: '*'
  endpoint:
    health:
      show-details: "ALWAYS"

Installation and startup steps

  • Run eureka-serverCoding is here

  • Pull the current project to the loca

  git clone https://code.choerodon.com.cn/choerodon-agile/test-manager-service.git
  • Create a database named test_manager_service in the Mysql database
CREATE USER 'choerodon'@'%' IDENTIFIED BY "123456";
CREATE DATABASE test_manager_service DEFAULT CHARACTER SET utf8;
GRANT ALL PRIVILEGES ON test_manager_service.* TO choerodon@'%';
FLUSH PRIVILEGES;
  • Create init-local-database.sh data initialization script file in test_manager_service project root directory

  • Execute the database initialization script

sh init-local-database.sh
  • Startup manager-service project,run the cmd :
mvn spring-boot:run

Or in a local integration environment run the SpringBoot Startup class \src\main\java\io\choerodon\test\manager\TestManagerServiceApplication.java

Report Problems

If you find any defects or bugs,Please describe it onissueand submit it to us.

How to Contribute

Push requests are welcome! Follow to know for more information on how to contribute.

test-manager-service's People

Contributors

huangfuqiang avatar laincarl avatar dingzc2450 avatar phyear avatar ettwz avatar jialongzuo avatar 812913 avatar mikane200 avatar chenshinan avatar sj279811799 avatar superlee007 avatar huaxindeng avatar phr27 avatar zhuzhiyang avatar wangalaindelon avatar lyanfang avatar lockshe avatar stegraphy avatar xeonice avatar thefuckingcode avatar whao1996 avatar mario-pl avatar dinghuang avatar tremble666 avatar zmfcn avatar devil-scp avatar carllhw avatar timebye avatar demotesttttt avatar

Watchers

James Cloos 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.