HTTPS clone URL
Subversion checkout URL
A Rack management system.
Fetching latest commit…
Cannot retrieve the latest commit at this time
|Failed to load latest commit information.|
_____________ | Racks | ––––––––––––– This is a rails Web application for managing your datacenters and their contents. These are some things you should know in order to deploy and use it: API: ––––– The API gives the possibility to get an XML file with the devices used by a certain customer. The customer is identified using his customer number. To authenticate the request sent to the API an MD5 digest of a pre-shared key, today's date, and the customer number is used. A valid request is a POST sent to: http://place-where-racks-is-hosted/api/get_devices_for_customer/[customer number] In the body of the request there should be a parameter that looks like this: (in Ruby) secret=[Digest::MD5.hexdigest("pre_shared_key" + Date.today.to_s + customer_number.to_s)] The shared secret is saved into a "secrets.yml" file in the config folder, the file has one entry: pre_shared_key: [pre_shared_key] For obvious reasons this file isn't under version control. Todo: _______ - Automate the entry of interface names on the iPhone layout.