Cerebot is an automated script created in Python that uses Asana API and Google Drive API to automate repetitive processes used by the human-I-T company. Asana is widely used by human-I-T to inventory and edit items, so we found a much more efficient method. Cerebot has 3 features: inventory, wipe, destroy. All of these features basically move Asana tasks from one project to another and fills out its custom fields.
Inventory items quickly! Fill out the custom fields on the top, then scan each item's barcode to inventory. The selected items will then be placed into an Asana project called Inventory, each with its own custom field.
Wiping hard drives! The cert check goes through the Asana tasks in the Inventory project, and attaches a pdf file that was created from our server that wipes hard drives. The server holds up to 15 hard drives, and sends a pdf file to a google drive folder, where Cerebot checks. The Cerebot locates the bar code in the Google Drive folder, and then attaches to the Asana task with its respective bar code.
Sending hard drives into destruction! Cerebot goes through the Asana tasks that was filled out by the user and puts them into the "Destruction" project in Asana. These hard drives will be thrown to the E-waste pile, to be completely destroyed and scrapped.
- Download python and add it to your PATH
- Download Git (for pip)
- Go to your repository in Git
- Type in 'pip install httplib2'
- Type in 'pip install --upgrade google-api-python-client'
- Type in 'pip install asana'
- Run asana-automate.py
- Writing code - Mainly Patrick, main developer. Preston - Optimized and debugged code.
- Writing tests - Preston - Wrote over 100 test cases for duplication errors
- Authentication - Patrick - Added OAuth 2.0 to authenticate users. Also added personal tokens from Asana (hidden for the sake of privacy)
- Code review - Preston - Reviewed Patrick's code
- humanit@patriick.com - Main Programmer
- prestonwong7@gmail.com - Debugger and Optimizations