Skip to content

Proposal: DB2 Nodes #4

Open
Open

Description

@knolleary

The existing node-red-nodes-cf-sqldb-dashdb set of nodes can be used for db2, but the dash part of the name is deprecated branding. It is maintained by @smchamberlin, who has proposed to republish the module but updated to db2 branding.

We're going to take this opportunity to add the newly branded module to this org.

Here's the current proposal:

  1. clone node-red-nodes-cf-sqldb-dashdb to this org
  2. rename it to node-red-contrib-ibm-db2
  3. rename the individual node types to something db2 related - need to avoid clashing with any of the existing db2 related nodes
  4. publish to npm
  5. update the existing node-red-nodes-cf-sqldb-dashdb module to include a deprecation notice and point to the new modules name and guidance on swapping over node types.
  6. Update the starter kit to pull in the new node instead of the old one.

Activity

  1. smchamberlin commented on Oct 6, 2020

    @smchamberlin

    Hi @knolleary ,

    Proposal sounds good to me.

    1. For clone node-red-nodes-cf-sqldb-dashdb to this org - I don't believe I have the appropriate access to do this, can you please confirm?

    2. I have already renamed my node-red-nodes-cf-sqldb-dashdb git to node-red-contrib-ibm-db2, it can be found here: https://github.com/smchamberlin/node-red-contrib-ibm-db2

    3. I have done this as well - new node types are "Db2". I confirmed that this is not used yet.

    Other Db2-related node-RED npm’s :

    Node-red-contrib-db2
    https://github.com/mfou/node-red-contrib-db2
    registerTypes: IbmDBdatabase, ibmdb

    Node-red-contrib-db2-fixed
    ihttps://github.com/TimonLukas/node-red-contrib-db2-fixed
    registerTypes: IbmDBdatabase, ibmdb

    Node-red-contrib-db2-for-i
    https://github.com/IBM/node-red-contrib-db2-for-i
    registerTypes: DB2 for i, DB2 for i Config

    Node-red-contrib-deebeetwoforzed
    https://github.ibm.com/soheel-chughtai/node-red-contrib-zeddeebeetwo
    registerTypes: zdb2, zdb2config

    1. Tried to do this today but got a spam detection error - I have cc'd you on my email to NPM support.
      npm ERR! publish Failed PUT 403
      npm ERR! code E403
      npm ERR! Package name triggered spam detection; if you believe this is in error, please contact support@npmjs.com : node-red-contrib-ibm-db2

    2. I added the deprecation notice to node-red-nodes-cf-sqldb-dashdb today: https://www.npmjs.com/package/node-red-nodes-cf-sqldb-dashdb

    3. I think you need to pull the lever on this one when ready.

    Thanks!

  2. smchamberlin commented on Oct 6, 2020

    @smchamberlin

    In the meanwhile while we figure out the spam issue I have undeprecated node-red-nodes-cf-sqldb-dashdb.

  3. chughts commented on Oct 6, 2020

    @chughts
  4. knolleary commented on Oct 6, 2020

    @knolleary
    MemberAuthor

    @smchamberlin we maybe should have put the deprecation notice on the dashdb nodes after we had the new module published... but no matter.

    I'm happy for you to go ahead with the clone and rename into this org.

    Once cloned, I'd suggest updating the readme of the original repo to include a link to its new home here.

    @chughts how feasible is it to roll in the Z support into this module? Or does it need to remain a separate module?

  5. chughts commented on Oct 6, 2020

    @chughts

    @knolleary It should be, but the difficulty is acquiring DB2 on Z for test. I wrote it because I couldn't get the dashdb nodes to work with Z. If the DB2 nodes work against Z then my nodes become redundant.

  6. smchamberlin commented on Oct 6, 2020

    @smchamberlin

    Hi @knolleary ,

    Repo has been forked into this org:

    https://github.com/node-red-contrib-ibm-cloud/node-red-contrib-ibm-db2

    and I have added a link to the original repo to here:

    https://github.com/smchamberlin/node-red-contrib-ibm-db2/blob/master/README.md

    I have tested the new npm on my local with npm install and it seems to work fine. But I don’t see it show up yet in the Node-RED palette when I search for “db2” - does that take some time ?

    New NPM:
    https://www.npmjs.com/package/node-red-contrib-ibm-db2

    Old NPM is deprecated:
    https://www.npmjs.com/package/node-red-nodes-cf-sqldb-dashdb

    Are we ready to update the starter kit? Thanks.

  7. knolleary commented on Oct 6, 2020

    @knolleary
    MemberAuthor

    @smchamberlin you'll need to submit it to the flow library yourself https://flows.nodered.org/add/node

    Will submit a pr to the starter kit tomorrow.

  8. smchamberlin commented on Oct 6, 2020

    @smchamberlin

    Great, one question, currently I'm the only one who can write or administer the NPM module. I think I can add others as well. Should I add anyone else?

  9. knolleary commented on Oct 7, 2020

    @knolleary
    MemberAuthor

    @smchamberlin please add me and @dceejay as a minimum - that should ensure someone is available to publish an update if the need arises.

  10. knolleary commented on Oct 7, 2020

    @knolleary
    MemberAuthor

    PR raised on the starter kit - IBM/node-red-app#26

  11. smchamberlin commented on Oct 22, 2020

    @smchamberlin

    @smchamberlin please add me and @dceejay as a minimum - that should ensure someone is available to publish an update if the need arises.

    @knolleary Will do - but can I please have your NPM id's ? Thanks

  12. knolleary commented on Oct 22, 2020

    @knolleary
    MemberAuthor

    @smchamberlin knolleary and dceejay

    Tip: you can run npm owner ls <name-of-module> to see the owners of a module and get their usernames.

  13. smchamberlin commented on Oct 22, 2020

    @smchamberlin

    Thank you, knolleary and dceejay have been added as maintainers with write access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions