├── .babelrc ├── .gitignore ├── .sample_env ├── LICENSE ├── README.md ├── db ├── migrations │ ├── deploy │ │ ├── 20191021172721-initial.sql │ │ ├── 20191107093406-stacendpoint.sql │ │ ├── 20191107214618-rootcollection.sql │ │ ├── 20191113203743-replacesearch.sql │ │ ├── 20191211011147-fixindexperf.sql │ │ ├── 20200217192155-tiebreak.sql │ │ └── 20200715144826-multilinks.sql │ ├── revert │ │ ├── 20191021172721-initial.sql │ │ ├── 20191107093406-stacendpoint.sql │ │ ├── 20191107214618-rootcollection.sql │ │ ├── 20191113203743-replacesearch.sql │ │ ├── 20191211011147-fixindexperf.sql │ │ ├── 20200217192155-tiebreak.sql │ │ └── 20200715144826-multilinks.sql │ ├── sqitch.conf │ ├── sqitch.plan │ └── verify │ │ ├── 20191021172721-initial.sql │ │ ├── 20191107093406-stacendpoint.sql │ │ ├── 20191107214618-rootcollection.sql │ │ ├── 20191113203743-replacesearch.sql │ │ ├── 20191211011147-fixindexperf.sql │ │ ├── 20200217192155-tiebreak.sql │ │ └── 20200715144826-multilinks.sql └── src │ ├── api │ ├── satapi.sql │ └── schema.sql │ ├── authorization │ ├── privileges.sql │ └── roles.sql │ ├── data │ ├── satapi.sql │ └── schema.sql │ ├── init.sh │ ├── init.sql │ ├── libs │ ├── auth │ │ ├── api │ │ │ ├── all.sql │ │ │ ├── login.sql │ │ │ ├── me.sql │ │ │ ├── refresh_token.sql │ │ │ ├── session_type.sql │ │ │ ├── signup.sql │ │ │ └── user_type.sql │ │ ├── data │ │ │ ├── user.sql │ │ │ └── user_role_type.sql │ │ └── schema.sql │ ├── pgjwt │ │ ├── .gitignore │ │ ├── LICENSE │ │ ├── Makefile │ │ ├── README.md │ │ ├── pgjwt--0.0.1.sql │ │ ├── pgjwt.control │ │ ├── schema.sql │ │ └── test.sql │ ├── request │ │ └── schema.sql │ └── settings │ │ └── schema.sql │ └── sample_data │ ├── data.sql │ └── reset.sql ├── deployment ├── .sample_env ├── README.md ├── cloudformation.yaml ├── createStack.sh ├── createSubZeroConfig.sh ├── deploy.sh ├── initMigrations.sh ├── roleSql.sql └── sqitch ├── docker-compose.yml ├── docs ├── STAC.yaml ├── api.merge.yaml ├── api.yaml ├── fields.fragment.yaml ├── insert.fragment.yaml ├── query.fragment.yaml └── sort.fragment.yaml ├── generateToken.js ├── openresty ├── Dockerfile ├── lualib │ └── user_code │ │ ├── datetimeBuilder.lua │ │ ├── defaultFields.lua │ │ ├── extensions │ │ ├── fieldsExtension.lua │ │ ├── queryExtension.lua │ │ └── sortExtension.lua │ │ ├── filters.lua │ │ ├── hooks.lua │ │ ├── init_phase.lua │ │ ├── internal_rest_body_filter_phase.lua │ │ ├── internal_rest_header_filter_phase.lua │ │ ├── internal_rest_rewrite_phase.lua │ │ ├── limit_constants.lua │ │ ├── path_constants.lua │ │ ├── pg_constants.lua │ │ ├── satapi.lua │ │ ├── search.lua │ │ ├── string_utils.lua │ │ ├── utils.lua │ │ └── wfsBuilder.lua └── nginx │ ├── conf │ ├── includes │ │ ├── globals │ │ │ └── env_vars.conf │ │ ├── http │ │ │ ├── init_lua.conf │ │ │ └── server │ │ │ │ ├── gzip.conf │ │ │ │ ├── locations.conf │ │ │ │ ├── locations │ │ │ │ ├── internal_rest.conf │ │ │ │ └── internal_rest │ │ │ │ │ ├── lua.conf │ │ │ │ │ └── security.conf │ │ │ │ └── resolver.conf │ │ └── root_location.conf │ └── nginx.conf │ └── html │ └── index.html ├── package.json ├── tests ├── bin │ └── test_db.js ├── db │ ├── README.md │ ├── simple.sql │ └── structure.sql └── rest │ ├── .eslintrc │ ├── bbox.js │ ├── collections.js │ ├── collections_filter.js │ ├── common.js │ ├── constants.js │ ├── datetime.js │ ├── fields.js │ ├── ids_filter.js │ ├── intersects.js │ ├── intersects.json │ ├── intersectsPoint.json │ ├── items.js │ ├── landsat8l2Collection.json │ ├── landsatItem.json │ ├── landsatItems.json │ ├── next_limit.js │ ├── query.js │ ├── root.js │ ├── sort.js │ └── wfs.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["latest"] 3 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/.gitignore -------------------------------------------------------------------------------- /.sample_env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/.sample_env -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/README.md -------------------------------------------------------------------------------- /db/migrations/deploy/20191021172721-initial.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/migrations/deploy/20191021172721-initial.sql -------------------------------------------------------------------------------- /db/migrations/deploy/20191107093406-stacendpoint.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/migrations/deploy/20191107093406-stacendpoint.sql -------------------------------------------------------------------------------- /db/migrations/deploy/20191107214618-rootcollection.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/migrations/deploy/20191107214618-rootcollection.sql -------------------------------------------------------------------------------- /db/migrations/deploy/20191113203743-replacesearch.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/migrations/deploy/20191113203743-replacesearch.sql -------------------------------------------------------------------------------- /db/migrations/deploy/20191211011147-fixindexperf.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/migrations/deploy/20191211011147-fixindexperf.sql -------------------------------------------------------------------------------- /db/migrations/deploy/20200217192155-tiebreak.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/migrations/deploy/20200217192155-tiebreak.sql -------------------------------------------------------------------------------- /db/migrations/deploy/20200715144826-multilinks.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/migrations/deploy/20200715144826-multilinks.sql -------------------------------------------------------------------------------- /db/migrations/revert/20191021172721-initial.sql: -------------------------------------------------------------------------------- 1 | -- Revert sat-api-pg:20191021172721-initial from pg 2 | 3 | BEGIN; 4 | 5 | -- XXX Add DDLs here. 6 | 7 | COMMIT; 8 | -------------------------------------------------------------------------------- /db/migrations/revert/20191107093406-stacendpoint.sql: -------------------------------------------------------------------------------- 1 | -- Revert sat-api-pg:20191107093406-stacendpoint from pg 2 | 3 | BEGIN; 4 | DROP VIEW data.stacLinks CASCADE; 5 | COMMIT; 6 | -------------------------------------------------------------------------------- /db/migrations/revert/20191107214618-rootcollection.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/migrations/revert/20191107214618-rootcollection.sql -------------------------------------------------------------------------------- /db/migrations/revert/20191113203743-replacesearch.sql: -------------------------------------------------------------------------------- 1 | -- Revert sat-api-pg:20191113203743-replacesearch from pg 2 | 3 | BEGIN; 4 | 5 | -- XXX Add DDLs here. 6 | 7 | COMMIT; 8 | -------------------------------------------------------------------------------- /db/migrations/revert/20191211011147-fixindexperf.sql: -------------------------------------------------------------------------------- 1 | -- Revert sat-api-pg:20191211011147-fixindexperf from pg 2 | 3 | BEGIN; 4 | 5 | -- XXX Add DDLs here. 6 | 7 | COMMIT; 8 | -------------------------------------------------------------------------------- /db/migrations/revert/20200217192155-tiebreak.sql: -------------------------------------------------------------------------------- 1 | -- Revert sat-api-pg:20200217192155-tiebreak from pg 2 | 3 | BEGIN; 4 | 5 | -- XXX Add DDLs here. 6 | 7 | COMMIT; 8 | -------------------------------------------------------------------------------- /db/migrations/revert/20200715144826-multilinks.sql: -------------------------------------------------------------------------------- 1 | -- Revert sat-api-pg:20200715144826-multilinks from pg 2 | 3 | BEGIN; 4 | 5 | -- XXX Add DDLs here. 6 | 7 | COMMIT; 8 | -------------------------------------------------------------------------------- /db/migrations/sqitch.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/migrations/sqitch.conf -------------------------------------------------------------------------------- /db/migrations/sqitch.plan: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/migrations/sqitch.plan -------------------------------------------------------------------------------- /db/migrations/verify/20191021172721-initial.sql: -------------------------------------------------------------------------------- 1 | -- Verify sat-api-pg:20191021172721-initial on pg 2 | 3 | BEGIN; 4 | 5 | -- XXX Add verifications here. 6 | 7 | ROLLBACK; 8 | -------------------------------------------------------------------------------- /db/migrations/verify/20191107093406-stacendpoint.sql: -------------------------------------------------------------------------------- 1 | -- Verify sat-api-pg:20191107093406-stacendpoint on pg 2 | 3 | BEGIN; 4 | 5 | -- XXX Add verifications here. 6 | 7 | ROLLBACK; 8 | -------------------------------------------------------------------------------- /db/migrations/verify/20191107214618-rootcollection.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/migrations/verify/20191107214618-rootcollection.sql -------------------------------------------------------------------------------- /db/migrations/verify/20191113203743-replacesearch.sql: -------------------------------------------------------------------------------- 1 | -- Verify sat-api-pg:20191113203743-replacesearch on pg 2 | 3 | BEGIN; 4 | 5 | -- XXX Add verifications here. 6 | 7 | ROLLBACK; 8 | -------------------------------------------------------------------------------- /db/migrations/verify/20191211011147-fixindexperf.sql: -------------------------------------------------------------------------------- 1 | -- Verify sat-api-pg:20191211011147-fixindexperf on pg 2 | 3 | BEGIN; 4 | 5 | -- XXX Add verifications here. 6 | 7 | ROLLBACK; 8 | -------------------------------------------------------------------------------- /db/migrations/verify/20200217192155-tiebreak.sql: -------------------------------------------------------------------------------- 1 | -- Verify sat-api-pg:20200217192155-tiebreak on pg 2 | 3 | BEGIN; 4 | 5 | -- XXX Add verifications here. 6 | 7 | ROLLBACK; 8 | -------------------------------------------------------------------------------- /db/migrations/verify/20200715144826-multilinks.sql: -------------------------------------------------------------------------------- 1 | -- Verify sat-api-pg:20200715144826-multilinks on pg 2 | 3 | BEGIN; 4 | 5 | -- XXX Add verifications here. 6 | 7 | ROLLBACK; 8 | -------------------------------------------------------------------------------- /db/src/api/satapi.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/api/satapi.sql -------------------------------------------------------------------------------- /db/src/api/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/api/schema.sql -------------------------------------------------------------------------------- /db/src/authorization/privileges.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/authorization/privileges.sql -------------------------------------------------------------------------------- /db/src/authorization/roles.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/authorization/roles.sql -------------------------------------------------------------------------------- /db/src/data/satapi.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/data/satapi.sql -------------------------------------------------------------------------------- /db/src/data/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/data/schema.sql -------------------------------------------------------------------------------- /db/src/init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/init.sh -------------------------------------------------------------------------------- /db/src/init.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/init.sql -------------------------------------------------------------------------------- /db/src/libs/auth/api/all.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/auth/api/all.sql -------------------------------------------------------------------------------- /db/src/libs/auth/api/login.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/auth/api/login.sql -------------------------------------------------------------------------------- /db/src/libs/auth/api/me.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/auth/api/me.sql -------------------------------------------------------------------------------- /db/src/libs/auth/api/refresh_token.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/auth/api/refresh_token.sql -------------------------------------------------------------------------------- /db/src/libs/auth/api/session_type.sql: -------------------------------------------------------------------------------- 1 | create type session as (me json, token text); 2 | -------------------------------------------------------------------------------- /db/src/libs/auth/api/signup.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/auth/api/signup.sql -------------------------------------------------------------------------------- /db/src/libs/auth/api/user_type.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/auth/api/user_type.sql -------------------------------------------------------------------------------- /db/src/libs/auth/data/user.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/auth/data/user.sql -------------------------------------------------------------------------------- /db/src/libs/auth/data/user_role_type.sql: -------------------------------------------------------------------------------- 1 | create type user_role as enum ('webuser'); 2 | -------------------------------------------------------------------------------- /db/src/libs/auth/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/auth/schema.sql -------------------------------------------------------------------------------- /db/src/libs/pgjwt/.gitignore: -------------------------------------------------------------------------------- 1 | regression.* -------------------------------------------------------------------------------- /db/src/libs/pgjwt/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/pgjwt/LICENSE -------------------------------------------------------------------------------- /db/src/libs/pgjwt/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/pgjwt/Makefile -------------------------------------------------------------------------------- /db/src/libs/pgjwt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/pgjwt/README.md -------------------------------------------------------------------------------- /db/src/libs/pgjwt/pgjwt--0.0.1.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/pgjwt/pgjwt--0.0.1.sql -------------------------------------------------------------------------------- /db/src/libs/pgjwt/pgjwt.control: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/pgjwt/pgjwt.control -------------------------------------------------------------------------------- /db/src/libs/pgjwt/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/pgjwt/schema.sql -------------------------------------------------------------------------------- /db/src/libs/pgjwt/test.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/pgjwt/test.sql -------------------------------------------------------------------------------- /db/src/libs/request/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/request/schema.sql -------------------------------------------------------------------------------- /db/src/libs/settings/schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/libs/settings/schema.sql -------------------------------------------------------------------------------- /db/src/sample_data/data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/sample_data/data.sql -------------------------------------------------------------------------------- /db/src/sample_data/reset.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/db/src/sample_data/reset.sql -------------------------------------------------------------------------------- /deployment/.sample_env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/deployment/.sample_env -------------------------------------------------------------------------------- /deployment/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/deployment/README.md -------------------------------------------------------------------------------- /deployment/cloudformation.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/deployment/cloudformation.yaml -------------------------------------------------------------------------------- /deployment/createStack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/deployment/createStack.sh -------------------------------------------------------------------------------- /deployment/createSubZeroConfig.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/deployment/createSubZeroConfig.sh -------------------------------------------------------------------------------- /deployment/deploy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/deployment/deploy.sh -------------------------------------------------------------------------------- /deployment/initMigrations.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/deployment/initMigrations.sh -------------------------------------------------------------------------------- /deployment/roleSql.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/deployment/roleSql.sql -------------------------------------------------------------------------------- /deployment/sqitch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/deployment/sqitch -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/STAC.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/docs/STAC.yaml -------------------------------------------------------------------------------- /docs/api.merge.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/docs/api.merge.yaml -------------------------------------------------------------------------------- /docs/api.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/docs/api.yaml -------------------------------------------------------------------------------- /docs/fields.fragment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/docs/fields.fragment.yaml -------------------------------------------------------------------------------- /docs/insert.fragment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/docs/insert.fragment.yaml -------------------------------------------------------------------------------- /docs/query.fragment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/docs/query.fragment.yaml -------------------------------------------------------------------------------- /docs/sort.fragment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/docs/sort.fragment.yaml -------------------------------------------------------------------------------- /generateToken.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/generateToken.js -------------------------------------------------------------------------------- /openresty/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/Dockerfile -------------------------------------------------------------------------------- /openresty/lualib/user_code/datetimeBuilder.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/datetimeBuilder.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/defaultFields.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/defaultFields.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/extensions/fieldsExtension.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/extensions/fieldsExtension.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/extensions/queryExtension.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/extensions/queryExtension.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/extensions/sortExtension.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/extensions/sortExtension.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/filters.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/filters.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/hooks.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/hooks.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/init_phase.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/init_phase.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/internal_rest_body_filter_phase.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/internal_rest_body_filter_phase.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/internal_rest_header_filter_phase.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/internal_rest_header_filter_phase.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/internal_rest_rewrite_phase.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/internal_rest_rewrite_phase.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/limit_constants.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/limit_constants.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/path_constants.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/path_constants.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/pg_constants.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/pg_constants.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/satapi.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/satapi.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/search.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/search.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/string_utils.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/string_utils.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/utils.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/utils.lua -------------------------------------------------------------------------------- /openresty/lualib/user_code/wfsBuilder.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/lualib/user_code/wfsBuilder.lua -------------------------------------------------------------------------------- /openresty/nginx/conf/includes/globals/env_vars.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/nginx/conf/includes/globals/env_vars.conf -------------------------------------------------------------------------------- /openresty/nginx/conf/includes/http/init_lua.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/nginx/conf/includes/http/init_lua.conf -------------------------------------------------------------------------------- /openresty/nginx/conf/includes/http/server/gzip.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/nginx/conf/includes/http/server/gzip.conf -------------------------------------------------------------------------------- /openresty/nginx/conf/includes/http/server/locations.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/nginx/conf/includes/http/server/locations.conf -------------------------------------------------------------------------------- /openresty/nginx/conf/includes/http/server/locations/internal_rest.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/nginx/conf/includes/http/server/locations/internal_rest.conf -------------------------------------------------------------------------------- /openresty/nginx/conf/includes/http/server/locations/internal_rest/lua.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/nginx/conf/includes/http/server/locations/internal_rest/lua.conf -------------------------------------------------------------------------------- /openresty/nginx/conf/includes/http/server/locations/internal_rest/security.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/nginx/conf/includes/http/server/locations/internal_rest/security.conf -------------------------------------------------------------------------------- /openresty/nginx/conf/includes/http/server/resolver.conf: -------------------------------------------------------------------------------- 1 | resolver 127.0.0.11 ipv6=off; 2 | -------------------------------------------------------------------------------- /openresty/nginx/conf/includes/root_location.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/nginx/conf/includes/root_location.conf -------------------------------------------------------------------------------- /openresty/nginx/conf/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/nginx/conf/nginx.conf -------------------------------------------------------------------------------- /openresty/nginx/html/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/openresty/nginx/html/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/package.json -------------------------------------------------------------------------------- /tests/bin/test_db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/bin/test_db.js -------------------------------------------------------------------------------- /tests/db/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/db/README.md -------------------------------------------------------------------------------- /tests/db/simple.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/db/simple.sql -------------------------------------------------------------------------------- /tests/db/structure.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/db/structure.sql -------------------------------------------------------------------------------- /tests/rest/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/.eslintrc -------------------------------------------------------------------------------- /tests/rest/bbox.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/bbox.js -------------------------------------------------------------------------------- /tests/rest/collections.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/collections.js -------------------------------------------------------------------------------- /tests/rest/collections_filter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/collections_filter.js -------------------------------------------------------------------------------- /tests/rest/common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/common.js -------------------------------------------------------------------------------- /tests/rest/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/constants.js -------------------------------------------------------------------------------- /tests/rest/datetime.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/datetime.js -------------------------------------------------------------------------------- /tests/rest/fields.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/fields.js -------------------------------------------------------------------------------- /tests/rest/ids_filter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/ids_filter.js -------------------------------------------------------------------------------- /tests/rest/intersects.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/intersects.js -------------------------------------------------------------------------------- /tests/rest/intersects.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/intersects.json -------------------------------------------------------------------------------- /tests/rest/intersectsPoint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/intersectsPoint.json -------------------------------------------------------------------------------- /tests/rest/items.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/items.js -------------------------------------------------------------------------------- /tests/rest/landsat8l2Collection.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/landsat8l2Collection.json -------------------------------------------------------------------------------- /tests/rest/landsatItem.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/landsatItem.json -------------------------------------------------------------------------------- /tests/rest/landsatItems.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/landsatItems.json -------------------------------------------------------------------------------- /tests/rest/next_limit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/next_limit.js -------------------------------------------------------------------------------- /tests/rest/query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/query.js -------------------------------------------------------------------------------- /tests/rest/root.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/root.js -------------------------------------------------------------------------------- /tests/rest/sort.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/sort.js -------------------------------------------------------------------------------- /tests/rest/wfs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/tests/rest/wfs.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/developmentseed/sat-api-pg/HEAD/yarn.lock --------------------------------------------------------------------------------