oracle / oracle/oci-python-sdk
Please provide a simple method to obtain the instance metadata for the instance on which the SDK is being used
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 474
- Forks
- 321
- Avg merge
- 23m
- Merged PRs (30d)
- 4
Description
I know it's relatively simple to fetch http://169.254.169.254/opc/v1/instance/ and pass it through a json parser to get the metadata object. having this functionality in the SDK, where you're already doing these types of operations, removes a level of code duplication (and removes one more bit of tedious coding that everyone has to do).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the SDK's existing HTTP and JSON operations, then compare their interfaces with the instance metadata endpoint at http://169.254.169.254/opc/v1/instance/. Done means the SDK exposes a simple way to obtain the parsed instance metadata without callers duplicating the request and parsing steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cloud
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100