https://github.com/iamshreeram/executor-service
Service to invoke commands or script in any machine
https://github.com/iamshreeram/executor-service
batch executorservice jar java machine os processing shell
Last synced: 6 months ago
JSON representation
Service to invoke commands or script in any machine
- Host: GitHub
- URL: https://github.com/iamshreeram/executor-service
- Owner: iamshreeram
- License: apache-2.0
- Created: 2018-04-26T17:44:27.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T21:56:02.000Z (over 7 years ago)
- Last Synced: 2025-07-18T10:53:34.459Z (12 months ago)
- Topics: batch, executorservice, jar, java, machine, os, processing, shell
- Language: Java
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# executor-service
[](https://travis-ci.org/iamshreeram/executor-service)
[](https://maven-badges.herokuapp.com/maven-central/us.shreeram.applications/executorservice)
[](http://www.apache.org/licenses/LICENSE-2.0)
This is rest service which helps in invoking any OS level commands or can be used to trigger scripts that are in any machine where the application runs
## Getting Started
These instructions will get you a copy of the project up and running on your local machine.
### Prerequisites
Things you need to build the application
```
Java
Maven
```
### Build the application
A step by step process to build the code to JAR
```
git clone https://github.com/iamshreeram/executor-service.git
```
Extract the folder. Get into the folder do `mvn clean install` where pom.xml is located.
Note : Ensure Maven is configured in your system path
### Run the application
Snapshot version of Jar would have been created in target folder. Run it with below command
```
java -jar executorservice-1.0.jar
```
### Import as dependency
For Maven,
```xml
us.shreeram.applications
executorservice
1.0
```
For SBT,
```
libraryDependencies += "us.shreeram.applications" % "executorservice" % "1.0"
```
### Next updates
* Monitor Service to check the script status
* Ensure any script or command in OS can run only once
* Accept multiple arguments from user and dynamically pass it to script
* Enable the service to run kernel level commands and return the output
* Host a Single page app to view the details of OS and status.
* Codecov set up is in progress.