-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #673 from HDRUK/release-preprod/v2.7.0
Release preprod/v2.7.0
- Loading branch information
Showing
63 changed files
with
3,233 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM node:14 | ||
|
||
ENV GOOGLE_APPLICATION_CREDENTIALS="/usr/local/etc/gcloud/application_default_credentials.json" | ||
|
||
WORKDIR /var/www | ||
|
||
COPY package*.json ./ | ||
|
||
RUN npm install && npm cache clean --force | ||
|
||
COPY . . | ||
|
||
EXPOSE 3001 | ||
|
||
CMD ["npm", "run", "server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
module.exports = { | ||
'/api/v1/locations/{filter}': { | ||
summary: 'summary', | ||
get: { | ||
summary: 'Returns a spatial location object', | ||
description: 'Returns a spatial location object by matching unique filter parameters', | ||
tags: ['Spatial Location'], | ||
parameters: [ | ||
{ | ||
in: 'path', | ||
name: 'filter', | ||
required: true, | ||
description: 'The filter location name', | ||
schema: { | ||
type: 'string', | ||
example: 'london', | ||
}, | ||
}, | ||
], | ||
responses: { | ||
200: { | ||
description: 'Successful response containing a single course object', | ||
} | ||
}, | ||
}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.