Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,835 changes: 1,714 additions & 121 deletions contract/5_0_x_contract.xml → contract/5_8_x_3150467_contract.xml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ public class GetTapesSpectraS3Request extends AbstractPaginationRequest {

private String barCode;

private String bucket;

private String bucketId;

private String ejectLabel;
Expand All @@ -54,6 +56,8 @@ public class GetTapesSpectraS3Request extends AbstractPaginationRequest {

private Date partiallyVerifiedEndOfTape;

private String partition;

private String partitionId;

private TapeState previousState;
Expand All @@ -64,6 +68,8 @@ public class GetTapesSpectraS3Request extends AbstractPaginationRequest {

private TapeState state;

private String storageDomain;

private String storageDomainMemberId;

private String type;
Expand Down Expand Up @@ -100,6 +106,13 @@ public GetTapesSpectraS3Request withBarCode(final String barCode) {
}


public GetTapesSpectraS3Request withBucket(final String bucket) {
this.bucket = bucket;
this.updateQueryParam("bucket", bucket);
return this;
}


public GetTapesSpectraS3Request withBucketId(final String bucketId) {
this.bucketId = bucketId;
this.updateQueryParam("bucket_id", bucketId);
Expand Down Expand Up @@ -181,6 +194,13 @@ public GetTapesSpectraS3Request withPartiallyVerifiedEndOfTape(final Date partia
}


public GetTapesSpectraS3Request withPartition(final String partition) {
this.partition = partition;
this.updateQueryParam("partition", partition);
return this;
}


public GetTapesSpectraS3Request withPartitionId(final UUID partitionId) {
this.partitionId = partitionId.toString();
this.updateQueryParam("partition_id", partitionId);
Expand Down Expand Up @@ -223,6 +243,13 @@ public GetTapesSpectraS3Request withState(final TapeState state) {
}


public GetTapesSpectraS3Request withStorageDomain(final String storageDomain) {
this.storageDomain = storageDomain;
this.updateQueryParam("storage_domain", storageDomain);
return this;
}


public GetTapesSpectraS3Request withStorageDomainMemberId(final UUID storageDomainMemberId) {
this.storageDomainMemberId = storageDomainMemberId.toString();
this.updateQueryParam("storage_domain_member_id", storageDomainMemberId);
Expand Down Expand Up @@ -284,6 +311,11 @@ public String getBarCode() {
}


public String getBucket() {
return this.bucket;
}


public String getBucketId() {
return this.bucketId;
}
Expand Down Expand Up @@ -334,6 +366,11 @@ public Date getPartiallyVerifiedEndOfTape() {
}


public String getPartition() {
return this.partition;
}


public String getPartitionId() {
return this.partitionId;
}
Expand All @@ -359,6 +396,11 @@ public TapeState getState() {
}


public String getStorageDomain() {
return this.storageDomain;
}


public String getStorageDomainMemberId() {
return this.storageDomainMemberId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ public class ModifyDataPathBackendSpectraS3Request extends AbstractRequest {

private int maxAggregatedBlobsPerChunk;

private int maxNumberOfConcurrentJobs;

private Integer partiallyVerifyLastPercentOfTapes;

private boolean poolSafetyEnabled;
Expand Down Expand Up @@ -136,6 +138,13 @@ public ModifyDataPathBackendSpectraS3Request withMaxAggregatedBlobsPerChunk(fina
}


public ModifyDataPathBackendSpectraS3Request withMaxNumberOfConcurrentJobs(final int maxNumberOfConcurrentJobs) {
this.maxNumberOfConcurrentJobs = maxNumberOfConcurrentJobs;
this.updateQueryParam("max_number_of_concurrent_jobs", maxNumberOfConcurrentJobs);
return this;
}


public ModifyDataPathBackendSpectraS3Request withPartiallyVerifyLastPercentOfTapes(final Integer partiallyVerifyLastPercentOfTapes) {
this.partiallyVerifyLastPercentOfTapes = partiallyVerifyLastPercentOfTapes;
this.updateQueryParam("partially_verify_last_percent_of_tapes", partiallyVerifyLastPercentOfTapes);
Expand Down Expand Up @@ -239,6 +248,11 @@ public int getMaxAggregatedBlobsPerChunk() {
}


public int getMaxNumberOfConcurrentJobs() {
return this.maxNumberOfConcurrentJobs;
}


public Integer getPartiallyVerifyLastPercentOfTapes() {
return this.partiallyVerifyLastPercentOfTapes;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ public class DataPathBackend {
@JsonProperty("MaxAggregatedBlobsPerChunk")
private int maxAggregatedBlobsPerChunk;

@JsonProperty("MaxNumberOfConcurrentJobs")
private int maxNumberOfConcurrentJobs;

@JsonProperty("PartiallyVerifyLastPercentOfTapes")
private Integer partiallyVerifyLastPercentOfTapes;

Expand Down Expand Up @@ -206,6 +209,15 @@ public void setMaxAggregatedBlobsPerChunk(final int maxAggregatedBlobsPerChunk)
}


public int getMaxNumberOfConcurrentJobs() {
return this.maxNumberOfConcurrentJobs;
}

public void setMaxNumberOfConcurrentJobs(final int maxNumberOfConcurrentJobs) {
this.maxNumberOfConcurrentJobs = maxNumberOfConcurrentJobs;
}


public Integer getPartiallyVerifyLastPercentOfTapes() {
return this.partiallyVerifyLastPercentOfTapes;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public class DetailedTapePartition {
@JsonProperty("AutoQuiesceEnabled")
private boolean autoQuiesceEnabled;

@JsonProperty("AvailableStorageCapacity")
private long availableStorageCapacity;

@JsonProperty("DriveIdleTimeoutInMinutes")
private Integer driveIdleTimeoutInMinutes;

Expand Down Expand Up @@ -73,10 +76,27 @@ public class DetailedTapePartition {
@JsonProperty("State")
private TapePartitionState state;

@JsonProperty("TapeCount")
private int tapeCount;

@JsonProperty("TapeStateSummaries")
@JacksonXmlElementWrapper(useWrapping = true)
private List<TapeStateSummaryApiBean> tapeStateSummaries = new ArrayList<>();

@JsonProperty("TapeTypeSummaries")
@JacksonXmlElementWrapper(useWrapping = true)
private List<TapeTypeSummaryApiBean> tapeTypeSummaries = new ArrayList<>();

@JsonProperty("TapeTypes")
@JacksonXmlElementWrapper(useWrapping = false)
private List<String> tapeTypes = new ArrayList<>();

@JsonProperty("TotalStorageCapacity")
private long totalStorageCapacity;

@JsonProperty("UsedStorageCapacity")
private long usedStorageCapacity;

// Constructor
public DetailedTapePartition() {
//pass
Expand All @@ -102,6 +122,15 @@ public void setAutoQuiesceEnabled(final boolean autoQuiesceEnabled) {
}


public long getAvailableStorageCapacity() {
return this.availableStorageCapacity;
}

public void setAvailableStorageCapacity(final long availableStorageCapacity) {
this.availableStorageCapacity = availableStorageCapacity;
}


public Integer getDriveIdleTimeoutInMinutes() {
return this.driveIdleTimeoutInMinutes;
}
Expand Down Expand Up @@ -219,6 +248,33 @@ public void setState(final TapePartitionState state) {
}


public int getTapeCount() {
return this.tapeCount;
}

public void setTapeCount(final int tapeCount) {
this.tapeCount = tapeCount;
}


public List<TapeStateSummaryApiBean> getTapeStateSummaries() {
return this.tapeStateSummaries;
}

public void setTapeStateSummaries(final List<TapeStateSummaryApiBean> tapeStateSummaries) {
this.tapeStateSummaries = tapeStateSummaries;
}


public List<TapeTypeSummaryApiBean> getTapeTypeSummaries() {
return this.tapeTypeSummaries;
}

public void setTapeTypeSummaries(final List<TapeTypeSummaryApiBean> tapeTypeSummaries) {
this.tapeTypeSummaries = tapeTypeSummaries;
}


public List<String> getTapeTypes() {
return this.tapeTypes;
}
Expand All @@ -227,4 +283,22 @@ public void setTapeTypes(final List<String> tapeTypes) {
this.tapeTypes = tapeTypes;
}


public long getTotalStorageCapacity() {
return this.totalStorageCapacity;
}

public void setTotalStorageCapacity(final long totalStorageCapacity) {
this.totalStorageCapacity = totalStorageCapacity;
}


public long getUsedStorageCapacity() {
return this.usedStorageCapacity;
}

public void setUsedStorageCapacity(final long usedStorageCapacity) {
this.usedStorageCapacity = usedStorageCapacity;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public class NamedDetailedTapePartition {
@JsonProperty("AutoQuiesceEnabled")
private boolean autoQuiesceEnabled;

@JsonProperty("AvailableStorageCapacity")
private long availableStorageCapacity;

@JsonProperty("DriveIdleTimeoutInMinutes")
private Integer driveIdleTimeoutInMinutes;

Expand Down Expand Up @@ -73,10 +76,27 @@ public class NamedDetailedTapePartition {
@JsonProperty("State")
private TapePartitionState state;

@JsonProperty("TapeCount")
private int tapeCount;

@JsonProperty("TapeStateSummaries")
@JacksonXmlElementWrapper(useWrapping = true)
private List<TapeStateSummaryApiBean> tapeStateSummaries = new ArrayList<>();

@JsonProperty("TapeTypeSummaries")
@JacksonXmlElementWrapper(useWrapping = true)
private List<TapeTypeSummaryApiBean> tapeTypeSummaries = new ArrayList<>();

@JsonProperty("TapeTypes")
@JacksonXmlElementWrapper(useWrapping = false)
private List<String> tapeTypes = new ArrayList<>();

@JsonProperty("TotalStorageCapacity")
private long totalStorageCapacity;

@JsonProperty("UsedStorageCapacity")
private long usedStorageCapacity;

// Constructor
public NamedDetailedTapePartition() {
//pass
Expand All @@ -102,6 +122,15 @@ public void setAutoQuiesceEnabled(final boolean autoQuiesceEnabled) {
}


public long getAvailableStorageCapacity() {
return this.availableStorageCapacity;
}

public void setAvailableStorageCapacity(final long availableStorageCapacity) {
this.availableStorageCapacity = availableStorageCapacity;
}


public Integer getDriveIdleTimeoutInMinutes() {
return this.driveIdleTimeoutInMinutes;
}
Expand Down Expand Up @@ -219,6 +248,33 @@ public void setState(final TapePartitionState state) {
}


public int getTapeCount() {
return this.tapeCount;
}

public void setTapeCount(final int tapeCount) {
this.tapeCount = tapeCount;
}


public List<TapeStateSummaryApiBean> getTapeStateSummaries() {
return this.tapeStateSummaries;
}

public void setTapeStateSummaries(final List<TapeStateSummaryApiBean> tapeStateSummaries) {
this.tapeStateSummaries = tapeStateSummaries;
}


public List<TapeTypeSummaryApiBean> getTapeTypeSummaries() {
return this.tapeTypeSummaries;
}

public void setTapeTypeSummaries(final List<TapeTypeSummaryApiBean> tapeTypeSummaries) {
this.tapeTypeSummaries = tapeTypeSummaries;
}


public List<String> getTapeTypes() {
return this.tapeTypes;
}
Expand All @@ -227,4 +283,22 @@ public void setTapeTypes(final List<String> tapeTypes) {
this.tapeTypes = tapeTypes;
}


public long getTotalStorageCapacity() {
return this.totalStorageCapacity;
}

public void setTotalStorageCapacity(final long totalStorageCapacity) {
this.totalStorageCapacity = totalStorageCapacity;
}


public long getUsedStorageCapacity() {
return this.usedStorageCapacity;
}

public void setUsedStorageCapacity(final long usedStorageCapacity) {
this.usedStorageCapacity = usedStorageCapacity;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public enum TapeDriveType {
LTO7,
LTO8,
LTO9,
LTO10,
TS1140,
TS1150,
TS1155,
Expand Down
Loading