oracle / oracle/oci-cli

inconsistent attribute names for the same object between oci cli <resource> commands and oci search resource structured-search

Open
#614 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Networking
Dominant language
Python
Stars
669
Forks
236
Avg merge
1m
Merged PRs (30d)
4

Description

When running regular oci list/get commands and "oci search resource structured-search command against the same object, some of the attribute names are not consistent.
using route table resource as example(many other resources have the same issue).
oci network route-table list -c command shows the route table with "display-name" and "id" as attributes.

however, when using the oci search resource structured-search --query-text "query routetable resource...." command, the equivalent attributes are "displayName" and "identifier"

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the output of oci network route-table list and oci search resource structured-search for the same route table, then check whether other resources show the same naming difference. Trace the CLI entry points for these commands and identify the shared output or serialization behavior; done means the equivalent attributes use consistent names across both command families.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.