Skip to content

Commit

Permalink
web platform supports tars-nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
loveyacper committed Sep 8, 2017
1 parent 2300b23 commit f662c3d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class DeployServer {
private String nodeName;

@NotBlank
@Value(values = {"tars_cpp", "tars_java", "not_tars"})
@Value(values = {"tars_cpp", "tars_java", "tars_nodejs", "tars_php", "not_tars"})
private String serverType;

@NotBlank
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public List<String> serverTypeList() throws Exception {
return new LinkedList<String>() {{
add("tars_cpp");
add("tars_java");
add("tars_nodejs");
add("tars_php");
}};
}

Expand Down
2 changes: 2 additions & 0 deletions web/src/main/webapp/server_deploy.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ <h4 id="main_title">部署申请</h4>
<select name="server_type" id="server-type" class="form-control">
<option value="tars_cpp">tars_cpp</option>
<option value="tars_java">tars_java</option>
<option value="tars_nodejs">tars_nodejs</option>
<option value="tars_php">tars_php</option>
<option value="not_tars">not_tars</option>
</select>
</div>
Expand Down
2 changes: 2 additions & 0 deletions web/src/main/webapp/server_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ <h4 class="sub-header">服务实时状态</h4>
<select name="" id="u-server-type" class="form-control">
<option value="tars_cpp">tars_cpp</option>
<option value="tars_java">tars_java</option>
<option value="tars_nodejs">tars_nodejs</option>
<option value="tars_php">tars_php</option>
<option value="not_tars">not_tars</option>
</select>
</div>
Expand Down

0 comments on commit f662c3d

Please sign in to comment.