Skip to content

Commit

Permalink
Release 5.11.1 (#368)
Browse files Browse the repository at this point in the history
* EPMRPP-86199 || Add common not found error

* EPMRPP-86199 || Add common not found error

* Add common not found Error (#352)

* EPMRPP-86199 || Add common not found error

* EPMRPP-86199 || Add common not found error

* EPMRPP-86221 || Fix missed fields

* EPMRPP-86250 ||  Update Analyzer settings. Provide the base for analysis: Current launch and Current launch+previous

* EPMRPP-86742 add lombok support (#355)

EPMRPP-86742 extended response for launch import

* EPMRPP-86743 || Add new launch import rq (#356)

* EPMRPP-86743 || Add new launch import rq

* EPMRPP-86743 || Remove start time constraint

* EPMRPP-86743 || Add author

* EPMRPP-87332 || Send launchNumber to analyzer

* EPMRPP-87316 || Update PostFromField model (#358)

* EPMRPP-87316 || Update post form fields

* EPMRPP-87316 || Add command name to PostFormField

* EPMRPP-87316 || Add command name to PostFormField

* EPMRPP-87316 || Update named value object

* EPMRPP-87493 || Add description of the field (#360)

* EPMRPP-87271 added ActivityEventResource.subjectId field (#359)

* EPMRPP-87271 added ActivityEventResource.subjectId field

* EPMRPP-87613 || Add back compatibility with older plugins (#361)

* EPMRPP-87813 || Send to the analyzer the id of previous launch

* EPMRPP-88638 || Add name validation for launch import endpoint (#364)

* EPMRPP-88727 || Support null value for name in import (#365)

* rc/5.11.1 || Update version

---------

Co-authored-by: Ivan Kustau <[email protected]>
Co-authored-by: Andrei Piankouski <[email protected]>
Co-authored-by: APiankouski <[email protected]>
Co-authored-by: Ivan <[email protected]>
Co-authored-by: Siarhei Hrabko <[email protected]>
  • Loading branch information
6 people authored Dec 15, 2023
1 parent a9e674b commit b457e50
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
env:
GH_USER_NAME: github.actor
SCRIPTS_VERSION: 5.10.0
RELEASE_VERSION: 5.10.0
RELEASE_VERSION: 5.11.1

jobs:
release:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ public class IndexLaunch {
@JsonProperty("launchNumber")
private Long launchNumber;

@JsonProperty("previousLaunchId")
private Long previousLaunchId;

public IndexLaunch() {
}

Expand Down Expand Up @@ -122,4 +125,12 @@ public Long getLaunchNumber() {
public void setLaunchNumber(Long launchNumber) {
this.launchNumber = launchNumber;
}

public Long getPreviousLaunchId() {
return previousLaunchId;
}

public void setPreviousLaunchId(Long previousLaunchId) {
this.previousLaunchId = previousLaunchId;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,16 @@ public class PostFormField implements Comparable<PostFormField>, Serializable {
@JsonProperty(value = "definedValues")
private List<AllowedValue> definedValues;

public PostFormField(String id, String name, String type, boolean isReq, List<String> values,
List<AllowedValue> defValues) {
this.id = id;
this.fieldName = name;
this.fieldType = type;
this.isRequired = isReq;
this.value = values;
this.definedValues = defValues;
}

public PostFormField(String id, String fieldName, String fieldType, boolean isRequired,
String commandName) {
this.id = id;
Expand All @@ -109,4 +119,13 @@ public int compareTo(PostFormField field) {
Boolean byField = field.isRequired;
return byField.compareTo(current);
}

public void setIsRequired(boolean value) {
this.isRequired = value;
}

public boolean getIsRequired() {
return isRequired;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@

package com.epam.ta.reportportal.ws.model.launch;

import static com.epam.ta.reportportal.ws.model.ValidationConstraints.MAX_NAME_LENGTH;
import static com.epam.ta.reportportal.ws.model.ValidationConstraints.MAX_PARAMETERS_LENGTH;
import static com.epam.ta.reportportal.ws.model.ValidationConstraints.MIN_LAUNCH_NAME_LENGTH;

import com.epam.ta.reportportal.ws.model.attribute.ItemAttributesRQ;
import com.fasterxml.jackson.annotation.JsonAlias;
Expand All @@ -36,6 +38,7 @@ public class LaunchImportRQ {

@JsonProperty(value = "name")
@ApiModelProperty
@Size(min = MIN_LAUNCH_NAME_LENGTH, max = MAX_NAME_LENGTH)
protected String name;

@JsonProperty(value = "description")
Expand Down

0 comments on commit b457e50

Please sign in to comment.