deploy-spring-boot-admin

spring-boot-admin plugin for deploying

License

License

Categories

Categories

Spring Boot Container Microservices
GroupId

GroupId

io.github.jianzhichun
ArtifactId

ArtifactId

deploy-spring-boot-admin
Last Version

Last Version

0.1.7
Release Date

Release Date

Type

Type

jar
Description

Description

deploy-spring-boot-admin
spring-boot-admin plugin for deploying
Project URL

Project URL

https://github.com/jianzhichun/deploy-spring-boot-admin
Source Code Management

Source Code Management

https://github.com/jianzhichun/deploy-spring-boot-admin

Download deploy-spring-boot-admin

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.jianzhichun/deploy-spring-boot-admin/ -->
<dependency>
    <groupId>io.github.jianzhichun</groupId>
    <artifactId>deploy-spring-boot-admin</artifactId>
    <version>0.1.7</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.jianzhichun/deploy-spring-boot-admin/
implementation 'io.github.jianzhichun:deploy-spring-boot-admin:0.1.7'
// https://jarcasting.com/artifacts/io.github.jianzhichun/deploy-spring-boot-admin/
implementation ("io.github.jianzhichun:deploy-spring-boot-admin:0.1.7")
'io.github.jianzhichun:deploy-spring-boot-admin:jar:0.1.7'
<dependency org="io.github.jianzhichun" name="deploy-spring-boot-admin" rev="0.1.7">
  <artifact name="deploy-spring-boot-admin" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.jianzhichun', module='deploy-spring-boot-admin', version='0.1.7')
)
libraryDependencies += "io.github.jianzhichun" % "deploy-spring-boot-admin" % "0.1.7"
[io.github.jianzhichun/deploy-spring-boot-admin "0.1.7"]

Dependencies

compile (4)

Group / Artifact Type Version
org.apache.commons : commons-exec jar 1.3
de.codecentric : spring-boot-admin-server Optional jar 1.4.6
org.springframework.boot : spring-boot-starter-mail Optional jar
org.springframework.boot : spring-boot-configuration-processor Optional jar

test (1)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-test jar

Project Modules

There are no modules declared in this project.

deploy-spring-boot-admin

deploy-spring-boot-admin is a plugin for spring-boot-admin

Screenshots

DeployPage Page with deploy actions

DeployPage Edit Page when edit deploy action

DeployPage After Execute Page after executing deploy actions

sample-project

You can add custom plugins to deploy-spring-boot-admin like sample-project.

see sample

SamplePage Sample-project Page

SamplePage After Running Sample-project Page after executing custom action

quick-start

Add below dependencies to your pom

    <dependency>
      <groupId>de.codecentric</groupId>
      <artifactId>spring-boot-admin-server</artifactId>
      <version>${spring.boot.admin.version}</version>
    </dependency>
    <dependency>
      <groupId>de.codecentric</groupId>
      <artifactId>spring-boot-admin-server-ui</artifactId>
      <version>${spring.boot.admin.version}</version>
    </dependency>
    <dependency>
      <groupId>io.github.jianzhichun</groupId>
      <artifactId>deploy-spring-boot-admin</artifactId>
      <version>0.1.6</version>
    </dependency>

Meanwhile, you can add spring-boot-starter-mail for mail-notification function

    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-mail</artifactId>
    </dependency>

Add configuration to your application.yml

spring.boot.admin:
  notify:
    mail:
      enabled: false
  url: http://localhost:8080
  deploy:
    # when project start will run the actions in bootstrap
    bootstrap:
      - foo
      - bar
    # charset should be charset in deployed server
    charset: gbk
    mail:
      enabled: false
      simpleMailMessage:
        from: [email protected]
        to:
          - [email protected]
        subject: test
        text: Hi, 
    # action means script in deployed server
    actions:
      foo: 
        -
          exec: ipconfig
      bar: 
        -
          exec: ping
          args:
            - www.baidu.com
        -
          exec: ipconfig

thanks

xigongdaEricyang

enjoy

Versions

Version
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.1