Ohara: Displaying the definitions of connectors on the Inspect APIs

Created on 11 Nov 2019  路  8Comments  路  Source: oharastream/ohara

When using the current inspect API to obtain a jar file, the returned response doesn't include its __version__, info(See the response body below). But in the new UI, we're displaying this info when creating a new workspace (in upload new jar step). I know it's probably due to that the worker hasn't started yet. But just want to know if it's possible that we can obtain this info while creating a new workspace :)

API: __GET__ v0/inspect/${kind}/${name}?group=${group}

{
   "classes":[
      {
         "classType":"sink connector",
         "className":"com.island.ohara.it.connector.DumbSinkConnector",
         "settingDefinitions":[

         ]
      }
   ]
}
v0.9.0

Most helpful comment

@wu87988622 @konekoya It is possible that we "fail" to seek the definitions from a jar. Is it ok to handle nothing?

ok, thanks you .

All 8 comments

/cc @chia7712 @wu87988622

@konekoya Is there a page using connector definitions before setting up a worker cluster?

@konekoya Is there a page using connector definitions before setting up a worker cluster?

cc @wu87988622 :)

@konekoya Is there a page using connector definitions before setting up a worker cluster?

yes, two page

  1. create workspace quick
  2. create workspace expert

we need show connector version.

we need show connector version.

got it. We need a way to show the definitions of connectors even if there is no running worker ...

@wu87988622 @konekoya It is possible that we "fail" to seek the definitions from a jar. Is it ok to handle nothing?

@wu87988622 @konekoya It is possible that we "fail" to seek the definitions from a jar. Is it ok to handle nothing?

ok, thanks you .

@wu87988622 @konekoya It is possible that we "fail" to seek the definitions from a jar. Is it ok to handle nothing?

+1 :)

Was this page helpful?
0 / 5 - 0 ratings