Feature #3421

Class ruleOcs and ruleOcsCollection

Added by yllen about 9 years ago. Updated over 8 years ago.

Status:ClosedStart date:03/29/2012
Priority:NormalDue date:
Assignee:walid% Done:

100%

Category:Rules Engines
Target version:0.84

Description

With https://forge.indepnet.net/issues/976, OCS will be a plugin.

See to rename the class

This class will be used by plugin to have the entity.
So, i purpose ruleEntity and ruleEntityCollection


Related issues

Related to GLPI-PROJECT - Task #976: Convert mod OCS in a Plugin Closed

Associated revisions

Revision 18498
Added by yllen almost 9 years ago

rename file for OCS - see #3421

Revision 18499
Added by yllen almost 9 years ago

rename class - see #3421

History

#1 Updated by walid about 9 years ago

  • Assignee set to walid

#2 Updated by moyo about 9 years ago

ruleimportcomputer already exists.
Maybe use ruleimportentity as name or ruleimportcomputerentity ?

#3 Updated by yllen about 9 years ago

ruleimportentity for ruleOCS => OK

but i don't agree the second name (ruleimportcomputerentity) because Fusion import also printer or network equipment

#4 Updated by walid about 9 years ago

I propose RuleItemEntity and RuleItemEntityCollection, which means that we affect an entity to an item (may be a computer, a printer or whatever)
what do you think about it ?

#5 Updated by yllen almost 9 years ago

  • Assignee changed from walid to yllen

RuleOcs => RuleImportEntity
RuleOcsCollection => RuleImportEntityCollection

#6 Updated by yllen almost 9 years ago

  • Status changed from Feedback to Assigned
  • % Done changed from 0 to 10

Class and front renamed
Calls to class rename too.

See to create specific hook

#7 Updated by yllen almost 9 years ago

  • Assignee changed from yllen to remi

#8 Updated by walid over 8 years ago

  • Status changed from Assigned to Resolved
  • Assignee changed from remi to walid
  • % Done changed from 10 to 100

Hook implemented : rule parameters and actions transfered in the ocsinventoryng plugin

#9 Updated by moyo over 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF