You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "pvillard31 (via GitHub)" <gi...@apache.org> on 2023/07/24 15:27:17 UTC
[GitHub] [nifi] pvillard31 opened a new pull request, #7520: NIFI-11850 - CLI - add keep existing parameter context flag
pvillard31 opened a new pull request, #7520:
URL: https://github.com/apache/nifi/pull/7520
# Summary
[NIFI-11850](https://issues.apache.org/jira/browse/NIFI-11850) - CLI - add keep existing parameter context flag
# Tracking
Please complete the following tracking steps prior to pull request creation.
### Issue Tracking
- [ ] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue created
### Pull Request Tracking
- [ ] Pull Request title starts with Apache NiFi Jira issue number, such as `NIFI-00000`
- [ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such `NIFI-00000`
### Pull Request Formatting
- [ ] Pull Request based on current revision of the `main` branch
- [ ] Pull Request refers to a feature branch with one commit containing changes
# Verification
Please indicate the verification steps performed prior to pull request creation.
### Build
- [ ] Build completed using `mvn clean install -P contrib-check`
- [ ] JDK 17
### Licensing
- [ ] New dependencies are compatible with the [Apache License 2.0](https://apache.org/licenses/LICENSE-2.0) according to the [License Policy](https://www.apache.org/legal/resolved.html)
- [ ] New dependencies are documented in applicable `LICENSE` and `NOTICE` files
### Documentation
- [ ] Documentation formatting appears as expected in rendered files
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nifi] exceptionfactory closed pull request #7520: NIFI-11850 - CLI - add keep existing parameter context flag
Posted by "exceptionfactory (via GitHub)" <gi...@apache.org>.
exceptionfactory closed pull request #7520: NIFI-11850 - CLI - add keep existing parameter context flag
URL: https://github.com/apache/nifi/pull/7520
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nifi] pvillard31 commented on pull request #7520: NIFI-11850 - CLI - add keep existing parameter context flag
Posted by "pvillard31 (via GitHub)" <gi...@apache.org>.
pvillard31 commented on PR #7520:
URL: https://github.com/apache/nifi/pull/7520#issuecomment-1648154971
````
% ./cli.sh nifi pg-import -u http://127.0.0.1:8080/nifi-api --bucketIdentifier 74696945-f9c5-459e-8876-b5f6e5558ddd --flowIdentifier a3490366-66bd-4906-8245-4b040ce30e2d --flowVersion 1 -kepc
ERROR: Missing argument for option: kepc
````
````
% ./cli.sh nifi pg-import -u http://127.0.0.1:8080/nifi-api --bucketIdentifier 74696945-f9c5-459e-8876-b5f6e5558ddd --flowIdentifier a3490366-66bd-4906-8245-4b040ce30e2d --flowVersion 1 -kepc e
ERROR: Error executing command 'pg-import' : Keep Existing Parameter Context must be either true or false
% ./cli.sh nifi pg-import -u http://127.0.0.1:8080/nifi-api --bucketIdentifier 74696945-f9c5-459e-8876-b5f6e5558ddd --flowIdentifier a3490366-66bd-4906-8245-4b040ce30e2d --flowVersion 1 -kepc TRUE
ERROR: Error executing command 'pg-import' : Keep Existing Parameter Context must be either true or false
````
````
% ./cli.sh nifi pg-import -u http://127.0.0.1:8080/nifi-api --bucketIdentifier 74696945-f9c5-459e-8876-b5f6e5558ddd --flowIdentifier a3490366-66bd-4906-8245-4b040ce30e2d --flowVersion 2 -kepc true
887ad5c5-0189-1000-eb76-078a25eaa01d
% ./cli.sh nifi pg-import -u http://127.0.0.1:8080/nifi-api --bucketIdentifier 74696945-f9c5-459e-8876-b5f6e5558ddd --flowIdentifier a3490366-66bd-4906-8245-4b040ce30e2d --flowVersion 2 -kepc false
887c0514-0189-1000-cb82-5c702e5e94df
% ./cli.sh nifi pg-get-param-context -u http://127.0.0.1:8080/nifi-api --processGroupId 887c0514-0189-1000-cb82-5c702e5e94df
69496227-d744-3dfd-50c8-2dcd5d05c53c
% ./cli.sh nifi list-param-contexts -u http://127.0.0.1:8080/nifi-api
# Id Name Inherited Param Contexts Parameter Provider Description
-- ------------------------------------ --------------------------------- ------------------------ ------------------------------------ -----------
...
9 8879dfc8-0189-1000-5c5e-9d94b6a3f2c1 Test CLI
10 da7a012e-8239-3cdc-af4d-a35df7a482ea Test CLI (1) (empty)
11 69496227-d744-3dfd-50c8-2dcd5d05c53c Test CLI (2) (empty)
````
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org