registry.put(parentCollectionPath, registry.newCollection());
Resource bucketProperties = registry.newResource();
bucketProperties.addProperty(CEPConstants.CEP_CONF_ELE_NAME, bucket.getName());
bucketProperties.addProperty(CEPConstants.CEP_CONF_ELE_DESCRIPTION, bucket.getDescription());
bucketProperties.addProperty(CEPConstants.CEP_CONF_ELE_CEP_ENGINE_PROVIDER, bucket.getEngineProvider());
// registry.put(parentCollectionPath + CEPConstants.CEP_REGISTRY_BS + CEPConstants.CEP_REGISTRY_PROPERTIES, bucketProperties);
String inputsCollectionPath = parentCollectionPath + CEPConstants.CEP_REGISTRY_BS + CEPConstants.CEP_REGISTRY_INPUTS;
if (!registry.resourceExists(inputsCollectionPath)) {
registry.put(inputsCollectionPath, registry.newCollection());