You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
clone node-red-nodes-cf-sqldb-dashdb to this org
rename it to node-red-contrib-ibm-db2
rename the individual node types to something db2 related - need to avoid clashing with any of the existing db2 related nodes
publish to npm
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.
Update the starter kit to pull in the new node instead of the old one.
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
@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.
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 ?
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?
Activity
smchamberlin commentedon Oct 6, 2020
Hi @knolleary ,
Proposal sounds good to me.
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?
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
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
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
I added the deprecation notice to node-red-nodes-cf-sqldb-dashdb today: https://www.npmjs.com/package/node-red-nodes-cf-sqldb-dashdb
I think you need to pull the lever on this one when ready.
Thanks!
smchamberlin commentedon Oct 6, 2020
In the meanwhile while we figure out the spam issue I have undeprecated node-red-nodes-cf-sqldb-dashdb.
chughts commentedon Oct 6, 2020
The home repo for the DB2 for Z nodes is https://github.com/ibm-early-programs/node-red-contrib-deebeetwoforzed
knolleary commentedon Oct 6, 2020
@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?
chughts commentedon Oct 6, 2020
@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.
smchamberlin commentedon Oct 6, 2020
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.
knolleary commentedon Oct 6, 2020
@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.
smchamberlin commentedon Oct 6, 2020
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?
knolleary commentedon Oct 7, 2020
@smchamberlin please add me and @dceejay as a minimum - that should ensure someone is available to publish an update if the need arises.
knolleary commentedon Oct 7, 2020
PR raised on the starter kit - IBM/node-red-app#26
smchamberlin commentedon Oct 22, 2020
@knolleary Will do - but can I please have your NPM id's ? Thanks
knolleary commentedon Oct 22, 2020
@smchamberlin
knollearyanddceejayTip: you can run
npm owner ls <name-of-module>to see the owners of a module and get their usernames.smchamberlin commentedon Oct 22, 2020
Thank you, knolleary and dceejay have been added as maintainers with write access.