Skip to content

Commit

Permalink
feat(report): add common rules table
Browse files Browse the repository at this point in the history
Add and fill the common rules table in the report. Therefore use Todo to
hold the actual common rule - project level obligation.

Signed-off-by: Markus Herpich <[email protected]>
  • Loading branch information
Markus Herpich authored and Nikolas Sepos committed Jun 26, 2019
1 parent 79eaabd commit 477019b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
import org.eclipse.sw360.datahandler.thrift.components.ComponentService;
import org.eclipse.sw360.datahandler.thrift.components.Release;
import org.eclipse.sw360.datahandler.thrift.components.ReleaseLink;
import org.eclipse.sw360.datahandler.common.SW360Utils;
import org.eclipse.sw360.datahandler.thrift.SW360Exception;
import org.eclipse.sw360.datahandler.thrift.ThriftClients;
import org.eclipse.sw360.datahandler.thrift.components.Release;
import org.eclipse.sw360.datahandler.thrift.licenseinfo.*;
import org.eclipse.sw360.datahandler.thrift.licenses.License;
import org.eclipse.sw360.datahandler.thrift.licenses.LicenseService;
Expand Down Expand Up @@ -180,6 +184,8 @@ private void fillReportDocument(
fillCommonRulesTable(document, project);
fillAdditionalRequirementsTable(document, obligationResults);

fillCommonRulesTable(document, project);

// because of the impossible API component subsections must be the last thing in the docx file
// the rest of the sections must be generated after this
writeComponentSubsections(document, projectLicenseInfoResults, obligationResults);
Expand Down
1 change: 1 addition & 0 deletions libraries/lib-datahandler/src/main/thrift/projects.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ include "attachments.thrift"
include "vendors.thrift"
include "components.thrift"
include "sw360.thrift"
include "commonobligations.thrift"
include "licenses.thrift"

namespace java org.eclipse.sw360.datahandler.thrift.projects
Expand Down

0 comments on commit 477019b

Please sign in to comment.