[
https://issues.apache.org/jira/browse/MINIFI-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15977468#comment-15977468
]
ASF GitHub Bot commented on MINIFI-272:
---------------------------------------
GitHub user brosander opened a pull request:
https://github.com/apache/nifi-minifi/pull/79
MINIFI-272 - Delegating C2 Provider, Caching ConfigService, Tests
Thank you for submitting a contribution to Apache NiFi - MiNiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
### For all changes:
- [X] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?
- [X] Does your PR title start with MINIFI-XXXX where XXXX is the JIRA
number you are trying to resolve? Pay particular attention to the hyphen "-"
character.
- [X] Has your PR been rebased against the latest commit within the target
branch (typically master)?
- [X] Is your initial contribution a single, squashed commit?
### For code changes:
- [X] Have you ensured that the full suite of tests is executed via mvn
-Pcontrib-check clean install at the root nifi-minifi folder?
- [X] Have you written or updated unit tests to verify your changes?
- [X] - N/A - If adding new dependencies to the code, are these
dependencies licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [X] - N/A - If applicable, have you updated the LICENSE file, including
the main LICENSE file under minifi-assembly?
- [X] - N/A - If applicable, have you updated the NOTICE file, including
the main NOTICE file found under minifi-assembly?
### For documentation related changes:
- [X] Have you ensured that format looks appropriate for the output in
which it is rendered?
### Note:
Please ensure that once the PR is submitted, you check travis-ci for build
issues and submit an update to your PR as soon as possible.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/brosander/nifi-minifi MINIFI-272
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi-minifi/pull/79.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #79
----
commit ebd0a8ee06cfdec0330d1ee07bc248ae8d71f1fa
Author: Bryan Rosander <[email protected]>
Date: 2017-04-18T19:25:08Z
MINIFI-272 - Delegating C2 Provider, Caching ConfigService, Tests
----
> Hierarchical C2 support
> -----------------------
>
> Key: MINIFI-272
> URL: https://issues.apache.org/jira/browse/MINIFI-272
> Project: Apache NiFi MiNiFi
> Issue Type: New Feature
> Reporter: Bryan Rosander
> Assignee: Bryan Rosander
> Attachments: c2-integration-test.png
>
>
> MINIFI-238 introduced a C2 server that MiNiFi agents can poll for new
> configuration files. In order for this to be useful on a larger scale, we'll
> need a way to structure the servers such that they are reachable by the edge
> nodes while still having a central place from which to distribute changed
> configuration.
> To that end, a delegating configuration provider should allow for arbitrary
> hierarchical structures of C2 servers.
> A docker-compose integration test that simulates several different possible
> network and delegation configurations will help to prove out the concept.
> Attached is an image of the integration test topology. There is a central
> cluster network where the authoritative C2 server resides. There is a node
> able to connect directly to it in the edge1 network. There is a delegating
> C2 server that bridges the cluster and edge2 networks. The edge2 server
> listens for http requests and delegates over https. There is a node on the
> edge3 network that requests directory from the authoritative C2 server
> through a squid proxy.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)