Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various changes to main #145

Merged
merged 29 commits into from
Jan 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
b95661e
Enable context for stac searches in pgstac
moradology Oct 31, 2022
9564631
[Chore]: Add Apache 2.0 License
connectwithprakash Nov 16, 2022
aad0673
[Chore]: Add Apache 2.0 License info in README
connectwithprakash Nov 16, 2022
151b70d
Merge pull request #132 from NASA-IMPACT/chore/add-license
connectwithprakash Nov 23, 2022
112e70c
Adds monitoring, metrics collection, and enhanced logging
ividito Nov 1, 2022
60c7bc9
Enable tracing in lambda construct
ividito Nov 1, 2022
f2a9032
lint+cleanup
ividito Nov 2, 2022
632a919
Fix cog viewer not working
ividito Nov 10, 2022
640945c
Merge pull request #129 from NASA-IMPACT/feature/add-context-configur…
moradology Dec 7, 2022
6fd51cf
rename variables: delta->veda
anayeaye Dec 11, 2022
5761833
fix enable context in database construct to unblock deployment
anayeaye Dec 12, 2022
53648c6
lint
anayeaye Dec 12, 2022
3592839
Merge pull request #134 from NASA-IMPACT/feature/delta-to-veda
anayeaye Dec 12, 2022
e97d646
architecture diagram
anayeaye Dec 13, 2022
520edee
diagram formatting
anayeaye Dec 13, 2022
6683d77
diagram formatting
anayeaye Dec 13, 2022
37e778c
move advanced configuration to separate page in docs and provide tool…
anayeaye Dec 13, 2022
8da727a
move docs for deploying to managed environments to separate page
anayeaye Dec 13, 2022
04a2018
add veda ecosystem context
anayeaye Dec 13, 2022
25a196b
add veda ecosystem context
anayeaye Dec 13, 2022
c0250ab
emphasize veda usage
anayeaye Dec 13, 2022
cd3af3f
update references to cloud-optimized-pipelines
anayeaye Dec 13, 2022
3656a54
update info flow
anayeaye Dec 13, 2022
3dc8aa9
Merge pull request #136 from NASA-IMPACT/feature/improve-documentation
anayeaye Dec 13, 2022
802d8b5
diagram update
anayeaye Dec 13, 2022
a45fbb4
Merge pull request #137 from NASA-IMPACT/fix/diagram
anayeaye Dec 14, 2022
00c4bc0
Update deprecated actions
ividito Jan 11, 2023
e26eb1e
cog validate env session
smohiudd Jan 15, 2023
6a790c3
Merge pull request #144 from NASA-IMPACT/sm/cog-validate-fix
smohiudd Jan 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .example.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ CDK_DEFAULT_REGION=[REQUIRED IF DEPLOYING TO EXISTING VPC]

STAGE=[FILL ME IN]

DELTA_DB_PGSTAC_VERSION=0.6.6
DELTA_DB_SCHEMA_VERSION=0.1.0
DELTA_DB_SNAPSHOT_ID=[OPTIONAL BUT **REQUIRED** FOR ALL DEPLOYMENTS AFTER BASING DEPLOYMENT ON SNAPSHOT]
VEDA_DB_PGSTAC_VERSION=0.6.6
VEDA_DB_SCHEMA_VERSION=0.1.0
VEDA_DB_SNAPSHOT_ID=[OPTIONAL BUT **REQUIRED** FOR ALL DEPLOYMENTS AFTER BASING DEPLOYMENT ON SNAPSHOT]

DELTA_DOMAIN_HOSTED_ZONE_ID=[OPTIONAL]
DELTA_DOMAIN_HOSTED_ZONE_NAME=[OPTIONAL]
DELTA_DOMAIN_API_PREFIX=[OPTIONAL CUSTOM PREFIX DECOUPLES API URL FROM A/B VERSION OF STACK DEPLOYED]
VEDA_DOMAIN_HOSTED_ZONE_ID=[OPTIONAL]
VEDA_DOMAIN_HOSTED_ZONE_NAME=[OPTIONAL]
VEDA_DOMAIN_API_PREFIX=[OPTIONAL CUSTOM PREFIX DECOUPLES API URL FROM A/B VERSION OF STACK DEPLOYED]

DELTA_DOMAIN_ALT_HOSTED_ZONE_ID=[OPTIONAL SECOND HOSTED ZONE]
DELTA_DOMAIN_ALT_HOSTED_ZONE_NAME=[OPTIONAL SECOND DOMAIN]
VEDA_DOMAIN_ALT_HOSTED_ZONE_ID=[OPTIONAL SECOND HOSTED ZONE]
VEDA_DOMAIN_ALT_HOSTED_ZONE_NAME=[OPTIONAL SECOND DOMAIN]

DELTA_RASTER_ENABLE_MOSAIC_SEARCH=TRUE
DELTA_RASTER_DATA_ACCESS_ROLE_ARN=[OPTIONAL ARN OF IAM ROLE TO BE ASSUMED BY RASTER API]
VEDA_RASTER_ENABLE_MOSAIC_SEARCH=TRUE
VEDA_RASTER_DATA_ACCESS_ROLE_ARN=[OPTIONAL ARN OF IAM ROLE TO BE ASSUMED BY RASTER API]
20 changes: 10 additions & 10 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}
Expand All @@ -32,13 +32,13 @@ jobs:
needs: [lint]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}
Expand Down Expand Up @@ -72,9 +72,9 @@ jobs:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'

Expand All @@ -90,15 +90,15 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}

- name: Install CDK
run: npm install -g aws-cdk@2

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}
Expand All @@ -32,13 +32,13 @@ jobs:
needs: [lint]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}
Expand Down Expand Up @@ -72,9 +72,9 @@ jobs:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'

Expand All @@ -90,15 +90,15 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}

- name: Install CDK
run: npm install -g aws-cdk@2

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}
Expand All @@ -29,13 +29,13 @@ jobs:
needs: [lint]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}
Expand Down Expand Up @@ -68,9 +68,9 @@ jobs:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'

Expand All @@ -86,15 +86,15 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}

- name: Install CDK
run: npm install -g aws-cdk@2

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests/test_raster.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""test delta-backend.raster."""
"""test veda-backend.raster."""

import httpx

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests/test_stac.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""test Delta-backend STAC."""
"""test veda-backend STAC."""

import httpx

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,5 @@ Pipfile.lock
cdk.context.json
node_modules/
package-lock.json
cdk-dev.out
**/--no-binary/
4 changes: 4 additions & 0 deletions .readme/veda-backend.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions .readme/veda-backend.drawio.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="app.diagrams.net" modified="2022-12-13T23:13:57.795Z" agent="5.0 (Macintosh)" version="20.6.2" etag="KucKb05KJ2sLjDJ2kdRv"><diagram id="jcMU1G5dmHjOh_-lD4MT">7Vxtc+MoEv41qbr7YJXeZX+0neRuq/auXJupvdtPU1giNhdZ6BCOnf31BwJsCZBfYtmZ3GQykzENQgiefrppWr4Lpqvt3wgol//AGczvfDfb3gX3d74/ShL2mwvehCAKXSFYEJQJkbcXPKE/oRSqZmuUwarVkGKcU1S2hSkuCpjSlgwQgjftZs84b9+1BAtoCJ5SkJvSf6GMLoV0GLl7+d8hWizVnT1X1sxB+rIgeF3I+935wUP9R1SvgOpLtq+WIMObhih4uAumBGMqPq22U5jzqVXTJq577KjdjZvAgp5ygS8ueAX5GqoRxzm7dPKMWQ9s6kAqKuL/rvmgJlO8JggSVvVPuNmL2aeF/L++fK4LZH8VfcvbHfKKQVVDYMwaeEG5FZdpPd8DClj9E8UEqk7Zg4l+2/diYuP+RlO/NRofr2mOCjjdIcqVY5viHJO6TeCN+Q+XozxvyB+j8STi7StK8AtUNQUuWOeTDFRLmMkeXyGhiAHtVzCH+QxXiCJcsLo5phSvGg3GOVrwCopLJgWylLJ1ZZMfTJZ0lbOyJwcpVcjzVVk+GL8lqErxRM9oy8cxKTHivTy8ss4q2Q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ypBLamUY6dINhBKg4toOpochHGTjiQUBhjj0wRyH/jTmOx4LXWIGcDggpUdYHIB6mT3UQQkH+sYdl1CsyWiKJiMa19L254ByJAdH5CC8EUSKiPeiMON3YS/t0R2oLsFnnoeGZSpOcOnQZ5xGFsWemhk/SQnu6bkX1zdd+9lTQWgZEi+zngDZ+0n1yhLMttUeUdRR3aUh4Lu+smpd5Bisg0KwVd+8mS4GydUvmyQ2kNn4MSfV8ACjfgrZ+tp6+lPgUqv7K5vQpN9CjZRd+acELQ+gs614HOVb6EQwfTFV+TYcX919yIePL+q4SCh/8B</diagram></mxfile>
36 changes: 10 additions & 26 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,29 +1,13 @@
BSD 3-Clause License
Copyright 2022 NASA

Copyright (c) 2021, Inter Agency Implementation and Advanced Concepts
All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
http://www.apache.org/licenses/LICENSE-2.0

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Loading