【问题标题】:Can the node-oracledb add-on be used in an Oracle Mobile Hub Custom API?能否在 Oracle Mobile Hub 自定义 API 中使用 node-oracledb 插件?
【发布时间】:2019-06-11 00:33:59
【问题描述】:

从 Oracle Mobile Hub node.js 自定义 API 中,我需要连接到 Oracle 数据库系统实例(基本身份验证:用户名、密码、公共 IP 地址、端口、sid)。是否可以在自定义 API 中使用 node-oracledb 插件?这是连接到远程 Oracle 数据库的最佳方式还是 Mobile Hub 有更好的机制?

【问题讨论】:

标签: node.js oracle oracle-cloud-infrastructure node-oracledb


【解决方案1】:

如果我的问题正确,您是在询问是否可以在移动集线器中托管一个自定义组件来访问外部 Oracle 数据库,如果是这样,他可能想探索您应该集成的 OIC ATP 适配器(https://blogs.oracle.com/integration/oic-integration-with-oracleatp)到您的自定义 API 作为外部服务。无法将 DB 连接钱包存储在 Mobile hub 中,最简单的解决方法是将组件托管在外部节点容器上。

正如 Dan 提到的,您可能有兴趣在此处查看操作方法:https://smatclouds.wordpress.com/2019/05/27/connect-oracle-digital-assistant-to-oracle-atp-database/

【讨论】:

  • 我没有使用 Wallet 进行我的 Oracle 数据库连接,我使用的是基本身份验证。
猜你喜欢
  • 2021-10-11
  • 1970-01-01
  • 2018-10-25
  • 2021-09-18
  • 1970-01-01
  • 2019-10-14
  • 1970-01-01
  • 1970-01-01
  • 2021-06-01
相关资源
最近更新 更多