Connectez-vous à Oracle Analytics Cloud à l'aide d'une connexion JDBC avec une assertion Propriétaire de ressource afin de pouvoir interroger le modèle sémantique.
bijdbc.properties
qui contient les propriétés d'authentification et d'autorisation OAuth requises pour la connexion à l'instance Oracle Analytics Cloud.
bijdbc.properties
:
idcsEndpointUrl=https://<IDCS_hostname> idcsClientId=<ID string> idcsClientScope=<ID string> idcsClientSecret=<secret> user=<firstname.lastname@example.com> password=<password>
Par exemple :
idcsEndpointUrl=https://idcs-1a2bc345678901d2e34fgh56789j0ke.identity.c9abc1.oc9def.com
idcsClientId=12a000dc9ef345678000ghij2kl8a34
idcsClientScope=https://<host>.com:443urn:opc:resource:consumer::all
idcsClientSecret=xyz
user=myuser@office.com
password=yourpassword
Pour vous connecter à une instance déployée sur | Date de création |
---|---|
Oracle Cloud Infrastructure (Gen 2) |
Indifférent |
Oracle Cloud Infrastructure |
12 mai 2020 ou date ultérieure |
Utilisez ce format d'URL avec OAuth
:
jdbc:oraclebi:https://<host>:<port>/api/jdbc?BIJDBC_PROPERTIES_FILE=<fully qualified location and name of properties file>
Par exemple :
jdbc:oraclebi:https://<host>:443/api/jdbc?BIJDBC_PROPERTIES_FILE=D:\\Workspace\\bijdbc\\bijdbc.properties
Pour vous connecter à une instance déployée sur | Date de création |
---|---|
Oracle Cloud Infrastructure |
Avant le 12 mai 2020 |
Utilisez ce format d'URL avec OAuth
:
jdbc:oraclebi:https://<host>:<port>/bimodeler/api/jdbc?BIJDBC_PROPERTIES_FILE=<fully qualified location and name of properties file>
Par exemple :
jdbc:oraclebi:https://abcdefghi123-jklmnopqrs4t-je.analytics.ocp.oraclecloud.com:443/bimodeler/api/jdbc?BIJDBC_PROPERTIES_FILE=D:\\Workspace\\bijdbc\\bijdbc.properties
jdbc:oraclebi:https://abcdefghi123-jklmnopqrs4t-je.analytics.ocp.oraclecloud.com:443/api/jdbc?BIJDBC_PROPERTIES_FILE=D:\\Workspace\\bijdbc\\bijdbc.properties