Project

General

Profile

Task #2228

Feature #2227: Allow Cloud Installation

Modify setup page to work without a default stanza

Added by Luke Murphey about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/16/2018
Due date:
% Done:

100%

Associated revisions

Revision 403 (diff)
Added by lukemurphey about 6 years ago

Making setup page work even if no default stanza exists

Reference #2228

History

#1 Updated by Luke Murphey about 6 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 40

#2 Updated by Luke Murphey about 6 years ago

Trying to get Backbone to create the default stanza if it doesn't exist.

  1. Loading _new and then saving to _new
    1. Gets an error saying debug is not supported
  2. Not loading _new and then saving to _new
    1. Argument "proxy_password" is not supported by this handler.

#3 Updated by Luke Murphey about 6 years ago

Questions:
  • Where is the "Argument is not supported by this handler." message coming from
    • I don't see anything in the RestHandler base class
    • This is coming before the REST endpoint runs
    • existing stanzas can be edited
  • Will setting no properties work?
    • Yes it does
  • Is execute being called for the create call?
    • No, it is being skipped somehow

#5 Updated by Luke Murphey about 6 years ago

This is weird

The following works:


this.website_monitoring_configuration = new WebsiteMonitoringConfiguration({
    user: 'nobody',
    app: 'website_monitoring'
});

this.website_monitoring_configuration.save({}, {
    'url' : '/en-US/splunkd/servicesNS/nobody/website_monitoring/admin/website_monitoring/default'
});

This does not:

this.website_monitoring_configuration = new WebsiteMonitoringConfiguration({
    user: 'nobody',
    app: 'website_monitoring'
});

this.website_monitoring_configuration.save();

#6 Updated by Luke Murphey about 6 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 40 to 100

#7 Updated by Luke Murphey about 6 years ago

  • Target version changed from 2.6.3 to 2.7

Also available in: Atom PDF