Skip to content

Commit

Permalink
Merge pull request #2747 from subutai-io/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
absidish authored Dec 4, 2018
2 parents 89ad1f6 + e81e015 commit 029dc0e
Show file tree
Hide file tree
Showing 69 changed files with 185 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


/**
* Copy from AppScale plugin
*/
@JsonIgnoreProperties( ignoreUnknown = true )
public class AppScaleConfigDto
{
private String clusterName = "";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package io.subutai.bazaar.share.dto;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class CommonDto
{
byte[] bytes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
import java.util.HashSet;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class HeartbeatResponseDto
{
private final HashSet<String> stateLinks = new HashSet<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class P2PDto
{
private String rhId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class PeerDto
{
private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class PeerInfoDto
{
private String id;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package io.subutai.bazaar.share.dto;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class PublicKeyContainer
{
private String hostId;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package io.subutai.bazaar.share.dto;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class RegistrationDto
{
private String ownerFingerprint;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package io.subutai.bazaar.share.dto;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class RhVersionInfoDto
{
private String rhId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@


import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;


@JsonIgnoreProperties( ignoreUnknown = true )
public class SubutaiSystemLog
{
public enum LogType
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
import java.util.List;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class SystemLogsDto
{
private Set<SubutaiSystemLog> subutaiSystemLogs;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class TunnelInfoDto implements Serializable
{

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class UserDto
{
private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class UserTokenDto
{
public enum State
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
import java.util.HashSet;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class AnsibleDto
{
public enum State
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
import java.util.HashSet;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class Group
{
private String name;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package io.subutai.bazaar.share.dto.ansible;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class Host
{
private String hostname;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class ContainerPortMapDto
{
private String environmentSSId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class DomainDto
{
public enum DomainState
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package io.subutai.bazaar.share.dto.domain;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class PortMapDto
{
public enum Protocol
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
import java.util.HashSet;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class ProxyDto
{
public enum State
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package io.subutai.bazaar.share.dto.domain;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class ReservedPortMapping
{
private PortMapDto.Protocol protocol;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class EnvironmentDto
{
public enum BuildState
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
import java.util.HashSet;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class EnvironmentInfoDto
{
private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
import java.util.HashSet;
import java.util.Set;

import io.subutai.bazaar.share.quota.ContainerQuota;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.subutai.bazaar.share.quota.ContainerQuota;

@JsonIgnoreProperties( ignoreUnknown = true )
public class EnvironmentNodeDto
{
private String hostId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class EnvironmentNodesDto
{
private String peerId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
import java.util.HashSet;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import io.subutai.bazaar.share.dto.PublicKeyContainer;
import io.subutai.bazaar.share.dto.UserTokenDto;
import io.subutai.bazaar.share.dto.ansible.AnsibleDto;


@JsonIgnoreProperties( ignoreUnknown = true )
public class EnvironmentPeerDto
{
public enum PeerState
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package io.subutai.bazaar.share.dto.environment;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class EnvironmentPeerRHDto
{
private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class EnvironmentTelemetryDto
{
private List<EnvironmentTelemetryOperation> operations = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package io.subutai.bazaar.share.dto.environment;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class EnvironmentTelemetryOperation
{
public enum State
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package io.subutai.bazaar.share.dto.environment;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class P2PStatusDto
{
public enum State
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
import java.util.HashSet;
import java.util.Set;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class SSHKeyDto
{
private String name;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
package io.subutai.bazaar.share.dto.environment.container;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


@JsonIgnoreProperties( ignoreUnknown = true )
public class ContainerDesktopInfoDto
{
private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import io.subutai.bazaar.share.dto.environment.ContainerStateDto;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.subutai.bazaar.share.dto.environment.ContainerStateDto;

@JsonIgnoreProperties( ignoreUnknown = true )
public class ContainerEventDto
{
private String id;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;


@JsonIgnoreProperties( ignoreUnknown = true )
public class ContainersMetricsDto
{
@JsonProperty( "peerId" )
Expand Down
Loading

0 comments on commit 029dc0e

Please sign in to comment.