New release package for Osiris 1.2
Jun 7, 2017 • Guillermo Amat
A new release package is available to download from Github. The binaries include all the new features belonging to Osiris 1.2 such as the authentication method. The objective of this package is to reduce the complexity of the installation process as it it not necessary to build the source code.
To use this software follow these steps:
- Download the software
- Unpack the file somewhere in your computer
- cd Osiris
- Import a map using the command
- Create a password for a user
This will output: zZpRQvC79xErr9l0yz8Wwg==
- Create a collection in Mogo for the credentials. Note that we will use MyMapId as the identifier of the map / application:
-
[Optional] Add as many users as you want using again the password tool and the db.credentials_app_MyMapId.insert command
-
Run Osiris
Now you can check if everything is working. Remember that now the services require credentials when are invoked. In order to do this, the user name and password you selected before should be encoded in Base64 (ISO-8895-1) using the format user:password In our example your_username:your_password is eW91cl91c2VybmFtZTp5b3VyX3Bhc3N3b3Jk and this credential has to be added to the Authorization header:
Authorization: Basic eW91cl91c2VybmFtZTp5b3VyX3Bhc3N3b3Jk
As an example using curl, you can call the search service this way:
If everything is right, you will see a JSON with information of your buildings.