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

Update ua api sh #774

Merged
merged 2 commits into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions ua/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ npm-debug.log
*.swp
.git

# Track selected env files
!deploy/envs/*.env

# Track selected JSON files
!package.json
!package-lock.json
Expand Down
54 changes: 27 additions & 27 deletions ua/deploy/api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,109 +6,109 @@ export ANALYTICS_UA_REPORTS_PATH=ua/reports/api.json
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of Education
source $ANALYTICS_ROOT_PATH/deploy/envs/education.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/education.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of Veterans Affairs
source $ANALYTICS_ROOT_PATH/deploy/envs/veterans-affairs.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/veterans-affairs.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# National Aeronautics and Space Administration
source $ANALYTICS_ROOT_PATH/deploy/envs/national-aeronautics-space-administration.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/national-aeronautics-space-administration.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of Justice
source $ANALYTICS_ROOT_PATH/deploy/envs/justice.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/justice.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of Commerce
source $ANALYTICS_ROOT_PATH/deploy/envs/commerce.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/commerce.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Environmental Protection Agency
source $ANALYTICS_ROOT_PATH/deploy/envs/environmental-protection-agency.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/environmental-protection-agency.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Small Business Administration
source $ANALYTICS_ROOT_PATH/deploy/envs/small-business-administration.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/small-business-administration.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of Energy
source $ANALYTICS_ROOT_PATH/deploy/envs/energy.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/energy.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of the Interior
source $ANALYTICS_ROOT_PATH/deploy/envs/interior.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/interior.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# National Archives and Records Administration
source $ANALYTICS_ROOT_PATH/deploy/envs/national-archives-records-administration.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/national-archives-records-administration.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of Agriculture
source $ANALYTICS_ROOT_PATH/deploy/envs/agriculture.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/agriculture.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of Defense
source $ANALYTICS_ROOT_PATH/deploy/envs/defense.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/defense.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of Health and Human Services
source $ANALYTICS_ROOT_PATH/deploy/envs/health-human-services.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/health-human-services.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of Housing and Urban Development
source $ANALYTICS_ROOT_PATH/deploy/envs/housing-urban-development.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/housing-urban-development.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of Homeland Security
source $ANALYTICS_ROOT_PATH/deploy/envs/homeland-security.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/homeland-security.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of Labor
source $ANALYTICS_ROOT_PATH/deploy/envs/labor.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/labor.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of State
source $ANALYTICS_ROOT_PATH/deploy/envs/state.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/state.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of Transportation
source $ANALYTICS_ROOT_PATH/deploy/envs/transportation.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/transportation.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Department of the Treasury
source $ANALYTICS_ROOT_PATH/deploy/envs/treasury.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/treasury.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Agency for International Development
source $ANALYTICS_ROOT_PATH/deploy/envs/agency-international-development.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/agency-international-development.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# General Services Administration
source $ANALYTICS_ROOT_PATH/deploy/envs/general-services-administration.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/general-services-administration.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# National Science Foundation
source $ANALYTICS_ROOT_PATH/deploy/envs/national-science-foundation.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/national-science-foundation.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Nuclear Regulatory Commission
source $ANALYTICS_ROOT_PATH/deploy/envs/nuclear-regulatory-commission.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/nuclear-regulatory-commission.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Office of Personnel Management
source $ANALYTICS_ROOT_PATH/deploy/envs/office-personnel-management.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/office-personnel-management.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Social Security Administration
source $ANALYTICS_ROOT_PATH/deploy/envs/social-security-administration.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/social-security-administration.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Postal Service
source $ANALYTICS_ROOT_PATH/deploy/envs/postal-service.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/postal-service.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp

# Executive Office of the President
source $ANALYTICS_ROOT_PATH/deploy/envs/executive-office-president.env
source $ANALYTICS_UA_ROOT_PATH/deploy/envs/executive-office-president.env
$ANALYTICS_UA_ROOT_PATH/bin/analytics --debug --write-to-database --output /tmp
4 changes: 4 additions & 0 deletions ua/deploy/envs/agency-international-development.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Agency for International Development
export ANALYTICS_REPORT_UA_IDS="ga:68380943"
export AGENCY_NAME=agency-international-development
export AWS_BUCKET_PATH=data/agency-international-development
5 changes: 5 additions & 0 deletions ua/deploy/envs/agriculture.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Department of Agriculture
export ANALYTICS_REPORT_UA_IDS="ga:65240995"
export AGENCY_NAME=agriculture
export AWS_BUCKET_PATH=data/agriculture

4 changes: 4 additions & 0 deletions ua/deploy/envs/commerce.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Department of Commerce
export ANALYTICS_REPORT_UA_IDS="ga:66877186"
export AGENCY_NAME=commerce
export AWS_BUCKET_PATH=data/commerce
4 changes: 4 additions & 0 deletions ua/deploy/envs/defense.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Department of Defense
export ANALYTICS_REPORT_UA_IDS="ga:67120289"
export AGENCY_NAME=defense
export AWS_BUCKET_PATH=data/defense
4 changes: 4 additions & 0 deletions ua/deploy/envs/education_test.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Department of Education
export ANALYTICS_REPORT_UA_IDS="ga:67200736"
export AGENCY_NAME=education
export AWS_BUCKET_PATH=data/education
5 changes: 5 additions & 0 deletions ua/deploy/envs/energy.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Department of Energy
export ANALYTICS_REPORT_UA_IDS="ga:69826574"
export AGENCY_NAME=energy
export AWS_BUCKET_PATH=data/energy

5 changes: 5 additions & 0 deletions ua/deploy/envs/environmental-protection-agency.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Environmental Protection Agency
export ANALYTICS_REPORT_UA_IDS="ga:68948437"
export AGENCY_NAME=environmental-protection-agency
export AWS_BUCKET_PATH=data/environmental-protection-agency

4 changes: 4 additions & 0 deletions ua/deploy/envs/executive-office-president.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Executive Office of the President
export ANALYTICS_REPORT_UA_IDS="ga:66351974"
export AGENCY_NAME=executive-office-president
export AWS_BUCKET_PATH=data/executive-office-president
4 changes: 4 additions & 0 deletions ua/deploy/envs/general-services-administration.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# General Services Administration
export ANALYTICS_REPORT_UA_IDS="ga:65263002"
export AGENCY_NAME=general-services-administration
export AWS_BUCKET_PATH=data/general-services-administration
5 changes: 5 additions & 0 deletions ua/deploy/envs/health-human-services.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Department of Health and Human Services
export ANALYTICS_REPORT_UA_IDS="ga:72643802"
export AGENCY_NAME=health-human-services
export AWS_BUCKET_PATH=data/health-human-services

5 changes: 5 additions & 0 deletions ua/deploy/envs/homeland-security.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Department of Homeland Security
export ANALYTICS_REPORT_UA_IDS="ga:67460690"
export AGENCY_NAME=homeland-security
export AWS_BUCKET_PATH=data/homeland-security

4 changes: 4 additions & 0 deletions ua/deploy/envs/housing-urban-development.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Department of Housing and Urban Development
export ANALYTICS_REPORT_UA_IDS="ga:69364976"
export AGENCY_NAME=housing-urban-development
export AWS_BUCKET_PATH=data/housing-urban-development
4 changes: 4 additions & 0 deletions ua/deploy/envs/interior.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Department of the Interior
export ANALYTICS_REPORT_UA_IDS="ga:65366693"
export AGENCY_NAME=interior
export AWS_BUCKET_PATH=data/interior
4 changes: 4 additions & 0 deletions ua/deploy/envs/justice.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Department of Justice
export ANALYTICS_REPORT_UA_IDS="ga:65501425"
export AGENCY_NAME=justice
export AWS_BUCKET_PATH=data/justice
4 changes: 4 additions & 0 deletions ua/deploy/envs/labor.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Department of Labor
export ANALYTICS_REPORT_UA_IDS="ga:66158666"
export AGENCY_NAME=labor
export AWS_BUCKET_PATH=data/labor
4 changes: 4 additions & 0 deletions ua/deploy/envs/national-aeronautics-space-administration.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# National Aeronautics and Space Administration
export ANALYTICS_REPORT_UA_IDS="ga:68619810"
export AGENCY_NAME=national-aeronautics-space-administration
export AWS_BUCKET_PATH=data/national-aeronautics-space-administration
4 changes: 4 additions & 0 deletions ua/deploy/envs/national-archives-records-administration.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# National Archives and Records Administration
export ANALYTICS_REPORT_UA_IDS="ga:67886610"
export AGENCY_NAME=national-archives-records-administration
export AWS_BUCKET_PATH=data/national-archives-records-administration
4 changes: 4 additions & 0 deletions ua/deploy/envs/national-science-foundation.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# National Science Foundation
export ANALYTICS_REPORT_UA_IDS="ga:67850613"
export AGENCY_NAME=national-science-foundation
export AWS_BUCKET_PATH=data/national-science-foundation
4 changes: 4 additions & 0 deletions ua/deploy/envs/nuclear-regulatory-commission.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Nuclear Regulatory Commission
export ANALYTICS_REPORT_UA_IDS="ga:67691948"
export AGENCY_NAME=nuclear-regulatory-commission
export AWS_BUCKET_PATH=data/nuclear-regulatory-commission
4 changes: 4 additions & 0 deletions ua/deploy/envs/office-personnel-management.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Office of Personnel Management
export ANALYTICS_REPORT_UA_IDS="ga:68758375"
export AGENCY_NAME=office-personnel-management
export AWS_BUCKET_PATH=data/office-personnel-management
4 changes: 4 additions & 0 deletions ua/deploy/envs/postal-service.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Postal Service
export ANALYTICS_REPORT_UA_IDS="ga:100911348"
export AGENCY_NAME=postal-service
export AWS_BUCKET_PATH=data/postal-service
4 changes: 4 additions & 0 deletions ua/deploy/envs/small-business-administration.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Small Business Administration
export ANALYTICS_REPORT_UA_IDS="ga:68909496"
export AGENCY_NAME=small-business-administration
export AWS_BUCKET_PATH=data/small-business-administration
4 changes: 4 additions & 0 deletions ua/deploy/envs/social-security-administration.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Social Security Administration
export ANALYTICS_REPORT_UA_IDS="ga:68055007"
export AGENCY_NAME=social-security-administration
export AWS_BUCKET_PATH=data/social-security-administration
4 changes: 4 additions & 0 deletions ua/deploy/envs/state.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Department of Transportation
export ANALYTICS_REPORT_UA_IDS="ga:67454734"
export AGENCY_NAME=state
export AWS_BUCKET_PATH=data/state
4 changes: 4 additions & 0 deletions ua/deploy/envs/transportation.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Department of Transportation
export ANALYTICS_REPORT_UA_IDS="ga:66902419"
export AGENCY_NAME=transportation
export AWS_BUCKET_PATH=data/transportation
4 changes: 4 additions & 0 deletions ua/deploy/envs/treasury.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Department of the Treasury
export ANALYTICS_REPORT_UA_IDS="ga:67705218"
export AGENCY_NAME=treasury
export AWS_BUCKET_PATH=data/treasury
4 changes: 4 additions & 0 deletions ua/deploy/envs/veterans-affairs.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Department of Veterans Affairs
export ANALYTICS_REPORT_UA_IDS="ga:68076838"
export AGENCY_NAME=veterans-affairs
export AWS_BUCKET_PATH=data/veterans-affairs
Loading