File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
main/java/org/eclipse/sw360/rest/resourceserver/project
test/java/org/eclipse/sw360/rest/resourceserver/restdocs Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2951,8 +2951,8 @@ public void getlicenseClearingCount(
29512951 int approvedCount = clearingInfo .approved ;
29522952 try {
29532953 JsonObject row = new JsonObject ();
2954- row .addProperty ("Release Count " , releaseCount );
2955- row .addProperty ("Approved Count " , approvedCount );
2954+ row .addProperty ("releaseCount " , releaseCount );
2955+ row .addProperty ("approvedCount " , approvedCount );
29562956 response .getWriter ().write (row .toString ());
29572957 } catch (IOException e ) {
29582958 throw new SW360Exception (e .getMessage ());
@@ -2985,7 +2985,7 @@ public void getBatchLicenseClearingCount(
29852985 int approvedCount = clearingInfo .approved ;
29862986
29872987 JsonObject row = new JsonObject ();
2988- row .addProperty ("totalCount " , releaseCount );
2988+ row .addProperty ("releaseCount " , releaseCount );
29892989 row .addProperty ("approvedCount" , approvedCount );
29902990 result .add (proj .getId (), row );
29912991 }
Original file line number Diff line number Diff line change @@ -2472,8 +2472,8 @@ public void should_document_get_license_clearing_information() throws Exception
24722472 .andExpect (status ().isOk ())
24732473 .andDo (this .documentationHandler .document (
24742474 responseFields (
2475- fieldWithPath ("Release Count " ).description ("Total count of releases of a project including sub-projects releases" ),
2476- fieldWithPath ("Approved Count " ).description ("Approved license clearing state releases" )
2475+ fieldWithPath ("releaseCount " ).description ("Total count of releases of a project including sub-projects releases" ),
2476+ fieldWithPath ("approvedCount " ).description ("Approved license clearing state releases" )
24772477 )));
24782478 }
24792479
You can’t perform that action at this time.
0 commit comments