Skip to content

Commit

Permalink
[Issue #2553] Remove opportunities v0 endpoints [1/3] (#3409)
Browse files Browse the repository at this point in the history
## Summary
Fixes #2553 

### Time to review: 10 mins

## Changes proposed
Clean up v0 endpoints by removing `opportunities_v0`

## Context for reviewers
This is PR 1 of 3. Subsequent PRs will remove v0.1 and backend tasks
  • Loading branch information
mikehgrantsgov authored Jan 6, 2025
1 parent e1c1834 commit a2e1888
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 823 deletions.
6 changes: 0 additions & 6 deletions api/src/api/opportunities_v0/__init__.py

This file was deleted.

12 changes: 0 additions & 12 deletions api/src/api/opportunities_v0/opportunity_blueprint.py

This file was deleted.

78 changes: 0 additions & 78 deletions api/src/api/opportunities_v0/opportunity_routes.py

This file was deleted.

124 changes: 0 additions & 124 deletions api/src/api/opportunities_v0/opportunity_schemas.py

This file was deleted.

2 changes: 0 additions & 2 deletions api/src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
from src.api.agencies_v1 import agency_blueprint as agencies_v1_blueprint
from src.api.extracts_v1 import extract_blueprint as extracts_v1_blueprint
from src.api.healthcheck import healthcheck_blueprint
from src.api.opportunities_v0 import opportunity_blueprint as opportunities_v0_blueprint
from src.api.opportunities_v0_1 import opportunity_blueprint as opportunities_v0_1_blueprint
from src.api.opportunities_v1 import opportunity_blueprint as opportunities_v1_blueprint
from src.api.response import restructure_error_response
Expand Down Expand Up @@ -133,7 +132,6 @@ def error_processor(error: exceptions.HTTPError) -> Tuple[dict, int, Any]:

def register_blueprints(app: APIFlask) -> None:
app.register_blueprint(healthcheck_blueprint)
app.register_blueprint(opportunities_v0_blueprint)
app.register_blueprint(opportunities_v0_1_blueprint)
app.register_blueprint(opportunities_v1_blueprint)
app.register_blueprint(extracts_v1_blueprint)
Expand Down
Empty file.
40 changes: 0 additions & 40 deletions api/src/services/opportunities_v0/get_opportunities.py

This file was deleted.

44 changes: 0 additions & 44 deletions api/src/services/opportunities_v0/opportunity_service_shared.py

This file was deleted.

64 changes: 0 additions & 64 deletions api/src/services/opportunities_v0/search_opportunities.py

This file was deleted.

Empty file.
Loading

0 comments on commit a2e1888

Please sign in to comment.