-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy-batch-components.html
120 lines (120 loc) · 5.46 KB
/
deploy-batch-components.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="description" content="JobStreamer : JobStreamer site."/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/semantic-ui/2.1.8/semantic.min.css" type="text/css"/>
<link rel="stylesheet" href="css/basic.css" type="text/css"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/prism/1.5.0/themes/prism.css" type="text/css"/>
</head>
<body>
<div class="ui fixed inverted teal menu">
<div class="title item"><a href="./index.html"><b>Job Streamer</b></a></div>
</div>
<div/>
<div id="main_content_wrap" class="main ui grid content">
<div class="four wide column">
<div class="ui vertical fluid tabular menu">
<a class="item" href="get-started-quickly.html">
Getting Started
</a>
<div class="item">
<div class="header">Guide</div>
<div class="menu">
<a class="item" href="auth.html">
Authentication and authorization
</a>
<a class="item" href="deploy-batch-components.html">
Deploy batch components
</a>
<a class="item" href="create-a-job.html">
Create job
</a>
<a class="item" href="execute-the-job.html">
Execute job
</a>
<a class="item" href="schedule-job.html">
Schedule job
</a>
<a class="item" href="job-config.html">
Job config
</a>
<a class="item" href="notificator-config.html">
Notificator config
</a>
<a class="item" href="import-export.html">
Import and export
</a>
<a class="item" href="test-mode.html">
Test mode
</a>
<a class="item" href="healthcheck.html">
Healthcheck
</a>
</div>
</div>
<div class="item">
<div class="header">Components</div>
<div class="menu">
<a class="item" href="control-bus.html">
Control bus
</a>
<a class="item" href="agent.html">
Agent
</a>
<a class="item" href="console.html">
Management console
</a>
<a class="item" href="notificator.html">
Notificator
</a>
</div>
</div>
<div class="item">
<div class=" header">For contributers</div>
<div class="menu">
<a class="item" href="get-started-developer.html">
Getting Started for contributers
</a>
<a class="item" href="developer-guide.html">
Developer guide for contributers
</a>
</div>
</div>
</div> </div>
<div class="twelve wide stretched column">
<h1><a href="#deploy-batch-components" name="deploy-batch-components">Deploy batch components</a></h1><h2><a href="#how-to-deploy" name="how-to-deploy">How to deploy</a></h2><p>You can deploy batch conpornents on Control-bus using <a href="https://github.com/job-streamer/job-streamer-maven-plugin">maven plugin</a> or by upload a jar file that has all dependencies of components in it to Console.<br/>Anyway, we recommend that you make a batch components project as a “maven project”.</p><h3>Deploy using <a href="https://github.com/job-streamer/job-streamer-maven-plugin">maven plugin</a></h3><p>Example<br/>==</p><h4>1. Get example:</h4>
<pre><code> % git clone https://github.com/job-streamer/job-streamer-examples.git
</code></pre><h4>2. Deploy:</h4>
<pre><code> % cd job-streamer-examples
% mvn -e clean package job-streamer:deploy
</code></pre>
<blockquote><p>It is necessary to write authentication information for Control-bus on pom.xml.<br/>It is necessary that deploy resources and Control-bus exist in the same server.</p>
</blockquote><h3><a href="#deploy-from-console" name="deploy-from-console">Deploy from Console</a></h3><p>Example<br/>==</p><h4>1. Get example:</h4>
<pre><code> % git clone https://github.com/job-streamer/job-streamer-examples.git
</code></pre><h4>2. Create with-dependencies.jar:</h4>
<pre><code> % cd job-streamer-examples
% mvn compile assembly:single
</code></pre><h4>3. Transit to “Upload Batch Components” in the header right menu:</h4><h4>4. Drag and drop the jar file created in step 1 to “Drop files here to upload” area, and the jar file will be upoloaded:</h4>
</div>
</div>
<div class="ui inverted teal footer vertical segment">
<div class="container">
<div class="ui stackable divided relaxed grid">
<div class="sixteen wide column">
<p>Copyright @ 2015-2016 kawasima & contributors.</p>
<p>Released under the EPL license.</p>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/jquery/1.12.3/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/prism/1.5.0/prism.js"></script>
<script src="https://cdn.jsdelivr.net/prism/1.5.0/components/prism-java.min.js"></script>
<script src="https://cdn.jsdelivr.net/prism/1.5.0/components/prism-bash.min.js"></script>
<script src="https://cdn.jsdelivr.net/prism/1.5.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
<script src="https://cdn.jsdelivr.net/semantic-ui/2.1.8/semantic.min.js"> </script>
</body>
</html>