Skip to content

Commit 48784cc

Browse files
WMS ID 11495 - Add changes to gdk-oci-object-storage workshop (oracle-livelabs#407)
* Add updates to object-storage workshop * Minor update --------- Co-authored-by: Sachin Pikle <[email protected]>
1 parent 0da09aa commit 48784cc

File tree

6 files changed

+24
-10
lines changed

6 files changed

+24
-10
lines changed

gdk-oci-object-storage/00-introduction/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Estimated Workshop Time: 1 hour
1010

1111
### What is Graal Development Kit for Micronaut?
1212

13-
The [Graal Development Kit for Micronaut (GDK)](https://graal.cloud/gdk) is an Oracle build of the open source Micronaut® framework. The GDK provides a curated set of Micronaut framework modules that simplify cloud application development, are designed for ahead-of-time compilation with GraalVM Native Image, and are fully supported by Oracle. The GDK also provides project creation utilities, VS Code and IntelliJ extensions for application development and deployment.
13+
The [Graal Development Kit for Micronaut (GDK)](https://graal.cloud/gdk) is an Oracle build of the open source Micronaut® framework. The GDK provides a curated set of Micronaut framework modules that simplify cloud application development, are designed for ahead-of-time compilation with GraalVM Native Image, and are fully supported by Oracle. The GDK also provides project creation utilities, VS Code and IntelliJ extensions to simplify application development and deployment.
1414

1515
### What is Micronaut?
1616

gdk-oci-object-storage/02-git-clone/git-clone.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,35 @@ In this lab, you will:
1616

1717
1. From the **Activities** menu, start a new **Terminal** window.
1818

19-
2. Clone the sample application source code into the _lab_ directory.
19+
2. Clone the sample application source code.
2020

21-
```bash
21+
``` bash
2222
<copy>
23-
git clone https://github.com/sachin-pikle/gdk-oci-object-store-mvn.git lab
23+
git init lab
24+
cd lab
25+
git remote add origin https://github.com/sachin-pikle/gdk-oci-samples.git
26+
git config core.sparsecheckout true
27+
echo "gdk-oci-object-store-mvn/*">>.git/info/sparse-checkout
28+
git pull --depth=1 origin main
2429
</copy>
2530
```
2631

27-
3. Open the sample application source code from the _lab_ directory in **Visual Studio Code**.
32+
3. Open the sample application source code from the _gdk-oci-object-store-mvn_ directory in **Visual Studio Code**.
2833

29-
```bash
34+
``` bash
3035
<copy>
31-
code lab
36+
code gdk-oci-object-store-mvn
3237
</copy>
3338
```
3439

3540
4. VS Code may show a dialog box with the message "Do you trust the authors of the files in this folder?". Select **Trust the authors of all files in the parent folder 'oracle'** and click **Yes, I trust the authors**.
3641

3742
5. VS Code may ask you to choose a password for new keyring. Press **Cancel** twice to close the prompt.
3843

44+
6. VS Code may show a dialog box with the message "A git repository was found in the parent folders of the workspace or the open file(s). Would you like to open the repository?". Click **Never**.
45+
46+
![VS Code Question Icon](images/vs-code-question-icon.jpg#input)
47+
3948
You may now **proceed to the next lab**.
4049

4150
## Acknowledgements
29.4 KB
Loading

gdk-oci-object-storage/03-review-code/review-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Introduction
44

5-
This lab reviews the sample Micronaut application code used in the workshop. The application source code and build scripts are available in the _lab_ directory in VS Code.
5+
This lab reviews the sample Micronaut application code used in the workshop. The application source code and build scripts are available for review in VS Code.
66

77
The application is a simple "RESTful" microservice that can upload, download, and delete users' profile pictures.
88

gdk-oci-object-storage/05-configure-app/configure-app.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ In this lab, you will:
3232

3333
3. From the Oracle Cloud Console navigation menu, go to **Identity & Security >> Identity >> Policies**.
3434

35+
![Policies Menu](https://oracle-livelabs.github.io/common/images/console/id-policies.png)
36+
3537
4. Go to your workshop compartment.
3638

3739
5. Click **Create Policy**.
@@ -49,6 +51,9 @@ In this lab, you will:
4951
Allow any-user to manage object-family in compartment WORKSHOP_COMPARTMENT_NAME where ALL {request.principal.type='instance', request.principal.compartment.id='WORKSHOP_COMPARTMENT_OCID'}
5052
</copy>
5153
```
54+
55+
To learn more about policies to control access to OCI Object Storage, see [Policy Reference - Details for Object Storage](https://docs.oracle.com/en-us/iaas/Content/Identity/Reference/objectstoragepolicyreference.htm).
56+
5257
</if>
5358

5459
To learn more about about the supported authentication options, see [Micronaut Oracle Cloud Authentication](https://micronaut-projects.github.io/micronaut-oracle-cloud/snapshot/guide/#authentication).
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"author": "Graal Product Management",
3-
"contributors": "Sachin Pikle, Ewan Slater, Kris Foster, Bernard Horan, Shaun Smith",
4-
"last_updated": "Sachin Pikle, July 2024"
3+
"contributors": "Lesia Chaban, Sachin Pikle, Ewan Slater, Kris Foster, Bernard Horan, Shaun Smith",
4+
"last_updated": "Lesia Chaban, August 2024"
55
}

0 commit comments

Comments
 (0)