Skip to content

Commit d0dd15b

Browse files
authored
Merge pull request #76 from oracle-devrel/update-oci-queue-repo-mrinne
Update oci queue repo mrinne
2 parents 7bd430b + bf9fb67 commit d0dd15b

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

application-development/cloud-native/oci-queue/README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,22 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3636
SOFTWARE.
3737
-->
3838

39+
## OCI queue overview
40+
[Document queue-overview](files/queue_overview.pdf)
41+
3942
## OCI Queue example in NodeJS with GitHub Actions
4043

4144
### OCI Queue
4245

4346
Create Queue and copy the Queue OCID and Enpoint:
4447

4548
<p>
46-
<img src="endpoint.png" width="800" />
49+
<img src="files/endpoint.png" width="800" />
4750

4851
<p>
4952
When using another <code>region</code> than <code>EU_FRANKFURT_1</code> please modify the
50-
<a href="https://github.com/mikarinneoracle/oci-queue-node/blob/main/index.js#L10">
51-
<code>index.js</code></a> Line #10 accordingly:
53+
<a href="index.js#L48">
54+
<code>index.js</code></a> Line #48 accordingly:
5255

5356
<pre>
5457
const region = common.Region.EU_FRANKFURT_1;
@@ -81,18 +84,18 @@ Setup secrets to run this example with GitHub Actions:
8184
Monitor the GitHub action to run:
8285

8386
<p>
84-
<img src="action.png" width="800" />
87+
<img src="files/action.png" width="800" />
8588

8689
<p>
8790
This example will poll for messages in the queue and finally writes a new message to it.
8891

8992
### View messages in the Queue
9093

91-
<img src="messages.png" width="800" />
94+
<img src="files/messages.png" width="800" />
9295

9396
### Running locally
9497

95-
Clone this repo, setup npm and <code>oci cli</code> and modify <a href="https://github.com/mikarinneoracle/oci-queue-node/blob/main/index.js#L8">index.js</a> line 8 by uncommenting it and removing/commenting lines 10-18 and replace lines 21-22
98+
Clone this repo, setup npm and <code>oci cli</code> and modify <a href="index.js#L46">index.js</a> line 46 by uncommenting it and removing/commenting lines 49-56 and replace lines 59-60
9699
with Queue details :
97100

98101
<pre>
@@ -119,4 +122,4 @@ You can manually send messages to the queue using the OCI Queue Console
119122
<p>
120123
You can also play with the queue's <code>Dead Letter Queue</code> settings to see how many
121124
times the same message is being received (default is 5). To do this comment the
122-
<a href="index.js#L61">line 61 of the index.js</a> and re-run the build using commit.
125+
<a href="index.js#L99">line 99 of the index.js</a> and re-run the build using commit.
Binary file not shown.

0 commit comments

Comments
 (0)