-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1999 from fedspendingtransparency/staging
Staging -> Master
- Loading branch information
Showing
84 changed files
with
1,125 additions
and
589 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
usaspending_api/accounts/migrations/0006_tasautocompletematview_tassearchmatview.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.22 on 2019-08-05 15:20 | ||
from __future__ import unicode_literals | ||
|
||
import django.contrib.postgres.search | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('accounts', '0005_tasawardmatview'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='TASAutocompleteMatview', | ||
fields=[ | ||
('tas_autocomplete_id', models.IntegerField(primary_key=True, serialize=False)), | ||
('allocation_transfer_agency_id', models.TextField(null=True)), | ||
('agency_id', models.TextField()), | ||
('beginning_period_of_availability', models.TextField(null=True)), | ||
('ending_period_of_availability', models.TextField(null=True)), | ||
('availability_type_code', models.TextField(null=True)), | ||
('main_account_code', models.TextField()), | ||
('sub_account_code', models.TextField(null=True)), | ||
('tas_rendering_label', models.TextField()), | ||
], | ||
options={ | ||
'db_table': 'tas_autocomplete_matview', | ||
'managed': False, | ||
}, | ||
), | ||
migrations.CreateModel( | ||
name='TASSearchMatview', | ||
fields=[ | ||
('award_id', models.BigIntegerField(primary_key=True, serialize=False)), | ||
('tas_ts_vector', django.contrib.postgres.search.SearchVectorField()), | ||
], | ||
options={ | ||
'db_table': 'tas_search_matview', | ||
'managed': False, | ||
}, | ||
), | ||
migrations.RunSQL( | ||
sql=[ | ||
'drop materialized view if exists tas_award_matview', | ||
'drop materialized view if exists tas_award_matview_old', | ||
'drop materialized view if exists tas_award_matview_temp', | ||
], | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
usaspending_api/api_docs/api_documentation/autocomplete/awarding_agency.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This is placeholder documentation for the /api/v2/autocomplete/awarding_agency | ||
endpoint. This route sends a request to the backend to retrieve awarding | ||
agencies matching the specified search text. |
3 changes: 3 additions & 0 deletions
3
usaspending_api/api_docs/api_documentation/autocomplete/cfda.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This is placeholder documentation for the /api/v2/autocomplete/cfda | ||
endpoint. This route sends a request to the backend to retrieve CFDA | ||
programs matching the specified search text. |
3 changes: 3 additions & 0 deletions
3
usaspending_api/api_docs/api_documentation/autocomplete/funding_agency.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This is placeholder documentation for the /api/v2/autocomplete/funding_agency | ||
endpoint. This route sends a request to the backend to retrieve funding | ||
agencies matching the specified search text. |
3 changes: 3 additions & 0 deletions
3
usaspending_api/api_docs/api_documentation/autocomplete/naics.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This is placeholder documentation for the /api/v2/autocomplete/naics | ||
endpoint. This route sends a request to the backend to retrieve NAICS | ||
objects matching the specified search text. |
4 changes: 4 additions & 0 deletions
4
usaspending_api/api_docs/api_documentation/autocomplete/psc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
This is placeholder documentation for the /api/v2/autocomplete/psc | ||
endpoint. This route sends a request to the backend to retrieve | ||
product or service (PSC) codes and their descriptions based on a | ||
search string. This may be the 4-character PSC code or a description string. |
3 changes: 3 additions & 0 deletions
3
usaspending_api/api_docs/api_documentation/autocomplete/recipient.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This is placeholder documentation for the /api/v2/autocomplete/recipient | ||
endpoint. This route sends a request to the backend to retrieve Parent | ||
and Recipient DUNS matching the search text in order of similarity. |
3 changes: 3 additions & 0 deletions
3
usaspending_api/api_docs/api_documentation/award_spending/recipient.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This is placeholder documentation for the /api/v2/award_spending/recipient | ||
endpoint. Return all award spending by recipient for a given fiscal year | ||
and agency id. |
Oops, something went wrong.