Skip to content

Commit 1c5d763

Browse files
authored
Merge pull request #701 from oracle/release_2023-08-15
Releasing version 3.31.0
2 parents ffc8a2b + dcfbcc3 commit 1c5d763

File tree

19 files changed

+6653
-5646
lines changed

19 files changed

+6653
-5646
lines changed

CHANGELOG.rst

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,36 @@ All notable changes to this project will be documented in this file.
66

77
The format is based on `Keep a Changelog <http://keepachangelog.com/>`__.
88

9+
3.31.0 - 2023-08-15
10+
--------------------
11+
Added
12+
~~~~~
13+
* Support for new data sync commands in the Rover service
14+
15+
* ``oci rover device data-sync``
16+
17+
* Support for new parameters including Single Sign-On support in the Golden Gate service
18+
19+
* ``oci goldengate deployment create --credential-store --identity-domain-id --password-secret-id``
20+
* ``oci goldengate deployment create --credential-store --identity-domain-id --password-secret-id``
21+
22+
* Support for the placement constraint and cluster configuration feature for the Cluster networks in the Compute Management service
23+
24+
* ``oci compute-management cluster-network create --cluster-configuration``
25+
26+
Changed
27+
~~~~~~~
28+
* Required parameters is now optional for below diagnostics bundle commands in the Rover service
29+
30+
* ``oci rover device diagnostics bundle create --display-name``
31+
* ``oci rover device diagnostics bundle get --encryption-key-file``
32+
33+
* [BREAKING] Renamed commands for below external-db-system-connector commands in the Database Management service
34+
35+
* ``oci database-management external-db-system-connector check-connection-status``
36+
* ``oci database-management external-db-system-connector create-macs-connector``
37+
* ``oci database-management external-db-system-connector update-macs-connector``
38+
939
3.30.2 - 2023-08-08
1040
--------------------
1141
Added

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ Jinja2==3.0.3
1414
jmespath==0.10.0
1515
ndg-httpsclient==0.4.2
1616
mock==2.0.0
17-
oci==2.110.0
17+
oci==2.110.1
1818
packaging==20.2
1919
pluggy==0.13.0
20-
py==1.10.0
20+
py==1.11.0
2121
pyasn1==0.2.3
2222
pyOpenSSL>=17.5.0,<24.0.0
2323
pycparser==2.20

scripts/examples/project_o/README.md

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -36,32 +36,35 @@ robotics VM.Standard.E2.1 1.0 RUNNING
3636
<a name="install"></a>
3737
## Installation
3838

39-
**Important:** `oci` must *installed* and *configured*. `o` does not replace `oci`, but helps you *use* `oci`.
39+
**Important:** `oci` must *installed* and *configured* in order to use `o`. `o` does not replace `oci`, but helps you *use* `oci`.
4040

41-
#### Linux or Mac
42-
To install, get **``o``** from github, place it in your PATH (perhaps in the same place as ``oci``), and make it executable. Use these commands to download ``o`` and install it next to ``oci``.
41+
### Linux, CloudShell, Mac
42+
To install, get **`o`** from github, make it executable, and place it in your PATH (perhaps in the same place as ``oci``).<br>
43+
Paste these commands into your bash shell to download `o` and install it in your `~/bin` or next to `oci`.
4344
```
44-
o_src=https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/examples/project_o/o
45-
where=$(which oci) && to=${where%ci} && curl -so $to $o_src && chmod +x $to
45+
src=https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/examples/project_o && curl -so o $src/o && chmod +x o && curl -so $HOME/.oci/oci_commands $src/oci_commands
46+
[ -d $HOME/bin ] && ( mv o $HOME/bin && printf "\no installed in $HOME/bin/o\n" ) || ( where=$(which oci) && to=${where%ci} && [ -w $to ] && ( mv o $to && printf "\no installed in $to\n" ) || printf "\n$to: not writable\nTry:\n sudo mv o $to\nor\n mkdir $HOME/bin && mv o $HOME/bin\n" )
4647
```
4748

48-
#### CloudShell
49-
The Linux install above will work, but it installs `o` in a place that is overwritten when CloudShell is updated. This will install `o` into your $HOME, which is preserved during CloudShell updates:
49+
#### CloudShell Note
50+
If you do not have a `$HOME/bin`, `o` will be installed in a location that is overwritten when CloudShell is updated. If this happens, it's easy to reinstall.<br>
51+
Or you can install `o` into your ``$HOME/bin``, which is preserved during CloudShell updates. First:
5052
```
5153
mkdir -p $HOME/bin $HOME/.oci
52-
o_src=https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/examples/project_o/o
53-
to=$HOME/bin/o && curl -so $to $o_src && chmod +x $to
5454
echo 'PATH=$HOME/bin:$PATH' >> $HOME/.bashrc
5555
```
56+
Then run (or re-run) the Linux installation commands.
5657

57-
#### Windows
58-
**`o`** version 1.6 and later runs in Windows PowerShell or Command shell, but installation not automated. To try it, use this curl command to get **`o`**. Then copy it to somewhere in your PATH.
58+
### Windows
59+
**`o`** version 1.6 was tested and runs in Windows PowerShell or Command shell, but installation not automated. **`o`** is not tested on Windows with each release, so please report an issue if it stops working.
60+
61+
Use this curl command to get **`o`**. Then copy it to somewhere in your PATH.
5962
```
60-
curl -o o.py https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/examples/project_o/o
63+
curl -so o.py https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/examples/project_o/o
6164
```
6265
Update your PATHEXT to make it execute as `o` instead of `o.py`.
6366

64-
#### Setup
67+
### Setup
6568

6669
When you first run `o` it will tell you run `o oci_commands` to create the commands file *$HOME/.oci/oci_commands*. This collects a list of all possible `oci` commands with usage details. This should take about two minutes. If it doesn't work (in Windows) or runs slowly (python 3.6), copy `oci_commands` from another source to *$HOME/.oci/oci_commands*.
6770

@@ -183,6 +186,18 @@ This will get a fresh list of all compartments in the tenancy, which is a great
183186
- Use `c` or `l` for "compartment" or "lifeCycleState", followed by `=` or `!=` and the name of a compartment or lifeCycleState. Don't worry about quotation marks around terms. E.g.
184187
- `query all resources where (c = sales || c = kevco) && l != terminated`
185188

189+
#### New in version 1.10 (2023-08-08)
190+
- Improved selection of availability domain for users with multiple regions and tenancies. `-ad 1` will choose the right AD for the active tenancy and region.
191+
- `o` can work with identity-domains.<br>
192+
First, `o iam domain list` to list your identity-domains.<br>
193+
Then
194+
- Get a list of users: `o id list users -end <domain-name>.`
195+
- Get a list of groups: `o id list groups -end <domain-name>.`
196+
- Get a list of users with group memberships of each user:<br>
197+
`o -o display/user-name/groups.display id user list --attributes displayName,name,groups -end <domain-name>.`
198+
- Get a list of groups with user members for each group:<br>
199+
`o -o display-name/member.name id list groups --attributes name,members -end <domain-name>.`
200+
186201
## How **``o``** works
187202
- **``o``** compares your input with thousands of ``oci`` commands, and uses an fuzzy matching to find the command you want.
188203

0 commit comments

Comments
 (0)