Skip to content

Commit

Permalink
fix(provider/oraclebmcs): Ignore unknown json properties for server g…
Browse files Browse the repository at this point in the history
…roups (#1596)

Our server group model will be changing over time so need to support new properties appearing to older versions of code
  • Loading branch information
simonlord authored and Matt Duftler committed Apr 25, 2017
1 parent 9941d53 commit 5a966d6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
package com.netflix.spinnaker.clouddriver.oraclebmcs.model

import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonInclude
import com.netflix.spinnaker.clouddriver.model.HealthState
import com.netflix.spinnaker.clouddriver.model.Instance
Expand All @@ -18,6 +19,7 @@ import com.netflix.spinnaker.clouddriver.oraclebmcs.security.OracleBMCSNamedAcco
import groovy.transform.Canonical

@Canonical
@JsonIgnoreProperties(ignoreUnknown = true)
class OracleBMCSServerGroup {

String name
Expand Down

0 comments on commit 5a966d6

Please sign in to comment.