loopbackio / loopback-next

LoopBack makes it easy to build modern API applications that require complex integrations.
https://loopback.io
Other
4.95k stars 1.07k forks source link

Informix Connector not available #4368

Open xzessmedia opened 4 years ago

xzessmedia commented 4 years ago

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

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:

dhmlau commented 4 years ago

@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

bajtos commented 4 years ago

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.

bajtos commented 4 years ago

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

dhmlau commented 4 years ago

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

xzessmedia commented 4 years ago

@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

bajtos commented 4 years ago

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