[
https://issues.apache.org/jira/browse/NIFI-6135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16798414#comment-16798414
]
Ed R commented on NIFI-6135:
----------------------------
Yes that looks like the same issue (reported 2.5 years ago apparently), and I
agree with your proposed solution. It's naive to think people would only want
referenced services, even aside from this indirect reference issue, because
someone might have a work-in-progress template with configured services they
plan to integrate but haven't yet (or will be integrated with imports of that
template on other deployments).
Creating a template from a process group should include everything in scope.
> DistributedMapCacheServer not included in templates
> ---------------------------------------------------
>
> Key: NIFI-6135
> URL: https://issues.apache.org/jira/browse/NIFI-6135
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.8.0
> Environment: Windows and Linux
> Reporter: Ed R
> Priority: Major
>
> When saving a template from a flow that includes DistributedMapCacheServer
> instances, those instances are not included in the template. (Or, at least,
> are not imported back when uploading the template.) The client instances are,
> but the server instances must be re-created from scratch every time.
>
> Steps to reproduce:
> Create a new process group
> Right-click Configure and add a DistributedMapCacheServer instance
> Create a template from the group
> Save the template to disk
> Delete the group and the template
> Import the template from disk
> Create a new group from that template
> Right-click Configure and see there is no longer a DistributedMapCacheServer
> instance
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)