0
我讀過的文件,而我得到的REST API GET網址...如何更新HP Fortify的「處理規則」通過REST
http://localhost:8080/ssc/api/v1/projectVersions/6/resultProcessingRules
工作,並返回「配置文件的列表 - 處理規則「(通過ID 6)。 例如
"data": [
{
"displayName": "Require approval if the Build Project is different between scans",
"identifier": "com.fortify.manager.BLL.processingrules.BuildProjectProcessingRule",
"enabled": true,
"displayable": true
}
我不能去工作,是PUT命令來設置這個「啓用=真」到「啓用=假」
我回來了同樣的錯誤消息,每次...
{
"message": "An unexpected error occurred accessing resource of type Project Version Result Processing Rules.",
"responseCode": 500,
"errorCode": -20010
}
和日誌只是說...
2016-11-27 23:24:40,076 [ERROR] com.fortify.server.platform.endpoints.rest.ProjectVersionResultProcessingRulesController - ApiGeneralResourceException: 'An unexpected error occurred accessing resource of type Project Version Result Processing Rules.' [url: /ssc/api/v1/projectVersions/6/resultProcessingRules]
2016-11-27 23:24:40,077 [WARN] org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver - Handler execution resulted in exception: java.lang.String cannot be cast to java.util.List
誰能告訴我正確的有效載荷應該是什麼這個comman d?