Project

General

Profile

Bug #35431

Rewrite plugin_get_versions to operate on a single plugin at a time

Added by Lola Yang over 2 years ago. Updated about 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Brandon Schneider
Category:
Middleware
Target version:
Seen in:
Severity:
Low
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

we use method "jail.list_resource" with params ["PLUGIN",true] to list all available plugins info. Could you return plugin version by this call, and delete the separate call 'jail.get_plugin_versions`? Thank


Related issues

Related to FreeNAS - Bug #32754: Display version numbers for the Available Plugins in new UIDone

Associated revisions

Revision 666f06ab (diff)
Added by Brandon Schneider over 2 years ago

feat(plugin/jail): Rewrite jail.plugin_get_versions - Rewrite plugin_get_versions to operate on a single plugin at a time - Make it a private method - Add caching to list_resource for remote resources - Append a pkg version and plugin revision to remote plugin list_resources call Ticket: #35431

Revision f93c1a98 (diff)
Added by Brandon Schneider over 2 years ago

feat(plugin/jail): Rewrite jail.plugin_get_versions - Rewrite plugin_get_versions to operate on a single plugin at a time - Make it a private method - Add caching to list_resource for remote resources - Append a pkg version and plugin revision to remote plugin list_resources call Ticket: #35431

Revision d8afd205 (diff)
Added by Brandon Schneider about 2 years ago

feat(plugin/jail): Rewrite jail.plugin_get_versions (#1409) * feat(plugin/jail): Rewrite jail.plugin_get_versions - Rewrite plugin_get_versions to operate on a single plugin at a time - Make it a private method - Add caching to list_resource for remote resources - Append a pkg version and plugin revision to remote plugin list_resources call Ticket: #35431 * Address Vladimir's review

History

#1 Updated by Lola Yang over 2 years ago

  • Related to Bug #32754: Display version numbers for the Available Plugins in new UI added

#2 Updated by Brandon Schneider over 2 years ago

  • Status changed from Unscreened to In Progress
  • Severity changed from New to Low

#3 Updated by Brandon Schneider over 2 years ago

#4 Updated by Dru Lavigne about 2 years ago

  • Target version changed from 11.2-RC2 to 11.2-BETA2

#5 Updated by Brandon Schneider about 2 years ago

  • Status changed from In Progress to Ready for Testing

DESC: Rename call from jail.get_plugin_versions to jail.list_resource "PLUGIN" true
RISK: Low
ACCEPTANCE: Use the call and see remote plugins.

#6 Updated by Dru Lavigne about 2 years ago

  • Subject changed from return plugin version by exist call 'jail.list_resource' to Rewrite plugin_get_versions to operate on a single plugin at a time
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#7 Updated by Bonnie Follweiler about 2 years ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

Test Case: run midclt call jail.list_resource PLUGIN true and it should list the plugins and their info
Test Passes in

#8 Updated by Dru Lavigne about 2 years ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF