-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Seed a Parramatta City Council application for local dev purposes.
Signed-off-by: David Black <[email protected]>
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,15 @@ | |
website_url: "http://www.marrickville.nsw.gov.au", | ||
disabled: false | ||
|
||
authorityTwo = Authority.create! full_name: "Parramatta City Council", | ||
short_name: "Parramatta", | ||
state: "NSW", | ||
email: "[email protected]", | ||
population_2017: "243276", | ||
morph_name: "planningalerts-scrapers/multiple_epathway_scraper", | ||
website_url: "https://www.cityofparramatta.nsw.gov.au", | ||
disabled: false | ||
|
||
CreateOrUpdateApplicationService.call( | ||
authority: authority, | ||
council_reference: "DA21/0642", | ||
|
@@ -26,3 +35,20 @@ | |
lng: 150.6486731 | ||
} | ||
) | ||
|
||
CreateOrUpdateApplicationService.call( | ||
authority: authorityTwo, | ||
council_reference: "DA/321/2022", | ||
attributes: { | ||
address: "110 Wetherill Street North, SILVERWATER NSW 2128", | ||
description: "Change of use to a vehicle dismantling premises and metal car part storage facility.", | ||
date_scraped: Time.zone.now, | ||
info_url: "https://onlineservices.cityofparramatta.nsw.gov.au/ePathway/Prod/Web/GeneralEnquiry/EnquiryDetailView.aspx?Id=742618", | ||
# Values that would normally be the result of geocoding | ||
suburb: "Silverwater", | ||
state: "NSW", | ||
postcode: "2128", | ||
lat: -33.83568859225864, | ||
lng: 151.04994362636435 | ||
} | ||
) |