Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
U
utilityservice
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

and though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here

  • Confidential and Proprietary
  • BlocPower
  • utilityservice
  • Merge Requests
  • !5

You need to sign in or sign up before continuing.
Merged
Opened Jan 31, 2017 by Tillie Kottmann@deletescapeOwner

Utility scraper endpoint

  • Overview 1
  • Commits 15
  • Changes 33

Created by: cschloer

This update moves the utility scraper endpoint to its own service. Implemented:

POST: post utility data into the database PUT: run scraper and save data to BOX GET: return both box and database data, with some logic added on to associate box files with database account numbers (the newest box file that has a tag that is the same as the account number) DELETE: delete all data in database associated with inputted blocpower_id and account_number

To use DELETE you must be using the blocpower user in the database.

Update your development.py here to point to the correct database: SQLALCHEMY_DATABASE_URI = 'postgresql://USERNAME:PASSWORD@buildingdev.czgvwxaefxfj.us-east-1.rds.amazonaws.com/utility_bill'

Once again, recommended to use blocpower user, credentials found in 1pass.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: exconfidential/blocpower/utilityservice!5
Source branch: utility-scraper-endpoint