Skip to Main Content

E-Business Suite

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Documaker Web Services - Job Priority

Dave SandersNov 18 2024

The doPublishFromImport spec includes a tag called <JobPriority> and I'd like to see if this will solve my particular issue.

Assume that I have a mainframe cycle that just finished, and it generates a batch of 5000 letters all calling doPublishFromImport to generate a document. At the same time, I have a user that is drafting an ad-hoc correspondence letter using the WipEdit plugin and it too is calling doPublishFromImport.

Assuming that there are 5000 batch letters queued up before the drafter's ad-hoc letter is sent to the queue, will the user's request get picked up and processed before the remaining 5000 letters if I set the user's <JobPriority> to 0 and the batch letters have a JobPriority set to 10? According to the documentation below, I would assume yes but would like to see if it can be confirmed.

Bonus points if someone can give a little background on how Documaker picks messages up off the queue to begin work generating a document (FIFO/LIFO/Job Priority, etc).

Thanks!

Dave

This post has been answered by steven.saunders-Oracle on Nov 25 2024
Jump to Answer

Comments

thatJeffSmith-Oracle Feb 13 2025

Your ENTRA users will get authenticated via JSON Web Tokens, and their Entra roles will determine which ORDS REST APIs they can hit.

When they hit an endpoint, it'll execute code in the database as the database user that owns the schema where the REST API is defined, not as Entra defiend end user. In fact, the Entra users won't have accounts in the database (they could, but wont' need to).

The :current_user field as far as ords is concerned would be the corresponding oauth2 client or JWT issued for the authorizied session.

Your prehook should be able to alter the session to set the context that would put your RLS/VPD security policy in play.

1 - 1

Post Details

Added on Nov 18 2024
3 comments
275 views