Giter Site home page Giter Site logo

zdora's Introduction

zdora介绍

image

环境

  1. jdk1.8
  2. springboot websocket
  3. maven

功能

脚本执行平台,在节点机器上执行命令,并时时回显执行命令的过程。

打包

工程下有三个分支:master/client/test,master是server端,client是客户端,代码下载下来后,通过maven打成两个jar包:zdora-1.0.jar/zdora-client-jar-with-dependencies.jar

test分支是个示例代码分支,示例代码中包含如下知识点:

  1. http接口请求及zson的使用

  2. ztest的使用

  3. maven与testng.xml的结合使用

  4. 参数的传递

启动

  1. server端启动,server端默认启动的端口是8080:

image

  1. client端启动:

java -cp E:\workspace\zdora-client\target\zdora-client-jar-with-dependencies.jar com.zf.zdora.client.Run 192.168.1.3 8080

其中192.168.1.3是服务端的ip地址,8080是服务端的端口

使用

  1. 打开http://192.168.1.3:8080/index(以启动服务端的IP为准)

image

  1. 在命令与参数中分别填写java -version点击执行

image

  1. 点击:

image

  1. 查看执行过程:

image

应用场景

自动化多台机器执行控制

zdora's People

Contributors

zhangfei19841004 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.