NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

case 1. PASSES
1. Precondition. Create tenants and rules
23-Mar-2016 19:40:39.760 INFO [http-nio-8080-exec-3] com.symantec.wraith.ui.alerts.rest.TenantEndpoint.createTenant Created new tenant:Tenant [tenantId=d9840542280941c2b20a2b71d8f47c49, tenantName=lmm-qa, rulesTables=null]
23-Mar-2016 19:40:39.776 INFO [http-nio-8080-exec-6] com.symantec.wraith.ui.rules.RulesManager.createNewRule Created new rule with rule id:88
23-Mar-2016 19:40:39.798 INFO [http-nio-8080-exec-10] com.symantec.wraith.ui.alerts.rest.TenantEndpoint.createTenant Created new tenant:Tenant [tenantId=e94136e956fe4d43a8a93f8a36877599, tenantName=lmm-qa-no-membership, rulesTables=null]
23-Mar-2016 19:40:39.812 INFO [http-nio-8080-exec-2] com.symantec.wraith.ui.rules.RulesManager.createNewRule Created new rule with rule id:89
23-Mar-2016 19:40:39.827 INFO [http-nio-8080-exec-8] com.symantec.wraith.ui.alerts.rest.TenantEndpoint.createTenant Created new tenant:Tenant [tenantId=8afeb90e049741a8a044c905bb6f3275, tenantName=lmm_canary, rulesTables=null]
23-Mar-2016 19:40:39.841 INFO [http-nio-8080-exec-3] com.symantec.wraith.ui.rules.RulesManager.createNewRule Created new rule with rule id:90
2. Execute
curl -v -XDELETE 'http://192.168.99.100:9000/api/tenants/d9840542280941c2b20a2b71d8f47c49/d984054
by not existing rule ID

there is no trace of this in catalina.out
3. Execute DELETE for 'http://192.168.99.100:9000/api/tenants/d9840542280941c2b20a2b71d8f47c49'
23-Mar-2016 19:40:44.893 INFO [http-nio-8080-exec-2] com.symantec.wraith.ui.rules.RulesManager.deleteRules Deleted rule:88 for tenant id:d9840542280941c2b20a2b71d8f47c49
23-Mar-2016 19:40:44.893 INFO [http-nio-8080-exec-2] com.symantec.wraith.ui.rules.RulesManager.deleteRules Deleted rule:89 for tenant id:d9840542280941c2b20a2b71d8f47c49
23-Mar-2016 19:40:44.894 INFO [http-nio-8080-exec-2] com.symantec.wraith.ui.rules.RulesManager.deleteRules Deleted rule:90 for tenant id:d9840542280941c2b20a2b71d8f47c49
23-Mar-2016 19:40:44.907 SEVERE [http-nio-8080-exec-8] com.symantec.wraith.ui.rules.RulesManager.getRule Rule:88 not found for tenantId:d9840542280941c2b20a2b71d8f47c49
Result - data is deleted: tenant and rules from ui and DB

case 2. FAILS
1. Precondition. Create tenants and rules
23-Mar-2016 19:42:08.216 INFO [http-nio-8080-exec-5] com.symantec.wraith.ui.alerts.rest.TenantEndpoint.createTenant Created new tenant:Tenant [tenantId=d9840542280941c2b20a2b71d8f47c49, tenantName=lmm-qa, rulesTables=null]
23-Mar-2016 19:42:08.231 INFO [http-nio-8080-exec-7] com.symantec.wraith.ui.rules.RulesManager.createNewRule Created new rule with rule id:91
23-Mar-2016 19:42:08.253 INFO [http-nio-8080-exec-9] com.symantec.wraith.ui.alerts.rest.TenantEndpoint.createTenant Created new tenant:Tenant [tenantId=e94136e956fe4d43a8a93f8a36877599, tenantName=lmm-qa-no-membership, rulesTables=null]
23-Mar-2016 19:42:08.268 INFO [http-nio-8080-exec-1] com.symantec.wraith.ui.rules.RulesManager.createNewRule Created new rule with rule id:92
23-Mar-2016 19:42:08.284 INFO [http-nio-8080-exec-4] com.symantec.wraith.ui.alerts.rest.TenantEndpoint.createTenant Created new tenant:Tenant [tenantId=8afeb90e049741a8a044c905bb6f3275, tenantName=lmm_canary, rulesTables=null]
23-Mar-2016 19:42:08.298 INFO [http-nio-8080-exec-5] com.symantec.wraith.ui.rules.RulesManager.createNewRule Created new rule with rule id:93
2. Execute
curl -v -XDELETE 'http://192.168.99.100:9000/api/tenants/d984054
by not existing tenant ID
23-Mar-2016 19:42:08.312 SEVERE [http-nio-8080-exec-7] com.symantec.wraith.ui.rules.RulesManager.getTenant Tenant id:324567 not found
3. Execute DELETE for 'http://192.168.99.100:9000/api/tenants/d9840542280941c2b20a2b71d8f47c49'
23-Mar-2016 19:42:13.350 INFO [http-nio-8080-exec-1] com.symantec.wraith.ui.rules.RulesManager.deleteRules Deleted rule:91 for tenant id:d9840542280941c2b20a2b71d8f47c49
23-Mar-2016 19:42:13.351 INFO [http-nio-8080-exec-1] com.symantec.wraith.ui.rules.RulesManager.deleteRules Deleted rule:92 for tenant id:d9840542280941c2b20a2b71d8f47c49
23-Mar-2016 19:42:13.351 INFO [http-nio-8080-exec-1] com.symantec.wraith.ui.rules.RulesManager.deleteRules Deleted rule:93 for tenant id:d9840542280941c2b20a2b71d8f47c49
Result - data is NOT deleted: tenant and rules from ui and DB
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.