[
https://issues.apache.org/jira/browse/NIFIREG-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Bende resolved NIFIREG-351.
---------------------------------
Resolution: Fixed
> TestRestAPI.java fails to seed local registry with data
> -------------------------------------------------------
>
> Key: NIFIREG-351
> URL: https://issues.apache.org/jira/browse/NIFIREG-351
> Project: NiFi Registry
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Rob Fellows
> Assignee: Rob Fellows
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {{When trying to seed a local developer registry with the test tool
> TestRestAPI.java, the following error occurs:}}
> {{16:53:51.701 [main] ERROR org.apache.nifi.registry.web.TestRestAPI - HTTP
> 400 Bad Request16:53:51.701 [main] ERROR
> org.apache.nifi.registry.web.TestRestAPI - HTTP 400 Bad
> Requestjavax.ws.rs.BadRequestException: HTTP 400 Bad Request at
> org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:1077)
> at
> org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:883)
> at
> org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$1(JerseyInvocation.java:767)
> at org.glassfish.jersey.internal.Errors.process(Errors.java:316) at
> org.glassfish.jersey.internal.Errors.process(Errors.java:298) at
> org.glassfish.jersey.internal.Errors.process(Errors.java:229) at
> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:414)
> at
> org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:765)
> at
> org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:456)
> at
> org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:357)
> at
> org.apache.nifi.registry.web.TestRestAPI.createBucket(TestRestAPI.java:98) at
> org.apache.nifi.registry.web.TestRestAPI.main(TestRestAPI.java:53)16:53:51.713
> [main] ERROR org.apache.nifi.registry.web.TestRestAPI - A revision of 0 must
> be specified when creating a new Bucket.}}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)