The PI2 services acts as a local component in a control room to provide emergency information for a given DID. It resolves the DID to access a service endpoint and retrieves data. If this data is encrypted it uses Shamir's Secret Sharing scheme to decrypt data through multiple key parts. More informaton is available in this blog post.
OwnYourData Data Vault
The PI2 is a service for the OwnYourData Data Vault. Usually you have to pass on your data to the operators of web services and apps in order to be able to use them. OwnYourData, however, turns the tables: You keep all your data and you keep them in your own data vault. You bring apps (data collection, algorithms and visualization) and services to your data vault.
On using the PI2 service in a control room check the following items during deployment:
register the PI2 in the OwnYourData Data Vault to retrieve
Client-Secretfor authorizing the service (contact: firstname.lastname@example.org)
provide credentials of the PI2 to the DEC112 Border service so that the Viewer can access the PI2
user the following command on the rails console:
> puts Doorkeeper::Application.first.uid > puts Doorkeeper::Application.first.secret
Improve the PI2 Service
If you want to contribute, please follow these steps:
- Fork it!
- Create a feature branch:
git checkout -b my-new-feature
- Commit changes:
git commit -am 'Add some feature'
- Push into branch:
git push origin my-new-feature
- Send a Pull Request