Skip to content

Commit 82f1721

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
fix(oracle-fusion): follow service-account-only catalog convention
1 parent 1967e77 commit 82f1721

6 files changed

Lines changed: 12 additions & 6 deletions

File tree

‎apps/docs/content/docs/integrations/oracle_fusion_risk_management.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3626,7 +3626,7 @@ Update Test Plan Step in Oracle Fusion Risk Management using documented record f
36263626
{/* MANUAL-CONTENT-START:notes */}
36273627
## Prerequisites and API contract
36283628

3629-
Use an Oracle Fusion integration-user credential containing the application URL, username, and password. The existing Fusion connection supplies Basic authentication over HTTPS. The integration user needs the relevant Financial Reporting Compliance or Advanced Controls REST privileges, the feature's duty roles, and access to the individual records. Assignment-group security permissions apply to the group itself; membership does not automatically assign every compliance record.
3629+
Create or select a reusable Oracle Fusion integration-user connection in the block, containing the application URL, username, and password. The existing Fusion connection supplies Basic authentication over HTTPS. The integration user needs the relevant Financial Reporting Compliance or Advanced Controls REST privileges, the feature's duty roles, and access to the individual records. Assignment-group security permissions apply to the group itself; membership does not automatically assign every compliance record.
36303630

36313631
Financial Reporting Compliance and Advanced Controls capabilities depend on the customer's Oracle subscriptions and enabled tenant features. Assigning privileges can affect license consumption even when those privileges are unused. Customer entitlement, feature configuration, and live tenant behavior have not been verified. Consult Oracle's [REST quick start](https://docs.oracle.com/en/cloud/saas/risk-management-and-compliance/26c/farkm/Quick_Start.html), [26C API reference](https://docs.oracle.com/en/cloud/saas/risk-management-and-compliance/26c/farkm/index.html), and [licensing advisory](https://docs.oracle.com/en/cloud/saas/risk-management-and-compliance/26c/farsr/advisory-note-on-licensing-impact.html).
36323632

‎apps/sim/blocks/blocks/oracle_fusion_risk_management.test.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
OracleFusionRiskManagementBlock,
99
OracleFusionRiskManagementBlockMeta,
1010
} from '@/blocks/blocks/oracle_fusion_risk_management'
11+
import { AuthMode } from '@/blocks/types'
1112
import * as riskTools from '@/tools/oracle_fusion_risk_management'
1213

1314
const block = OracleFusionRiskManagementBlock
@@ -60,6 +61,11 @@ describe('Risk Management block contracts', () => {
6061
})
6162

6263
it('binds selectors to the shared service and credential context', () => {
64+
expect(block.authMode).toBe(AuthMode.ApiKey)
65+
expect(block.subBlocks.find((field) => field.type === 'oauth-input')).toMatchObject({
66+
credentialKind: 'service-account',
67+
serviceId: 'oracle_fusion_risk_management',
68+
})
6369
for (const field of block.subBlocks) {
6470
if (!field.selectorKey) continue
6571
const manifest = selectorManifest[field.selectorKey]

‎apps/sim/blocks/blocks/oracle_fusion_risk_management.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { NetSuiteIcon } from '@/components/icons'
22
import { getScopesForService } from '@/lib/oauth/utils'
33
import type { BlockConfig, BlockMeta, SubBlockConfig } from '@/blocks/types'
4-
import { IntegrationType } from '@/blocks/types'
4+
import { AuthMode, IntegrationType } from '@/blocks/types'
55
import { parseOptionalBooleanInput, parseOptionalNumberInput } from '@/blocks/utils'
66
import {
77
RISK_OPERATIONS,
@@ -454,6 +454,7 @@ export const OracleFusionRiskManagementBlock: BlockConfig = {
454454
docsLink: 'https://docs.sim.ai/integrations/oracle_fusion_risk_management',
455455
category: 'tools',
456456
integrationType: IntegrationType.Security,
457+
authMode: AuthMode.ApiKey,
457458
bgColor: '#FFFFFF',
458459
icon: NetSuiteIcon,
459460
canvasPresentation: {

‎apps/sim/lib/integrations/credential-display.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ const EXPECTED_COVERAGE: Record<string, string[]> = {
6868
// NetSuite remains an API-key catalog integration, like Snowflake, while its
6969
// block uses the shared reusable-credential selector.
7070
'netsuite-service-account': [],
71-
'oracle-fusion-service-account': ['oracle-fusion-risk-management'],
71+
/** Fusion uses its reusable credential on the block, like NetSuite and Snowflake. */
72+
'oracle-fusion-service-account': [],
7273
'pipedrive-service-account': ['pipedrive'],
7374
'salesforce-service-account': ['salesforce'],
7475
'shopify-service-account': ['shopify'],

‎packages/deployment-config/src/integrations.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16482,8 +16482,7 @@
1648216482
"operationCount": 115,
1648316483
"triggers": [],
1648416484
"triggerCount": 0,
16485-
"authType": "oauth",
16486-
"oauthServiceId": "oracle_fusion_risk_management",
16485+
"authType": "api-key",
1648716486
"category": "tools",
1648816487
"integrationType": "security",
1648916488
"tags": ["automation", "data-analytics"]

‎packages/deployment-config/src/service-account-providers.generated.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export const SERVICE_ACCOUNT_PROVIDER_BY_OAUTH_SERVICE_ID = {
2727
linear: 'linear-service-account',
2828
monday: 'monday-service-account',
2929
notion: 'notion-service-account',
30-
oracle_fusion_risk_management: 'oracle-fusion-service-account',
3130
pipedrive: 'pipedrive-service-account',
3231
salesforce: 'salesforce-service-account',
3332
shopify: 'shopify-service-account',

0 commit comments

Comments
 (0)