Skip to content

Commit

Permalink
fix(fiat-api): fiatVersion 1.7.1 (#532)
Browse files Browse the repository at this point in the history
Fixes serialization issue in fiat-api version mismatch with new values in Authorizations enum
  • Loading branch information
cfieber committed Oct 24, 2019
1 parent 1374553 commit 59ada09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 17 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Wed Oct 23 19:56:54 UTC 2019
fiatVersion=1.7.0
fiatVersion=1.7.1
enablePublishing=false
spinnakerGradleVersion=7.0.1
korkVersion=6.14.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class InfoControllerSpec extends Specification {
then:
def actualAccounts = new JsonSlurper().parseText(response.contentAsString);
actualAccounts.size == 1
actualAccounts[0].permissions == [READ:[], WRITE:[], CREATE:[], EXECUTE:[]]
actualAccounts[0].permissions == [:]

}

Expand Down Expand Up @@ -195,12 +195,7 @@ class InfoControllerSpec extends Specification {
{
"name": "jenkins-foo",
"buildServiceProvider": "JENKINS",
"permissions": {
"READ": [],
"WRITE": [],
"EXECUTE": [],
"CREATE": []
}
"permissions": {}
},
{
"name": "jenkins-bar",
Expand All @@ -212,9 +207,7 @@ class InfoControllerSpec extends Specification {
],
"WRITE": [
"group-2"
],
"EXECUTE": [ ],
"CREATE": []
]
}
},
{
Expand All @@ -227,9 +220,7 @@ class InfoControllerSpec extends Specification {
],
"WRITE": [
"group-3"
],
"EXECUTE": [ ],
"CREATE": []
]
}
},
{ "name": "gcbAccount",
Expand All @@ -241,9 +232,7 @@ class InfoControllerSpec extends Specification {
],
"WRITE": [
"group-5"
],
"EXECUTE": [ ],
"CREATE": []
]
}
}
]
Expand Down

0 comments on commit 59ada09

Please sign in to comment.