hsn2-object-store-mongodb's Introduction
HSN2 Object-Store MongoDB (hsn2-object-store-mongodb) HSN2 Object Store is a central repository for all objects present in the system. It supports inserting new objects, getting and updating data of existing objects, performing queries on all objects that belong to a given job. The current implementation uses MongoDB as it's backend database. This repository is a part of bigger project: Honeyspider Network 2.1. Project bundle is located at: https://github.com/CERT-Polska/hsn2-bundle. More information is available on the project's website: http://www.honeyspider.net
hsn2-object-store-mongodb's People
hsn2-object-store-mongodb's Issues
NPE when the attribute type is set to EMPTY
NPE in Object Store
java.lang.NullPointerException
at pl.nask.hsn2.os.entities.MongoEntity.fromDBObject(MongoEntity.java:75)
at pl.nask.hsn2.os.MongoConnector.getObjById(MongoConnector.java:94)
at pl.nask.hsn2.os.entities.MongoEntity.addInitialAttributes(MongoEntity.java:52)
at pl.nask.hsn2.os.ObjectStore.prepareNewObject(ObjectStore.java:79)
at pl.nask.hsn2.os.ObjectStore.addObject(ObjectStore.java:63)
at pl.nask.hsn2.os.commands.SimplePutCommand.processCommandAndPrepareResponse(SimplePutCommand.java:26)
at pl.nask.hsn2.os.commands.CommandWithResponse.processCommand(CommandWithResponse.java:41)
at pl.nask.hsn2.os.commands.SimplePutCommand.processCommand(SimplePutCommand.java:1)
at pl.nask.hsn2.os.commands.AbstractCommand.execute(AbstractCommand.java:30)
at pl.nask.hsn2.os.ObjectStoreConnector.run(ObjectStoreConnector.java:60)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Change component name in init.d script
Change storege strategy
Each job should have itself collection in MongoDB.
If objectStore receive JobComplete, whole collection for that job should be removed.
Add support for JSVC daemon wrapper.
Init scripts do not verify correctly if a service started successfully.
This means that if a service crashes during initialization (common cause: failure to establish connection to AMQP broker or data store, but other conditions may occur) the init script still reports a success.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.