@my-ideas/oci-node

A NodeJS wrapper for the Oracle Cloud Infrastructure API

Package was moved to @hakuna.cloud/oci-api-typescript
Last updated a year ago by claudiodangelis .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @my-ideas/oci-node 
SYNC missed versions from official npm registry.

Implemented methods:

CORE

  • GetInstance
  • ListInstances
  • InstanceAction
  • ListVnicAttachments
  • GetVnic

IAM

  • ListCompartments

Test

To test the API, create a test/data/testData.json file populated with the following content:

{
    "client": {
        "userID": "ocid1.user.oc1..xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "fingerprint": "66:7yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
        "tenantID": "ocid1.tenaxxxxxzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz",
        "zone": "eu-frankfurt-1",
        "key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEA6bszZa1Hx7w5wvNSdFRh0un6l0+I8/5LZiEH0yrZ8JEDvpeD\n213slz...........xxxxxx"
    },
    "testInstance": {
        "compartmentId": "ocid1.compartment.oc1..qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",
        "instanceId": "ocid1.instance.oc1.eu-frankfurt-1.wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww",
        "vnicId": "ocid1.vnic.oc1.eu-frankfurt-1.eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee"
    }
}

Note that tests for POST APIs are skipped by default.

Current Tags

  • 0.4.3                                ...           latest (a year ago)

9 Versions

  • 0.4.3 [deprecated]           ...           a year ago
  • 0.4.2 [deprecated]           ...           a year ago
  • 0.4.1 [deprecated]           ...           a year ago
  • 0.4.0 [deprecated]           ...           a year ago
  • 0.2.2 [deprecated]           ...           a year ago
  • 0.2.1 [deprecated]           ...           a year ago
  • 0.2.0 [deprecated]           ...           a year ago
  • 0.1.1 [deprecated]           ...           a year ago
  • 0.1.0 [deprecated]           ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (7)
Dev Dependencies (11)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |