...
|
...
|
@@ -7,52 +7,80 @@ import java.util.Map; |
|
|
|
|
|
public class ProjectOnline {
|
|
|
|
|
|
private static List<Project> list = new ArrayList<Project>();
|
|
|
private static List<Project> JAVA_LIST = new ArrayList<Project>();
|
|
|
private static List<Project> PHP_LIST = new ArrayList<Project>();
|
|
|
private static List<Project> NODE_LIST = new ArrayList<Project>();
|
|
|
|
|
|
private static Map<String,Project> map = new HashMap<String,Project>();
|
|
|
|
|
|
static{
|
|
|
list.add(new Project("1","yoho-sns","125","yoho30"));
|
|
|
list.add(new Project("1","yoho-message","123","yoho30"));
|
|
|
list.add(new Project("1","uic","439","yoho30"));
|
|
|
list.add(new Project("1","yoho-users","134","yoho30"));
|
|
|
list.add(new Project("1","yohobuy-resources","122","yoho30"));
|
|
|
list.add(new Project("1","yohobuy-promotion","140","yoho30"));
|
|
|
list.add(new Project("1","yohobuy-product","143","yoho30"));
|
|
|
list.add(new Project("1","yohobuy-order","124","yoho30"));
|
|
|
list.add(new Project("1","yoho-push","137","yoho30"));
|
|
|
list.add(new Project("1","cms_push","514","yoho30"));
|
|
|
list.add(new Project("1","mars_push","494","yoho30"));
|
|
|
list.add(new Project("1","yohobuy-shops","490","yoho30"));
|
|
|
list.add(new Project("1","yoho-social","353","yoho30"));
|
|
|
list.add(new Project("1","yohobuy-union","133","yoho30"));
|
|
|
list.add(new Project("1","yohobuy-activity","129","yoho30"));
|
|
|
list.add(new Project("1","yohobuy-task","138","yoho30"));
|
|
|
list.add(new Project("1","yohobuy-wechat","248","yoho30"));
|
|
|
list.add(new Project("1","yohobuy-brower","131","yoho30"));
|
|
|
list.add(new Project("1","yohobuy-bigdata","144","yoho30"));
|
|
|
list.add(new Project("1","yoho-gateway","126","yoho30"));
|
|
|
|
|
|
list.add(new Project("2","yoho-search-service","12","yoho-search"));
|
|
|
list.add(new Project("2","yoho-search-consumer","8","yoho-search"));
|
|
|
list.add(new Project("2","yoho-search-producer","7","yoho-search"));
|
|
|
list.add(new Project("2","yoho-search-adaptor","13","yoho-search"));
|
|
|
|
|
|
list.add(new Project("3","yohobuy-platform","110","platform"));
|
|
|
|
|
|
for(Project project :list){
|
|
|
map.put(project.getName(),project);
|
|
|
}
|
|
|
JAVA_LIST.add(new Project("1","yoho-sns","125","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yoho-message","123","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","uic","439","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yoho-users","134","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yohobuy-resources","122","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yohobuy-promotion","140","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yohobuy-product","143","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yohobuy-order","124","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yoho-push","137","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","cms_push","514","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","mars_push","494","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yohobuy-shops","490","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yoho-social","353","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yohobuy-union","133","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yohobuy-activity","129","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yohobuy-task","138","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yohobuy-wechat","248","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yohobuy-brower","131","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yohobuy-bigdata","144","yoho30"));
|
|
|
JAVA_LIST.add(new Project("1","yoho-gateway","126","yoho30"));
|
|
|
|
|
|
JAVA_LIST.add(new Project("2","yoho-search-service","12","yoho-search"));
|
|
|
JAVA_LIST.add(new Project("2","yoho-search-consumer","8","yoho-search"));
|
|
|
JAVA_LIST.add(new Project("2","yoho-search-producer","7","yoho-search"));
|
|
|
JAVA_LIST.add(new Project("2","yohomars-search-service","554","yoho-search"));
|
|
|
JAVA_LIST.add(new Project("2","yoho-search-adaptor","13","yoho-search"));
|
|
|
|
|
|
JAVA_LIST.add(new Project("3","yohobuy-platform","110","platform"));
|
|
|
|
|
|
|
|
|
PHP_LIST.add(new Project("","YOHOBUYWAP","",""));
|
|
|
PHP_LIST.add(new Project("","YOHOBUYPC","",""));
|
|
|
PHP_LIST.add(new Project("","yohoboys","",""));
|
|
|
PHP_LIST.add(new Project("","yohogirls","",""));
|
|
|
PHP_LIST.add(new Project("","yohorecruitment","",""));
|
|
|
PHP_LIST.add(new Project("","yohood","",""));
|
|
|
PHP_LIST.add(new Project("","yoho-phppush","",""));
|
|
|
PHP_LIST.add(new Project("","yoho-global-bs","",""));
|
|
|
PHP_LIST.add(new Project("","yohoshow","",""));
|
|
|
PHP_LIST.add(new Project("","yohoezine","",""));
|
|
|
PHP_LIST.add(new Project("","sso","",""));
|
|
|
PHP_LIST.add(new Project("","yohomars","",""));
|
|
|
PHP_LIST.add(new Project("","yohocn","",""));
|
|
|
PHP_LIST.add(new Project("","yohocnstatic","",""));
|
|
|
PHP_LIST.add(new Project("","yoho-chat","",""));
|
|
|
PHP_LIST.add(new Project("","yoholive","",""));
|
|
|
PHP_LIST.add(new Project("","yohoim","",""));
|
|
|
|
|
|
|
|
|
NODE_LIST.add(new Project("","yoho-blk","",""));
|
|
|
NODE_LIST.add(new Project("","yohoblk-wap","",""));
|
|
|
NODE_LIST.add(new Project("","yohobuy","",""));
|
|
|
NODE_LIST.add(new Project("","yohobuywap","",""));
|
|
|
NODE_LIST.add(new Project("","yohobuy-portal-fe2","",""));
|
|
|
NODE_LIST.add(new Project("","yohobuy-shop","",""));
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
public static List<Project> getProjectList() {
|
|
|
return list;
|
|
|
public static List<Project> getJavaList() {
|
|
|
return JAVA_LIST;
|
|
|
}
|
|
|
|
|
|
public static Project getProject(String name){
|
|
|
return map.get(name);
|
|
|
public static List<Project> getPhpList() {
|
|
|
return PHP_LIST;
|
|
|
}
|
|
|
|
|
|
public static List<Project> getNodeList() {
|
|
|
return NODE_LIST;
|
|
|
}
|
|
|
} |
...
|
...
|
|