Skip to content

Commit a8007b8

Browse files
lmfarley10JBAnderson5
authored andcommitted
Removed trust instructions to avoid confusion, added clarifying instructions...
1 parent a525056 commit a8007b8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+250
-1593
lines changed

.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,23 @@ __pycache__/
9797
clientApp/autoprompt/ConfigFile.properties
9898
clientApp/autoprompt/semantic_suggest_runbook.md
9999

100+
# Unnecessary instructions
101+
deployment-docs/docs/deployment/nginx.md
102+
103+
deployment-docs/docs/deployment/terraform_p.md
104+
deployment-docs/docs/deployment/trust-service.c.md
105+
deployment-docs/docs/deployment/trust-ui.md
106+
deployment-docs/docs/deployment/trust-service.md
107+
deployment-docs/docs/deployment/let_s_encrypt.md
108+
deployment-docs/docs/deployment/let_s_encrypt_orig.md
109+
110+
deployment-docs/docs/rest/
111+
deployment-docs/docs/templates/
112+
deployment-docs/docs/logging.md
113+
114+
deployment-docs/docs/deployment/apex-trust.md
115+
deployment-docs/docs/deployment/apex-trust-lb.md
116+
100117
# File with reference to orahub repo
101118
deployment-docs/mkdocs.yml
102119

README.md

Lines changed: 42 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,53 +4,68 @@
44

55
## Introduction
66

7-
[Introduction](deployment-docs/docs/deployment/introduction.md)
7+
Oracle AskData is a conversational AI platform powered by Oracle Generative AI. With AskData, you can ask natural language questions like "Give me all past due invoices" or "Show me sales for last week over $100,000" and get instant, accurate results.
8+
9+
The solution empowers both non-technical users and SQL experts by simplifying complex queries and freeing up time for deeper analysis and decision-making.
10+
811

912
## Getting Started
10-
Start with familiarizing yourself with the [Architecture](deployment-docs/docs/deployment/architecture.md) & [Introduction](deployment-docs/docs/deployment/introduction.md)
13+
Please see the [Introduction](deployment-docs/docs/deployment/introduction.md) & [Architecture](deployment-docs/docs/deployment/architecture.md)
1114

12-
For policies see [Defining Policies](deployment-docs/docs/deployment/generic.md)
15+
For policies see [Defining Policies](deployment-docs/docs/deployment/generic.md#dynamic-groups)
1316

17+
### Prerequisites
1418
The CIS Landing Zone is optional but helps with providing a sandbox environment with best practices
15-
[Deploy CIS LZ](deployment-docs/docs/deployment/landing_zone.md)
1619

17-
### Prerequisites
20+
- [Deploy CIS LZ](deployment-docs/docs/deployment/landing_zone.md)
21+
22+
1823
This solution assumes you have access to an OCI tenancy with the admin ability to provision the following resources:
19-
- VBCS
20-
- [Deploy VBCS](deployment-docs/docs/deployment/VBCS.md)
21-
- ODA
22-
- [Deploy ODA](deployment-docs/docs/deployment/oda.md)
23-
- IAM Confidential App
24+
25+
- IDCS/IAM Confidential App
2426
- [Deploy IAM App](deployment-docs/docs/deployment/business_idcs.md)
2527
- Vault
2628
- [Deploy Vault](deployment-docs/docs/deployment/vault.md)
27-
- API Gateway
28-
- [Deploy API Gateway](deployment-docs/docs/deployment/business_api_gateway.md)
29-
- Business (client) ADW database
29+
- Business (Client) ADB database
3030
- [Deploy Database](deployment-docs/docs/deployment/database.md)
3131
- Trust ADB database
3232
- [Deploy Database](deployment-docs/docs/deployment/database.md)
33-
- Redis Cache
33+
- OCI Cache
34+
- [Deploy OCI Cache Cluster](https://docs.oracle.com/en-us/iaas/Content/ocicache/createcluster.htm#top)
3435
- VCN
35-
- Two VMs, one for engine in private sn and one bastion/jump host
36+
- Private Subnet
37+
- Public Subnet
38+
- [Deploy a VCN](https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/quickstartnetworking.htm#Virtual_Networking_Quickstart)
39+
- Two VMs
40+
- Engine
3641
- [Deploy Engine Documentation](deployment-docs/docs/deployment/nl2sql_engine.md)
37-
42+
- Bastion/jump host
43+
- To access engine in private subnet
44+
- API Gateway
45+
- [Deploy API Gateway](deployment-docs/docs/deployment/business_api_gateway.md)
46+
- (Optional) If deploying API Gateway privately, see [ADW API Gateway Private Access](deployment-docs/docs/deployment/adw_private.md)
47+
- VBCS
48+
- [Deploy VBCS](deployment-docs/docs/deployment/VBCS.md)
49+
- ODA
50+
- [Deploy ODA](deployment-docs/docs/deployment/oda.md)
3851
## Deployment Steps
3952

40-
1. Configure Business App
41-
- Configure Business DB
42-
- Configure Trust DB
43-
2. Configure IDCS App
44-
3. Configure API Gateway
45-
4. Configure ODA Skills
46-
5. Configure VB Apps
53+
1. Configure Business DB
54+
2. Configure Trust DB
55+
3. Configure IDCS App
56+
4. Configure OCI Cache
57+
4. Configure Engine
58+
5. Configure API Gateway
59+
6. Configure ODA Skills
60+
7. Configure VB Apps
4761

48-
## Notes/Issues
62+
### Validation
4963

50-
See [Troubleshooting](deployment-docs/docs/deployment/architecture.md)
64+
[Validation Testing](deployment-docs/docs/deployment/validation.md)
65+
66+
## Notes/Issues
5167

52-
This first release is focused on deploying the NL Engine/ClientApp for the business user. The Trust Framework plans to be added next release. However, documentation is available under [Deployment](deployment-docs/docs/deployment/)
53-
if you'd like to get familiar. All documentation related to apex & trust service would be for the trust framework.
68+
See [Troubleshooting](deployment-docs/docs/deployment/troubleshooting.md)
5469

5570
## URLs
5671
* Nothing at this time

clientApp/ConfigFile.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ file.embdgs=notused
6868
file.col_embdgs=notused
6969
librarymatch.threshold=0.80
7070
librarymatch.upperthreshold=1.0
71-
[DEFAULT] # trust db connection
71+
[DEFAULT]
72+
# trust db connection
7273
user=xxxxxx
7374
password=xxxxx
7475
dsn= xxxxx

deployment-docs/docs/deployment/Deployment.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

deployment-docs/docs/deployment/VBCS.md

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# VBCS Deployment
22

3+
### Prerequisites
4+
5+
This section assumes the following resources are configured:
6+
* [IDCS Application](./business_idcs.md)
7+
* [Engine Application](./nl2sql_engine.md)
8+
* [API Gateway](./business_api_gateway.md)
9+
* [ODA](./oda.md)
10+
311
### Setup Identity Group
412

513
#### Create Group
@@ -31,12 +39,9 @@
3139
1. Open the OCI Console.
3240

3341
2. In the upper-left corner, click **Navigation Menu**
34-
35-
<br>
3642

3743
![ ](./business_media/media/image68.png)
3844

39-
4045
3. Select **Developer Services** and then select **Visual Builder**.
4146

4247
<br>
@@ -110,6 +115,11 @@ Search keyword example: nl2sql
110115

111116
**(you may need to zip the above folder for the main app before importing)**
112117

118+
- **Update** The VBCS application files are found in [vbcs_oda_archives](../../../vbcs_oda_archives/).
119+
- Navigate to vbcs_oda_archives and zip the respective applications
120+
- zip -r my-vb-app.zip ./<my-vb-app>
121+
- Import the zip to VBCS
122+
113123
![ ](./business_media/media/image78.png)
114124

115125
2. Navigate to your Visual Applications Home page and click **Import**.
@@ -195,11 +205,11 @@ Click on the pencil icon
195205
Verify/Edit the Instance URL. This points to APIGW. Therefore, this should match the APIGW url.
196206
\[Example, <https://apigw-url.apigateway.us-chicago-1.oci.customer-oci.com/v1>\]
197207

198-
Verify/Edit Authentication section. This should match the IDCS confidential app that was setup earlier.
208+
Verify/Edit Authentication section. This should match the [IDCS confidential app](./business_idcs.md) that was setup earlier.
199209

200210
- Authentication: OAuth 2.0 Client Credentials
201211
- Client ID & Secret: \<click pencil icon to enter client id and secret\>
202-
- Scope: \<Example: urn:opc:idm:\_\_myscopes\_\_\>
212+
- Scope: \<Example: urn:opc:idm:\_\_myscopes\_\_\> (if using same instructions from IDCS App, odatest)
203213
- Token URL: \<Example:
204214
<https://idcs-server.identity.oraclecloud.com/oauth2/v1/token>\>
205215

@@ -256,7 +266,19 @@ Make a note of URLs, especially Table_Graph app and InteractiveGraph app as you
256266
>
257267
![ ](./business_media/media/server-config.png)
258268

269+
### Test Application
270+
271+
Once engine config is updated to include the above vb applications, and everything is configured correctly, you should be able to converse with AskData:
272+
273+
![AskData](./images/askdata-app.png)
259274

275+
![AskData](./images/askdata-app-2.png)
276+
277+
> **Note** You can select "View Full Result Set" to open another visual interface
278+
279+
![AskData](./images/askdata-app-3.png)
280+
281+
![AskData](./images/askdata-app-4.png)
260282
## Private Resources
261283

262284
This section is applicable only if the target APIs accessed by ODA and
@@ -310,4 +332,10 @@ If you don’t see the Private Endpoint enablement option or list of available p
310332

311333
!["Select private endpoint for REST service"](./business_media/media/image107.jpeg)
312334

313-
Note that the private endpoint feature is not supported by the custom component of ODA. Therefore, you may create a public load balancer is such cases.
335+
Note that the private endpoint feature is not supported by the custom component of ODA. Therefore, you may create a public load balancer is such cases.
336+
337+
338+
## Troubleshooting
339+
340+
1. Graph isn't showing in Table Graph VB App
341+
- Solution: Make sure to assign user role to idcs group in app settings

deployment-docs/docs/deployment/adw_private.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
# 1. Introduction
44

55
By default, ADW uses public endpoints for its communication to
6-
supporting services. As the API gateway deployments are not oAuth
7-
protected, it needs to be private.
6+
supporting services. For using ADW with a private API gateway, see below.
87

98
For this to work, we will need the followings:
109

deployment-docs/docs/deployment/apex-trust-lb.md

Lines changed: 0 additions & 138 deletions
This file was deleted.

0 commit comments

Comments
 (0)