module PolicyMachineStorageAdapter

This class stores policy elements in memory and exposes required operations for managing/querying these elements.

This class stores policy elements in a neo4j graph db using the neography client and exposes required operations for managing/querying these elements. Note that this adapter shouldn’t be used in production for high-performance needs as Neography is inherently slower than more direct NEO4J access.

This class provides a template for creating your own Policy Machine Storage Adapter. Simply copy this file and implement all public methods. Ensure correctness using the shared examples in ‘spec/support/shared_examples_policy_machine_storage_adapter_spec.rb’. Ensure your adapter integrates properly with the policy machine using the shared examples in ‘spec/support/shared_examples_policy_machine_spec.rb’.