This repository was archived by the owner on Aug 29, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +14
-10
lines changed
Expand file tree Collapse file tree 7 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1111* We now obtain Cate Hub's status information from a dedicated GitHub
1212 repository [ cate-status] ( https://github.com/CCI-Tools/cate-status ) .
1313
14+ * Adapted to changed cate-hub API. (An API response no longer has
15+ ` status ` and ` result ` properties, instead a response _ is_ the result
16+ and the response status is represented by the HTTP response code.)
17+
18+
1419### Changes 2.2.3
1520
1621* Fixed a problem that prevented using Matomo Analytics service.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM node:stretch-slim as build-deps
22
33LABEL maintainer="helge.dzierzon@brockmann-consult.de"
44LABEL name="Cate App"
5- LABEL version="2.3.0-dev.1 "
5+ LABEL version="2.3.0-dev.2 "
66
77RUN apt-get -y update && apt-get install -y git apt-utils wget vim
88
Original file line number Diff line number Diff line change 1- version : 2.3.0-dev.1 -{build}
1+ version : 2.3.0-dev.2 -{build}
22image : Ubuntu
33stack : node 12
44install :
Original file line number Diff line number Diff line change 11{
22 "name" : " cate-app" ,
3- "version" : " 2.3.0-dev.1 " ,
3+ "version" : " 2.3.0-dev.2 " ,
44 "private" : true ,
55 "dependencies" : {
66 "@blueprintjs/core" : " ^3.30.1" ,
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ interface CountResult {
3434 running_pods : number ;
3535}
3636
37+ /**
38+ * Represents the cate-hub API.
39+ */
3740export class ServiceProvisionAPI {
3841
3942 /**
@@ -81,11 +84,7 @@ export class ServiceProvisionAPI {
8184 if ( ! response . ok ) {
8285 throw HttpError . fromResponse ( response ) ;
8386 }
84- const jsonObject = await response . json ( ) ;
85- if ( jsonObject . status !== 'ok' ) {
86- throw new Error ( jsonObject . message ) ;
87- }
88- return jsonObject . result as T ;
87+ return response . json ( ) ;
8988 }
9089}
9190
Original file line number Diff line number Diff line change 1414// "./service-worker.js" file changes). Therefore we use a version number here,
1515// so we can force updates.
1616//
17- const CATE_PWA_VERSION = "2.3.0-dev.1 " ;
17+ const CATE_PWA_VERSION = "2.3.0-dev.2 " ;
1818
1919console . debug ( `Cate PWA version ${ CATE_PWA_VERSION } ` ) ;
2020
Original file line number Diff line number Diff line change 22// 1. with the version field in "../package.json".
33// 2. with CATE_PWA_VERSION in "./serviceWorker.ts"
44//
5- export const CATE_APP_VERSION = "2.3.0-dev.1 " ;
5+ export const CATE_APP_VERSION = "2.3.0-dev.2 " ;
You can’t perform that action at this time.
0 commit comments