Skip to content

Commit 0afa442

Browse files
authored
GCS Migration (#54)
1 parent 2714259 commit 0afa442

36 files changed

+1942
-1615
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ RUN go mod verify \
3939
#-------------------------------------------------------------------------------
4040
# Build production container with only necessary artifacts
4141

42-
FROM alpine:3.14
42+
FROM alpine:3.15
4343

4444
# Traefik auto discover labels
4545
LABEL \

docs/content/endpoints/data.md

+50-8
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ URLs to downloadable files. Several terabytes of data are presently available.
55
To keep data files to a reasonable size, they are generally arranged in
66
product/site/monthly chunks. Even so, files can be large and you may find it
77
worthwhile to check the size attribute before downloading. Also note that the
8-
provided URLs are from an Amazon S3 service and expire 1 hour after
8+
some provided URLs are from a Google Cloud Storage service and expire 1 hour after
99
generation. If the time between when you obtain a URL and start downloading the
1010
file is more than 1 hour, you may need to obtain a new URL before proceeding.
1111

@@ -194,13 +194,55 @@ Get a data package for a given product/site/month and package combination
194194
<a name="file"></a>
195195
### **file**
196196

197-
|Name|Description|Schema|
198-
|---|---|---|
199-
|**name**|Filename|string|
200-
|**size**|File size in bytes|number (int)|
201-
|**md5**|MD5 value in hex|string|
202-
|**crc32**|CRC-32 value in hex|string|
203-
|**url**|Download URL|string|
197+
!!! info
198+
Note that the `crc32` checksum property is deprecated in favor of the `crc32c`
199+
checksum property.
200+
201+
<div class="md-typeset__scrollwrap">
202+
<div class="md-typeset__table">
203+
<table>
204+
<thead>
205+
<tr>
206+
<th>Name</th>
207+
<th>Description</th>
208+
<th>Schema</th>
209+
</tr>
210+
</thead>
211+
<tbody>
212+
<tr>
213+
<td><strong>name</strong></td>
214+
<td>Filename</td>
215+
<td>string</td>
216+
</tr>
217+
<tr>
218+
<td><strong>size</strong></td>
219+
<td>File size in bytes</td>
220+
<td>number (int)</td>
221+
</tr>
222+
<tr>
223+
<td><strong>md5</strong></td>
224+
<td>MD5 value in hex</td>
225+
<td>string</td>
226+
</tr>
227+
<tr class="neon-deprecated-property-table-row">
228+
<td><strong>crc32</strong></td>
229+
<td><strong>DEPRECATED.</strong><br /> CRC32 value in hex</td>
230+
<td>string</td>
231+
</tr>
232+
<tr>
233+
<td><strong>crc32c</strong></td>
234+
<td>CRC32C value in hex</td>
235+
<td>string</td>
236+
</tr>
237+
<tr>
238+
<td><strong>url</strong></td>
239+
<td>Download URL</td>
240+
<td>string</td>
241+
</tr>
242+
</tbody>
243+
</table>
244+
</div>
245+
</div>
204246

205247

206248
<a name="externalData"></a>
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
22
"files": {
3-
"main.css": "./static/css/main.537fa74f.chunk.css",
4-
"main.js": "./static/js/main.772d01b2.chunk.js",
5-
"main.js.map": "./static/js/main.772d01b2.chunk.js.map",
6-
"runtime-main.js": "./static/js/runtime-main.bc8217b7.js",
7-
"runtime-main.js.map": "./static/js/runtime-main.bc8217b7.js.map",
3+
"main.css": "./static/css/main.0a8cdfda.chunk.css",
4+
"main.js": "./static/js/main.aa566150.chunk.js",
5+
"main.js.map": "./static/js/main.aa566150.chunk.js.map",
6+
"runtime-main.js": "./static/js/runtime-main.e9e95cc1.js",
7+
"runtime-main.js.map": "./static/js/runtime-main.e9e95cc1.js.map",
88
"static/css/2.18efc16e.chunk.css": "./static/css/2.18efc16e.chunk.css",
9-
"static/js/2.b78fc351.chunk.js": "./static/js/2.b78fc351.chunk.js",
10-
"static/js/2.b78fc351.chunk.js.map": "./static/js/2.b78fc351.chunk.js.map",
9+
"static/js/2.e2037ccc.chunk.js": "./static/js/2.e2037ccc.chunk.js",
10+
"static/js/2.e2037ccc.chunk.js.map": "./static/js/2.e2037ccc.chunk.js.map",
1111
"index.html": "./index.html",
1212
"static/css/2.18efc16e.chunk.css.map": "./static/css/2.18efc16e.chunk.css.map",
13-
"static/css/main.537fa74f.chunk.css.map": "./static/css/main.537fa74f.chunk.css.map",
14-
"static/js/2.b78fc351.chunk.js.LICENSE.txt": "./static/js/2.b78fc351.chunk.js.LICENSE.txt"
13+
"static/css/main.0a8cdfda.chunk.css.map": "./static/css/main.0a8cdfda.chunk.css.map",
14+
"static/js/2.e2037ccc.chunk.js.LICENSE.txt": "./static/js/2.e2037ccc.chunk.js.LICENSE.txt"
1515
},
1616
"entrypoints": [
17-
"static/js/runtime-main.bc8217b7.js",
17+
"static/js/runtime-main.e9e95cc1.js",
1818
"static/css/2.18efc16e.chunk.css",
19-
"static/js/2.b78fc351.chunk.js",
20-
"static/css/main.537fa74f.chunk.css",
21-
"static/js/main.772d01b2.chunk.js"
19+
"static/js/2.e2037ccc.chunk.js",
20+
"static/css/main.0a8cdfda.chunk.css",
21+
"static/js/main.aa566150.chunk.js"
2222
]
2323
}
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="NEON Data API REST Explorer"/><link rel="manifest" href="./manifest.json"/><link href="https://fonts.gstatic.com" rel="preconnect" crossorigin=""><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:300,400,400i,700%7CRoboto+Mono&amp;display=fallback"><title>NEON Data API REST Explorer</title><link href="./static/css/2.18efc16e.chunk.css" rel="stylesheet"><link href="./static/css/main.537fa74f.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,a,p=r[0],l=r[1],f=r[2],c=0,s=[];c<p.length;c++)a=p[c],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(i&&i(r);s.length;)s.shift()();return u.push.apply(u,f||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,p=1;p<t.length;p++){var l=t[p];0!==o[l]&&(n=!1)}n&&(u.splice(r--,1),e=a(a.s=t[0]))}return e}var n={},o={1:0},u=[];function a(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=e,a.c=n,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="./";var p=this["webpackJsonpdocs-app-swagger"]=this["webpackJsonpdocs-app-swagger"]||[],l=p.push.bind(p);p.push=r,p=p.slice();for(var f=0;f<p.length;f++)r(p[f]);var i=l;t()}([])</script><script src="./static/js/2.b78fc351.chunk.js"></script><script src="./static/js/main.772d01b2.chunk.js"></script></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="NEON Data API REST Explorer"/><link rel="manifest" href="./manifest.json"/><link href="https://fonts.gstatic.com" rel="preconnect" crossorigin=""><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:300,400,400i,700%7CRoboto+Mono&amp;display=fallback"><title>NEON Data API REST Explorer</title><link href="./static/css/2.18efc16e.chunk.css" rel="stylesheet"><link href="./static/css/main.0a8cdfda.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,a,p=r[0],l=r[1],f=r[2],c=0,s=[];c<p.length;c++)a=p[c],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(i&&i(r);s.length;)s.shift()();return u.push.apply(u,f||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,p=1;p<t.length;p++){var l=t[p];0!==o[l]&&(n=!1)}n&&(u.splice(r--,1),e=a(a.s=t[0]))}return e}var n={},o={1:0},u=[];function a(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=e,a.c=n,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="./";var p=this["webpackJsonpdocs-app-swagger"]=this["webpackJsonpdocs-app-swagger"]||[],l=p.push.bind(p);p.push=r,p=p.slice();for(var f=0;f<p.length;f++)r(p[f]);var i=l;t()}([])</script><script src="./static/js/2.e2037ccc.chunk.js"></script><script src="./static/js/main.aa566150.chunk.js"></script></body></html>

docs/content/explorer/build/static/css/main.0a8cdfda.chunk.css

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/content/explorer/build/static/css/main.0a8cdfda.chunk.css.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/content/explorer/build/static/css/main.537fa74f.chunk.css

-2
This file was deleted.

docs/content/explorer/build/static/css/main.537fa74f.chunk.css.map

-1
This file was deleted.

docs/content/explorer/build/static/js/2.b78fc351.chunk.js

-3
This file was deleted.

docs/content/explorer/build/static/js/2.b78fc351.chunk.js.map

-1
This file was deleted.

docs/content/explorer/build/static/js/2.e2037ccc.chunk.js

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/content/explorer/build/static/js/2.b78fc351.chunk.js.LICENSE.txt docs/content/explorer/build/static/js/2.e2037ccc.chunk.js.LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ object-assign
6464
* Licensed under the MIT License.
6565
*/
6666

67-
/*! @license DOMPurify 2.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.3/LICENSE */
67+
/*! @license DOMPurify 2.3.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.6/LICENSE */
6868

6969
/*! For license information please see swagger-ui.js.LICENSE.txt */
7070

docs/content/explorer/build/static/js/2.e2037ccc.chunk.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/content/explorer/build/static/js/main.772d01b2.chunk.js

-2
This file was deleted.

docs/content/explorer/build/static/js/main.aa566150.chunk.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)