Skip to content

Commit

Permalink
Merge pull request #57 from bcgov/0.12
Browse files Browse the repository at this point in the history
0.12
  • Loading branch information
ychung-mot authored Aug 23, 2022
2 parents db5c56a + 0db3044 commit 785a5eb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CameraWebApp/Pages/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="container">

<div class="container my-3">
Last fetched at @Model.UpdatedTime UTC
Last updated at @Model.UpdatedTime UTC
</div>

<div class="my-1 mx-1">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public void configure() {

// Call IoT Central API
.setHeader(Exchange.HTTP_METHOD, simple("GET"))
.setHeader("Authorization", simple("{{iotcentral.auth}}"))
.log("API Call to : https://{{iotcentral.weather.api}}")
.toD("https://{{iotcentral.weather.api}}")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ ghostcms.jwtAudience=/v4/admin/
ghostcms.daysToLive=5

#IoT Central
iotcentral.weather.api=moti-weather-dev.api.gov.bc.ca/weather
iotcentral.auth=${IOT_CENTRAL_AUTH}
iotcentral.weather.api=moti-iot-test.azurewebsites.net/api/weather/devices/iotcentral/35094/telemetries/latest


#Open 511
#events URL
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ ghostcms.jwtAudience=/v4/admin/
ghostcms.daysToLive=5

#IoT Central
iotcentral.weather.api=moti-weather-dev.api.gov.bc.ca/weather
iotcentral.auth=${IOT_CENTRAL_AUTH}
iotcentral.weather.api=moti-iot-test.azurewebsites.net/api/weather/devices/iotcentral/35094/telemetries/latest


#Open 511
#events URL
Expand Down

0 comments on commit 785a5eb

Please sign in to comment.