Uploaded image for project: 'NiFi Registry - MOVED TO NIFI PROJECT'
  1. NiFi Registry - MOVED TO NIFI PROJECT
  2. NIFIREG-351

TestRestAPI.java fails to seed local registry with data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.7.0
    • 0.5.0
    • None
    • None

    Description

      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.

       

      Attachments

        Issue Links

          Activity

            People

              rfellows Rob Fellows
              rfellows Rob Fellows
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m