Skip to content

Commit

Permalink
Merge pull request #47 from blackducksoftware/dev/jpp/master/IDETECT-…
Browse files Browse the repository at this point in the history
…3457-upg-trans-guide

IDETECT-3547 - Upgrade Guidance on transitive dependancies
  • Loading branch information
jppetrakis authored Mar 7, 2023
2 parents 76994ca + a1c0000 commit a2b2a56
Show file tree
Hide file tree
Showing 44 changed files with 1,738 additions and 29 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
project.ext.moduleName = 'com.synopsys.integration.blackduck-common-api'
project.ext.javaUseAutoModuleName = 'true'

version = '2022.10.6-SNAPSHOT'
version = '2023.1.0-SNAPSHOT'

description = 'A library of mostly temporary request/response classes for the Black Duck REST API.'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public class CodeLocationLatestScanSummaryView extends BlackDuckComponent {
private BigDecimal fileCount;
private String hostName;
private BigDecimal matchCount;
private Boolean retainUnmatchedFiles;
private BigDecimal scanSize;
private ScanStateType scanState;
private ScanType scanType;
Expand Down Expand Up @@ -97,6 +98,14 @@ public void setMatchCount(BigDecimal matchCount) {
this.matchCount = matchCount;
}

public Boolean getRetainUnmatchedFiles() {
return retainUnmatchedFiles;
}

public void setRetainUnmatchedFiles(Boolean retainUnmatchedFiles) {
this.retainUnmatchedFiles = retainUnmatchedFiles;
}

public BigDecimal getScanSize() {
return scanSize;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
* blackduck-common-api
*
* Copyright (c) 2023 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.blackduck.api.generated.component;

import com.synopsys.integration.blackduck.api.core.BlackDuckComponent;
import com.synopsys.integration.blackduck.api.generated.enumeration.ComponentVersionSbomFieldsItemsValueType;

// this file should not be edited - if changes are necessary, the generator should be updated, then this file should be re-created
public class ComponentVersionSbomFieldsItemsValueView extends BlackDuckComponent {
private String email;
private String name;
private ComponentVersionSbomFieldsItemsValueType type;

public String getEmail() {
return email;
}

public void setEmail(String email) {
this.email = email;
}

public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

public ComponentVersionSbomFieldsItemsValueType getType() {
return type;
}

public void setType(ComponentVersionSbomFieldsItemsValueType type) {
this.type = type;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
* blackduck-common-api
*
* Copyright (c) 2023 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.blackduck.api.generated.component;

import com.synopsys.integration.blackduck.api.core.BlackDuckComponent;
import com.synopsys.integration.blackduck.api.generated.component.ComponentVersionSbomFieldsItemsValueView;

// this file should not be edited - if changes are necessary, the generator should be updated, then this file should be re-created
public class ComponentVersionSbomFieldsView extends BlackDuckComponent {
private String fieldName;
private String label;
private ComponentVersionSbomFieldsItemsValueView value;

public String getFieldName() {
return fieldName;
}

public void setFieldName(String fieldName) {
this.fieldName = fieldName;
}

public String getLabel() {
return label;
}

public void setLabel(String label) {
this.label = label;
}

public ComponentVersionSbomFieldsItemsValueView getValue() {
return value;
}

public void setValue(ComponentVersionSbomFieldsItemsValueView value) {
this.value = value;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
* blackduck-common-api
*
* Copyright (c) 2023 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.blackduck.api.generated.component;

import com.synopsys.integration.blackduck.api.core.BlackDuckComponent;
import com.synopsys.integration.blackduck.api.generated.component.DeveloperScansScanItemsTransitiveUpgradeGuidanceLongTermUpgradeGuidanceVulnerabilityRiskView;

// this file should not be edited - if changes are necessary, the generator should be updated, then this file should be re-created
public class DeveloperScansScanItemsTransitiveUpgradeGuidanceLongTermUpgradeGuidanceView extends BlackDuckComponent {
private String versionName;
private DeveloperScansScanItemsTransitiveUpgradeGuidanceLongTermUpgradeGuidanceVulnerabilityRiskView vulnerabilityRisk;

public String getVersionName() {
return versionName;
}

public void setVersionName(String versionName) {
this.versionName = versionName;
}

public DeveloperScansScanItemsTransitiveUpgradeGuidanceLongTermUpgradeGuidanceVulnerabilityRiskView getVulnerabilityRisk() {
return vulnerabilityRisk;
}

public void setVulnerabilityRisk(DeveloperScansScanItemsTransitiveUpgradeGuidanceLongTermUpgradeGuidanceVulnerabilityRiskView vulnerabilityRisk) {
this.vulnerabilityRisk = vulnerabilityRisk;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/*
* blackduck-common-api
*
* Copyright (c) 2023 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.blackduck.api.generated.component;

import java.math.BigDecimal;
import com.synopsys.integration.blackduck.api.core.BlackDuckComponent;

// this file should not be edited - if changes are necessary, the generator should be updated, then this file should be re-created
public class DeveloperScansScanItemsTransitiveUpgradeGuidanceLongTermUpgradeGuidanceVulnerabilityRiskView extends BlackDuckComponent {
private BigDecimal critical;
private BigDecimal high;
private BigDecimal low;
private BigDecimal medium;
private BigDecimal unscored;

public BigDecimal getCritical() {
return critical;
}

public void setCritical(BigDecimal critical) {
this.critical = critical;
}

public BigDecimal getHigh() {
return high;
}

public void setHigh(BigDecimal high) {
this.high = high;
}

public BigDecimal getLow() {
return low;
}

public void setLow(BigDecimal low) {
this.low = low;
}

public BigDecimal getMedium() {
return medium;
}

public void setMedium(BigDecimal medium) {
this.medium = medium;
}

public BigDecimal getUnscored() {
return unscored;
}

public void setUnscored(BigDecimal unscored) {
this.unscored = unscored;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/*
* blackduck-common-api
*
* Copyright (c) 2023 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.blackduck.api.generated.component;

import com.synopsys.integration.blackduck.api.core.BlackDuckComponent;
import com.synopsys.integration.blackduck.api.generated.component.DeveloperScansScanItemsTransitiveUpgradeGuidanceShortTermUpgradeGuidanceVulnerabilityRiskView;

// this file should not be edited - if changes are necessary, the generator should be updated, then this file should be re-created
public class DeveloperScansScanItemsTransitiveUpgradeGuidanceShortTermUpgradeGuidanceView extends BlackDuckComponent {
private String versionName;
private DeveloperScansScanItemsTransitiveUpgradeGuidanceShortTermUpgradeGuidanceVulnerabilityRiskView vulnerabilityRisk;

public String getVersionName() {
return versionName;
}

public void setVersionName(String versionName) {
this.versionName = versionName;
}

public DeveloperScansScanItemsTransitiveUpgradeGuidanceShortTermUpgradeGuidanceVulnerabilityRiskView getVulnerabilityRisk() {
return vulnerabilityRisk;
}

public void setVulnerabilityRisk(DeveloperScansScanItemsTransitiveUpgradeGuidanceShortTermUpgradeGuidanceVulnerabilityRiskView vulnerabilityRisk) {
this.vulnerabilityRisk = vulnerabilityRisk;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/*
* blackduck-common-api
*
* Copyright (c) 2023 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.blackduck.api.generated.component;

import java.math.BigDecimal;
import com.synopsys.integration.blackduck.api.core.BlackDuckComponent;

// this file should not be edited - if changes are necessary, the generator should be updated, then this file should be re-created
public class DeveloperScansScanItemsTransitiveUpgradeGuidanceShortTermUpgradeGuidanceVulnerabilityRiskView extends BlackDuckComponent {
private BigDecimal critical;
private BigDecimal high;
private BigDecimal low;
private BigDecimal medium;
private BigDecimal unscored;

public BigDecimal getCritical() {
return critical;
}

public void setCritical(BigDecimal critical) {
this.critical = critical;
}

public BigDecimal getHigh() {
return high;
}

public void setHigh(BigDecimal high) {
this.high = high;
}

public BigDecimal getLow() {
return low;
}

public void setLow(BigDecimal low) {
this.low = low;
}

public BigDecimal getMedium() {
return medium;
}

public void setMedium(BigDecimal medium) {
this.medium = medium;
}

public BigDecimal getUnscored() {
return unscored;
}

public void setUnscored(BigDecimal unscored) {
this.unscored = unscored;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/*
* blackduck-common-api
*
* Copyright (c) 2023 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.blackduck.api.generated.component;

import com.synopsys.integration.blackduck.api.core.BlackDuckComponent;
import com.synopsys.integration.blackduck.api.generated.component.DeveloperScansScanItemsTransitiveUpgradeGuidanceLongTermUpgradeGuidanceView;
import com.synopsys.integration.blackduck.api.generated.component.DeveloperScansScanItemsTransitiveUpgradeGuidanceShortTermUpgradeGuidanceView;

// this file should not be edited - if changes are necessary, the generator should be updated, then this file should be re-created
public class DeveloperScansScanItemsTransitiveUpgradeGuidanceView extends BlackDuckComponent {
private String externalId;
private DeveloperScansScanItemsTransitiveUpgradeGuidanceLongTermUpgradeGuidanceView longTermUpgradeGuidance;
private DeveloperScansScanItemsTransitiveUpgradeGuidanceShortTermUpgradeGuidanceView shortTermUpgradeGuidance;

public String getExternalId() {
return externalId;
}

public void setExternalId(String externalId) {
this.externalId = externalId;
}

public DeveloperScansScanItemsTransitiveUpgradeGuidanceLongTermUpgradeGuidanceView getLongTermUpgradeGuidance() {
return longTermUpgradeGuidance;
}

public void setLongTermUpgradeGuidance(DeveloperScansScanItemsTransitiveUpgradeGuidanceLongTermUpgradeGuidanceView longTermUpgradeGuidance) {
this.longTermUpgradeGuidance = longTermUpgradeGuidance;
}

public DeveloperScansScanItemsTransitiveUpgradeGuidanceShortTermUpgradeGuidanceView getShortTermUpgradeGuidance() {
return shortTermUpgradeGuidance;
}

public void setShortTermUpgradeGuidance(DeveloperScansScanItemsTransitiveUpgradeGuidanceShortTermUpgradeGuidanceView shortTermUpgradeGuidance) {
this.shortTermUpgradeGuidance = shortTermUpgradeGuidance;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,12 @@
package com.synopsys.integration.blackduck.api.generated.component;

import com.synopsys.integration.blackduck.api.core.BlackDuckComponent;
import com.synopsys.integration.blackduck.api.generated.component.FeaturesAutoVersionRemoval;
import com.synopsys.integration.blackduck.api.generated.component.FeaturesScm;

// this file should not be edited - if changes are necessary, the generator should be updated, then this file should be re-created
public class Features extends BlackDuckComponent {
private FeaturesAutoVersionRemoval autoVersionRemoval;
private FeaturesScm scm;

public FeaturesAutoVersionRemoval getAutoVersionRemoval() {
return autoVersionRemoval;
}

public void setAutoVersionRemoval(FeaturesAutoVersionRemoval autoVersionRemoval) {
this.autoVersionRemoval = autoVersionRemoval;
}

public FeaturesScm getScm() {
return scm;
}
Expand Down
Loading

0 comments on commit a2b2a56

Please sign in to comment.