Loopback-next: Informix Connector not available

Created on 29 Oct 2019  路  6Comments  路  Source: strongloop/loopback-next

Referring to https://github.com/strongloop/loopback-connector-informix/issues/56

The Informix Connector is not part of the tooling.
It should be available by default so informix users can take the advantage of using loopback with their systems

Acceptance Criteria

  • [ ] when running lb4 datasource, the informix connectors show up as one of the available connectors.
  • [ ] update Connectors reference and any related files

Related to: strongloop/loopback-next#3714


馃巻 Hacktoberfest 2020

Greetings :wave: to all Hacktoberfest 2020 participants!

Here are few tips 馃憖 to make your start easier, see also #6456:

  • Before you start working on this issue, please leave a comment to let others know.
  • This issue consists of several tasks to work on, it may feel like a too big effort to undertake. Don't worry! It's perfectly fine to pick just one item from the list and leave the rest for somebody else. In fact, we prefer to have a dedicated pull request for each part, to make it easier for us to review the changes and get the pull request landed faster. Baby steps FTW! Remember, every little helps.
  • If you are new to GitHub pull requests, then you can learn about the process in Submitting a pull request to LoopBack 4.
  • If this is your first contribution to LoopBack, then please take a look at our Developer guide
  • Feel free to ask for help in #loopback-contributors channel, you can join our Slack workspace here.
CLI Hacktoberfest feature good first issue

Most helpful comment

@bajtos @raymondfeng , since we'll be adding other connectors in the available-connectors.json, does it make sense to include this connector too?

Related to: https://github.com/strongloop/loopback-next/issues/3714

All 6 comments

@bajtos @raymondfeng , since we'll be adding other connectors in the available-connectors.json, does it make sense to include this connector too?

Related to: https://github.com/strongloop/loopback-next/issues/3714

In https://github.com/strongloop/loopback-next/pull/4203, we decoupled lb4 CLI from loopback-workspace, we are keeping the list of LB4 connectors in side loopback-next monorepo now. I am going to move this issue to loopback-next repository.

@xzessmedia would you like to contribute this change yourself? See Submitting a pull request to LoopBack 4 to get started.

Thanks @bajtos. It's good to know that we have a separate json for the connectors for LB4. https://github.com/strongloop/loopback-next/blob/master/packages/cli/lib/connectors.json

@bajtos
I added the connector to the connectors.json which seem to work but there are some parameters missing to work correctly.

how do we set:
server or servername which is ifxeglon_tcp in our case.
protocol=olsoctcp;

So please can you at least provide all necessary parameters we need to specifiy to successfully connect loopback with our informix database?

IBM Informix Dynamic Server Version 11.50.FC9GE

Thank you for your help and all thumbs up to Loopback 4

how do we set:
server or servername which is ifxeglon_tcp in our case.
protocol=olsoctcp;

I am afraid I know nothing about the Informix connector. The discussion about this issue is about adding Informix connector to the list of connectors recognized by lb4 datasource.

Please ask in https://github.com/strongloop/loopback-connector-informix about those additional settings (e.g. open a new issue).

It's possible these options are not supported by the connector yet. Here is the code initializing connection options in case it helps you to better understand what is and what is not supported:

https://github.com/strongloop/loopback-connector-informix/blob/84fbf8f82c3724e80557baf04c9c9cb838d50d9a/lib/informix.js#L45-L93

Was this page helpful?
0 / 5 - 0 ratings