Skip to content

Instantly share code, notes, and snippets.

@subhashb
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save subhashb/9384055 to your computer and use it in GitHub Desktop.
Save subhashb/9384055 to your computer and use it in GitHub Desktop.
Manual Tests for Rake job "move_public_kayps"
$ rake db:list_public_kayps
options: {:range=>1..5, :default_rater=>"owner"}
No public KayPs found
$ rake db:list_public_kayps
options: {:range=>1..5, :default_rater=>"owner"}
********************************************************************
0) Setting Up Wireless Gateway (52f9ccd85cdd21e9b300008c) - Status: active - Publisher: Ken Thompson (kenthecdeveloper@gmail.com)
1) Setting Up Wireless Gateway 2 (52f9ccda5cdd21e9b300009f) - Status: active - Publisher: Ken Thompson (kenthecdeveloper@gmail.com)
2) Cisco ISE - MDM Partner Integration (52f9ccdb5cdd21e9b30000b2) - Status: active - Publisher: Ken Thompson (kenthecdeveloper@gmail.com)
3) ISE MDM Integration EBC Deck (52f9ccdb5cdd21e9b30000b4) - Status: active - Publisher: Ken Thompson (kenthecdeveloper@gmail.com)
4) The Power of Cisco ISE and MDN Partnerships (52f9ccdc5cdd21e9b30000b6) - Status: active - Publisher: Ken Thompson (kenthecdeveloper@gmail.com)
5) ISE MDM Integration QA (52f9ccdc5cdd21e9b30000b8) - Status: active - Publisher: Ken Thompson (kenthecdeveloper@gmail.com)
********************************************************************
$ rake db:move_public_kayps
options: {:range=>1..5, :default_rater=>"owner"}
Verifying Target Groups...
Error: Missing Parameters
Usage: rake db:move_public_kayps TARGET_GROUPS="group_id_abc, group_id_def"
$ rake db:move_public_kayps TARGET_GROUPS=""
options: {:range=>1..5, :default_rater=>"owner"}
Verifying Target Groups...
Error: Missing Parameters
Usage: rake db:move_public_kayps TARGET_GROUPS="group_id_abc, group_id_def"
$ rake db:move_public_kayps TARGET_GROUPS="52f9ccc55cdd21e9b3000009, 52f9ccc55cdd21e9b3000010"
options: {:range=>1..5, :default_rater=>"owner"}
Verifying Target Groups...
Group ID invalid: 52f9ccc55cdd21e9b3000010
Some/All Groups not found. Job Aborted
$ rake db:move_public_kayps TARGET_GROUPS="52f9ccc55cdd21e9b3000009, 52f9ccc55cdd21e9b3000005"
options: {:range=>1..5, :default_rater=>"owner"}
Verifying Target Groups...
All Groups found. Job Progressing...
********************************************************************
1) Setting Up Wireless Gateway (52f9ccd85cdd21e9b300008c) - Status: active - Publisher: Ken Thompson (kenthecdeveloper@gmail.com) - Moved
2) Setting Up Wireless Gateway 2 (52f9ccda5cdd21e9b300009f) - Status: active - Publisher: Ken Thompson (kenthecdeveloper@gmail.com) - Moved
3) Cisco ISE - MDM Partner Integration (52f9ccdb5cdd21e9b30000b2) - Status: active - Publisher: Ken Thompson (kenthecdeveloper@gmail.com) - Moved
4) ISE MDM Integration EBC Deck (52f9ccdb5cdd21e9b30000b4) - Status: active - Publisher: Ken Thompson (kenthecdeveloper@gmail.com) - Moved
5) The Power of Cisco ISE and MDN Partnerships (52f9ccdc5cdd21e9b30000b6) - Status: active - Publisher: Ken Thompson (kenthecdeveloper@gmail.com) - Moved
********************************************************************
$ rake db:move_public_kayps TARGET_GROUPS="52f9ccc55cdd21e9b3000009, 52f9ccc55cdd21e9b3000005"
options: {:range=>1..5, :default_rater=>"owner"}
Verifying Target Groups...
All Groups found. Job Progressing...
No public KayPs found to move
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment