Skip to content

Commit

Permalink
GCS Migration (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampsonj authored Apr 4, 2022
1 parent 2714259 commit 0afa442
Show file tree
Hide file tree
Showing 36 changed files with 1,942 additions and 1,615 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN go mod verify \
#-------------------------------------------------------------------------------
# Build production container with only necessary artifacts

FROM alpine:3.14
FROM alpine:3.15

# Traefik auto discover labels
LABEL \
Expand Down
58 changes: 50 additions & 8 deletions docs/content/endpoints/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ URLs to downloadable files. Several terabytes of data are presently available.
To keep data files to a reasonable size, they are generally arranged in
product/site/monthly chunks. Even so, files can be large and you may find it
worthwhile to check the size attribute before downloading. Also note that the
provided URLs are from an Amazon S3 service and expire 1 hour after
some provided URLs are from a Google Cloud Storage service and expire 1 hour after
generation. If the time between when you obtain a URL and start downloading the
file is more than 1 hour, you may need to obtain a new URL before proceeding.

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

|Name|Description|Schema|
|---|---|---|
|**name**|Filename|string|
|**size**|File size in bytes|number (int)|
|**md5**|MD5 value in hex|string|
|**crc32**|CRC-32 value in hex|string|
|**url**|Download URL|string|
!!! info
Note that the `crc32` checksum property is deprecated in favor of the `crc32c`
checksum property.

<div class="md-typeset__scrollwrap">
<div class="md-typeset__table">
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Schema</th>
</tr>
</thead>
<tbody>
<tr>
<td><strong>name</strong></td>
<td>Filename</td>
<td>string</td>
</tr>
<tr>
<td><strong>size</strong></td>
<td>File size in bytes</td>
<td>number (int)</td>
</tr>
<tr>
<td><strong>md5</strong></td>
<td>MD5 value in hex</td>
<td>string</td>
</tr>
<tr class="neon-deprecated-property-table-row">
<td><strong>crc32</strong></td>
<td><strong>DEPRECATED.</strong><br /> CRC32 value in hex</td>
<td>string</td>
</tr>
<tr>
<td><strong>crc32c</strong></td>
<td>CRC32C value in hex</td>
<td>string</td>
</tr>
<tr>
<td><strong>url</strong></td>
<td>Download URL</td>
<td>string</td>
</tr>
</tbody>
</table>
</div>
</div>


<a name="externalData"></a>
Expand Down
26 changes: 13 additions & 13 deletions docs/content/explorer/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"files": {
"main.css": "./static/css/main.537fa74f.chunk.css",
"main.js": "./static/js/main.772d01b2.chunk.js",
"main.js.map": "./static/js/main.772d01b2.chunk.js.map",
"runtime-main.js": "./static/js/runtime-main.bc8217b7.js",
"runtime-main.js.map": "./static/js/runtime-main.bc8217b7.js.map",
"main.css": "./static/css/main.0a8cdfda.chunk.css",
"main.js": "./static/js/main.aa566150.chunk.js",
"main.js.map": "./static/js/main.aa566150.chunk.js.map",
"runtime-main.js": "./static/js/runtime-main.e9e95cc1.js",
"runtime-main.js.map": "./static/js/runtime-main.e9e95cc1.js.map",
"static/css/2.18efc16e.chunk.css": "./static/css/2.18efc16e.chunk.css",
"static/js/2.b78fc351.chunk.js": "./static/js/2.b78fc351.chunk.js",
"static/js/2.b78fc351.chunk.js.map": "./static/js/2.b78fc351.chunk.js.map",
"static/js/2.e2037ccc.chunk.js": "./static/js/2.e2037ccc.chunk.js",
"static/js/2.e2037ccc.chunk.js.map": "./static/js/2.e2037ccc.chunk.js.map",
"index.html": "./index.html",
"static/css/2.18efc16e.chunk.css.map": "./static/css/2.18efc16e.chunk.css.map",
"static/css/main.537fa74f.chunk.css.map": "./static/css/main.537fa74f.chunk.css.map",
"static/js/2.b78fc351.chunk.js.LICENSE.txt": "./static/js/2.b78fc351.chunk.js.LICENSE.txt"
"static/css/main.0a8cdfda.chunk.css.map": "./static/css/main.0a8cdfda.chunk.css.map",
"static/js/2.e2037ccc.chunk.js.LICENSE.txt": "./static/js/2.e2037ccc.chunk.js.LICENSE.txt"
},
"entrypoints": [
"static/js/runtime-main.bc8217b7.js",
"static/js/runtime-main.e9e95cc1.js",
"static/css/2.18efc16e.chunk.css",
"static/js/2.b78fc351.chunk.js",
"static/css/main.537fa74f.chunk.css",
"static/js/main.772d01b2.chunk.js"
"static/js/2.e2037ccc.chunk.js",
"static/css/main.0a8cdfda.chunk.css",
"static/js/main.aa566150.chunk.js"
]
}
2 changes: 1 addition & 1 deletion docs/content/explorer/build/index.html
Original file line number Diff line number Diff line change
@@ -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>
<!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>

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions docs/content/explorer/build/static/js/2.b78fc351.chunk.js

This file was deleted.

This file was deleted.

3 changes: 3 additions & 0 deletions docs/content/explorer/build/static/js/2.e2037ccc.chunk.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ object-assign
* Licensed under the MIT License.
*/

/*! @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 */
/*! @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 */

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

Expand Down

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/content/explorer/build/static/js/main.772d01b2.chunk.js

This file was deleted.

2 changes: 2 additions & 0 deletions docs/content/explorer/build/static/js/main.aa566150.chunk.js

Large diffs are not rendered by default.

Loading

0 comments on commit 0afa442

Please sign in to comment.