Hi, I found a bug in the BitbucketFlowRegistryClient. I have NiFi servers in different versions (2.7.2, 2.8.0 and 2.9.0).
In NiFi 2.7.2 everything works fine. We have own Data Center Bitbucket Servers (v.7.21.18 and 8.19.27), I added the necessary configuration, added an Process Group and started version control --> everything OK. I upgraded this NiFi to 2.9.0, when I change something in the already versioned process group, I can commit the changes without problems. But if I try to start version control with a not versioned process group I get the GUI dialog "Save Flow Version", Branch and Bucket are filled correctly, after pressing "Save" I get the error "Failed to remove flow from Flow Registry due to Could not parse response from Bitbucket API". In nifi-user.log I get the attached exception. In BitBucket the JSON file is created. Also in NiFi 2.8.0 it doesn't work. Can someone confirm the regression? Thanks, Martin ------------------------------------------------------------------------------ FIZ Karlsruhe - Leibniz-Institut für Informationsinfrastruktur GmbH. Sitz der Gesellschaft: Eggenstein-Leopoldshafen, Amtsgericht Mannheim HRB 101892. Geschäftsführer: Andreas Schwartz Vorsitzende des Aufsichtsrats: MinR’in Dr. Elise Grauer FIZ Karlsruhe ist zertifiziert mit dem Siegel "audit berufundfamilie".
nifi-exception-bitbucket.log
Description: nifi-exception-bitbucket.log
