From f28099275c0a5f707cec154a356b1e38a2646083 Mon Sep 17 00:00:00 2001 From: Bosn Date: Mon, 5 Nov 2012 17:05:03 +0800 Subject: [PATCH] 1. add new version rap v0.5 2. QA automation testing module development 20% 2.1 finish modify interface --- README.md | 2 +- WebContent/account/login.vm | 2 +- WebContent/bcom/isOkWithNum.cb.vm | 1 + WebContent/tcom/template.rap.vm | 2 +- src/applicationContext.xml | 2 +- .../baidu/rigel/rap/common/ActionBase.java | 9 + .../baidu/rigel/rap/common/ArrayUtils.java | 3 +- .../baidu/rigel/rap/mock/service/MockMgr.java | 17 + .../rap/mock/service/impl/MockMgrImpl.java | 11 + .../rigel/rap/mock/web/action/MockAction.java | 175 ++--- .../rigel/rap/mock/web/action/struts.xml | 49 +- .../baidu/rigel/rap/project/bo/Action.java | 2 +- .../baidu/rigel/rap/project/bo/Parameter.java | 10 + .../rigel/rap/project/dao/ProjectDao.java | 7 + .../rap/project/dao/impl/ProjectDaoImpl.java | 41 +- .../rap/project/mapping/Parameter.hbm.xml | 81 +-- src/database/create-table.sql | 613 +++++++++--------- 17 files changed, 580 insertions(+), 447 deletions(-) create mode 100644 WebContent/bcom/isOkWithNum.cb.vm diff --git a/README.md b/README.md index 00704f7..0c6ab56 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Rigel Automation Platform === - @version v0.4 - (latest version, in master branch) + @version v0.5 - (latest version, in master branch) @author Bosn Ma @weibo http://weibo.com/bosn @mail bosn@outlook.com diff --git a/WebContent/account/login.vm b/WebContent/account/login.vm index 4d71067..b3f306f 100644 --- a/WebContent/account/login.vm +++ b/WebContent/account/login.vm @@ -27,7 +27,7 @@ - + #if ($errMsg && $errMsg != "") diff --git a/WebContent/bcom/isOkWithNum.cb.vm b/WebContent/bcom/isOkWithNum.cb.vm new file mode 100644 index 0000000..2524859 --- /dev/null +++ b/WebContent/bcom/isOkWithNum.cb.vm @@ -0,0 +1 @@ +{"isOk":$!isOk, "num":$!num} diff --git a/WebContent/tcom/template.rap.vm b/WebContent/tcom/template.rap.vm index 56fdb0a..1cc89aa 100644 --- a/WebContent/tcom/template.rap.vm +++ b/WebContent/tcom/template.rap.vm @@ -8,7 +8,7 @@ - RAP v0.4 + RAP v0.5