[
https://issues.apache.org/jira/browse/KNOX-1014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16163761#comment-16163761
]
Phil Zampino commented on KNOX-1014:
------------------------------------
[~lmccay] I went back and forth on that behavior wrt to shared provider
configuration deletions. I've modified it such that deleting a shared provider
config that is referenced by one or more simple descriptors no longer results
in those descriptors being deleted. Once nice thing about this change is that
one is able to recover from an unintentional shared provider configuration
deletion. If one of these is deleted, the simple descriptor processing will
fail, and the topology generation/redeployment will be aborted. This means 1)
Your topologies will still be running and working as they were 2) You can
recover the shared provider configuration by copying it from a referencing
topology in conf/topologies.
I've also enabled support for YAML descriptors. While this would not be a good
wire format for the API, it is a good config file format to support
hand-editing descriptors. The associated APIs will use the JSON format, but the
YAML will be a convenience for local manual deployments.
I've updated the attached patch file with both of these changes.
> Service Discovery and Topology Generation Framework
> ---------------------------------------------------
>
> Key: KNOX-1014
> URL: https://issues.apache.org/jira/browse/KNOX-1014
> Project: Apache Knox
> Issue Type: Sub-task
> Components: Server
> Reporter: Phil Zampino
> Assignee: Phil Zampino
> Labels: kip-8
> Fix For: 0.14.0
>
> Attachments: KNOX-1014.patch
>
>
> Implement the foundation for Service Discovery and Topology Generation.
> * Define simple descriptor format (YAML, JSON, etc...)
> * Local simple descriptor and shared provider configuration discovery
> ** Monitor conf/shared-providers, conf/descriptors similar to the way
> conf/topologies is currently monitored.
> * Ambari service discovery (REST API interactions and model construction)
> ** Configuration
> *** How to plug-in discovery implementations
> *** How to configure authentication (credentials/trust) with the service
> registries
> * Topology assembly from simple descriptor and discovery details
> * Topology deployment
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)