简体   繁体   English

如何创建非托管Neo4j扩展?

[英]How to create unmanaged Neo4j extension?

I have some specific requirements for my project and I decided to implement unmanaged Neo4j extension. 我对我的项目有一些特定要求,因此决定实施不受管理的Neo4j扩展。

I found this information in Neo4j docs: 我在Neo4j文档中找到了以下信息:

This looks like a good start. 这看起来是一个好的开始。 But I can't get things working for me. 但是我无法为我工作。

Is there some more complete working example/template, that can be used as reference? 是否有一些更完整的工作示例/模板可以用作参考?

"Handmade" solution “手工”解决方案

TL;DR; TL; DR; - https://github.com/FylmTM/neo4j-unmanaged-extension-template -https://github.com/FylmTM/neo4j-unmanaged-extension-template

This is working example of Neo4j unmanaged extension, that showcases several features: 这是Neo4j非托管扩展的工作示例,展示了几个功能:

  • Basic setup 基本设定
  • Custom PluginLifecycle 's - Simple and Advanced 自定义PluginLifecycle简单和高级
  • Injecting your own services via @Context ( details ) 通过@Context注入自己的服务( 详细信息
  • Custom request Filter ( details ) 自定义请求Filter详细信息
  • Testing with neo4j-harness ( details ) 使用neo4j-harness测试( 详细信息

Other extensions that can be explored: 可以探索的其他扩展:

Neo4j framework Neo4j框架

There is neo4j-framework developed by GraphAware . GraphAware开发了neo4j -framework

It provides number of features for unmanaged extension development and testing. 它提供了许多用于非托管扩展开发和测试的功能。 You should check out features section to find out what is available. 您应该查看功能部分,以了解可用功能。

EDIT : There is neo4j-graphaware-extension-scaffold developed by MicTech 编辑 :有由MicTech开发的neo4j -graphaware-extension-scaffold

Here is the scaffold for the Unmanaged Extension with GraphAware Framework 这是使用GraphAware框架的非托管扩展的支架

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM