Implemented methods:
CORE
- GetInstance
- ListInstances
- InstanceAction
- ListVnicAttachments
- GetVnic
IAM
- ListCompartments
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.