BI-1113 Replace fake building object with endpoint call
Created by: ay701
Address search creates building using endpoint
Goal:
- Address search will create a building (using endpoint) if not exist in backend
Test:
- In
dashboardfolder, pull from this branch - Make sure both
dashboardandbuildingServiceare running - Go to buildings page, search for a random address, see if it shows in result
- Go to buildingGroup42 page, search for a random address, see if "+ Add" button shows up
- Click on "+ Add" button, see if address is added to the group
Issues:
- BI-1113 Replace fake object with building service endpoint call to create building