Skip to content

Commit

Permalink
GH2883 Move ServiceInfo Model to common-service-core, reduce changes
Browse files Browse the repository at this point in the history
Signed-off-by: alexandr cumarav <[email protected]>
  • Loading branch information
cumarav committed Sep 4, 2023
1 parent 93af4cb commit 92d0331
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@

import com.fasterxml.jackson.annotation.JsonInclude;
import com.netflix.appinfo.InstanceInfo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
import org.zowe.apiml.auth.Authentication;
import org.zowe.apiml.config.ApiInfo;
Expand All @@ -33,8 +31,6 @@ public class ServiceInfo {
private Apiml apiml;
private Map<String, Instances> instances;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
Expand All @@ -44,8 +40,6 @@ public static class Apiml {
private List<Authentication> authentication;
}

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
Expand All @@ -61,8 +55,6 @@ public static class Instances {
private Map<String, String> customMetadata;
}

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
Expand All @@ -72,8 +64,6 @@ public static class Service {
private String homePageUrl;
}

@NoArgsConstructor
@AllArgsConstructor
@Data
@SuperBuilder
@EqualsAndHashCode(callSuper = true)
Expand Down

0 comments on commit 92d0331

Please sign in to comment.