File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/uk/gov/hmrc/vatapi/controllers/definition Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1616
1717package uk .gov .hmrc .vatapi .controllers .definition
1818
19+ import play .api .Logger
1920import uk .gov .hmrc .vatapi .config .{AppContext , FeatureSwitch }
2021import uk .gov .hmrc .vatapi .controllers .definition .APIStatus .APIStatus
2122import uk .gov .hmrc .vatapi .controllers .definition .AuthType ._
@@ -105,7 +106,8 @@ class VatApiDefinition {
105106 case " STABLE" => APIStatus .STABLE
106107 case " DEPRECATED" => APIStatus .DEPRECATED
107108 case " RETIRED" => APIStatus .RETIRED
108- case _ => APIStatus .ALPHA
109+ case _ => Logger .error(s " [ApiDefinition][buildApiStatus] no API Status found in config. Reverting to Alpha " )
110+ APIStatus .ALPHA
109111 }
110112 }
111113
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ metrics {
139139api.gateway.context = "vat"
140140
141141# The status of the API for the API Platform.
142- api.status = "PROTOTYPED "
142+ api.status = "ALPHA "
143143
144144# Custom header whitelisting
145145httpHeadersWhitelist = ["Gov-Test-Scenario"]
You can’t perform that action at this time.
0 commit comments