You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/api/create_interview_questions.md
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ For any additional details regarding the endpoint, checkout the Tidal API docume
23
23
24
24
# Tools
25
25
26
-
*[jq](https://stedolan.github.io/jq/) - `jq` is a CLI that allows us quickly parse and filter JSON.
26
+
-[jq](https://stedolan.github.io/jq/) - `jq` is a CLI that allows us quickly parse and filter JSON.
27
27
28
28
# Creating Interview Questions
29
29
@@ -33,7 +33,7 @@ Our interview questions are tightly coupled with our application fields. So, bef
33
33
34
34
### Create a custom field
35
35
36
-
You can create a custom field for an application by going to https://[your subdomain].tidal.cloud/#/admin and clicking on the 'New Application Field' button. Note: we don't limit the type of field (dropdown, text, number, currency, checkbox) that can be used in interview questions.
36
+
You can create a custom field for an application by going to https://[your workspace].tidal.cloud/fields/applications and clicking on the 'New Application Field' button. Note: we don't limit the type of field (dropdown, text, number, currency, checkbox) that can be used in interview questions.
37
37
38
38
### Get a custom field id
39
39
@@ -45,7 +45,6 @@ Once we have created a custom field, we need to get its field id. So, to start w
45
45
-H Content-Type\:\ application/json \
46
46
-o fields.json
47
47
48
-
49
48
Once we have that, we need to search for our newly created field name. If you have 'jq' installed you can use it to query the json file for your field name
50
49
51
50
jq '.[] | select(.name=="Your Field Name")' fields.json
@@ -68,7 +67,6 @@ Which should give you an output similiar to
68
67
"field_options": []
69
68
}
70
69
71
-
72
70
## Custom Question
73
71
74
72
### Get a question number
@@ -132,7 +130,6 @@ Putting this all together we can then post this request to our API
Copy file name to clipboardExpand all lines: pages/tidal tools/analyze_database.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ For example, in Oracle databases, the Data Dictionary and AWR repository tables
45
45
46
46
## Getting Started
47
47
48
-
1. Before you can analyze a database, You must enable the Database Analysis feature for your account. To do so, go to your workspace Settings/Preferences (https://yourworkspace.tidal.cloud/#/admin/setting). You will find the Database Analysis section at the bottom of the page.
48
+
1. Before you can analyze a database, You must enable the Database Analysis feature for your account. To do so, go to your workspace Settings/Preferences (https://[your workspace].tidal.cloud/preferences). You will find the Database Analysis section at the bottom of the page.
49
49
2. Now that you have activated the Database Analyze feature, You need to install, configure and authenticate via Tidal Tools. Make sure you follow these guides.
50
50
- How to [install](tidal-tools.html#install) Tidal Tools.
@@ -65,7 +65,7 @@ For the most part, all supported Database engines share very similar configurati
65
65
66
66
Your YAML configuration file for Postgres, MySQL, and SQL Server must contain the following information.
67
67
68
-
-`id` - The id of the database from your Tidal account. You can find it in the URL bar when looking at a database instance. ex. If you are viewing a database instance in Tidal, the URL will show https://demo2.tidal.cloud/#/database_instances/111 in this case 111 is the database instance ID.
68
+
-`id` - The id of the database from your Tidal account. You can find it in the URL bar when looking at a database instance. ex. If you are viewing a database instance in Tidal, the URL will show https://[your workspace].tidal.cloud/database_instances/111/overview in this case 111 is the database instance ID.
69
69
-`name` - A common name for your database could be the same or different from db_name, but this value is arbitrary and only for your reference.
70
70
-`engine` - The database vendor, either `SQL Server`, `MySQL`, or `PostgreSQL`, it is not case sensitive.
71
71
-`host` - The hostname of the server that the database is located on and is accessible via a network connection from your current device and location.
@@ -77,7 +77,7 @@ Your YAML configuration file for Postgres, MySQL, and SQL Server must contain th
77
77
78
78
When analyzing Oracle databases, the attributes in your configuration file must contain the following details.
79
79
80
-
-`id` - The id of the database from your Tidal account. You can find it in the URL bar when looking at a database instance. ex. If you are viewing a database instance in Tidal, the URL will show https://demo2.tidal.cloud/#/database_instances/111 in this case 111 is the database instance ID.
80
+
-`id` - The id of the database from your Tidal account. You can find it in the URL bar when looking at a database instance. ex. If you are viewing a database instance in Tidal, the URL will show https://[your workspace].tidal.cloud/database_instances/111/overview in this case 111 is the database instance ID.
81
81
-`name` - A common name for your database.
82
82
-`analyze_workload` - When set to **true** workload analysis is enabled. Be sure to configure AWR data retention and verify licensing. For more information check the advance configuration [section](#advanced-configuration)
- Make sure you can [connect](tidal-tools.html#connecting-to-the-api) with your workspace using Tidal Tools.
30
-
- As the last step, You should run the [tidal doctor](troubleshooting.html#tidal-doctor) command to verify that your environment has been configured properly.
31
28
32
-
2. You will need the ID of the application for which you are going to perform the source code analysis. You can find it in the URL bar when looking at an application. ex. If you are viewing an application in Tidal, the URL will show `https://demo.tidal.cloud/#/apps/111` in this case 111 is the application ID.
29
+
- How to [install](tidal-tools.html#install) Tidal Tools.
- Make sure you can [connect](tidal-tools.html#connecting-to-the-api) with your workspace using Tidal Tools.
32
+
- As the last step, You should run the [tidal doctor](troubleshooting.html#tidal-doctor) command to verify that your environment has been configured properly.
33
+
34
+
2. You will need the ID of the application for which you are going to perform the source code analysis. You can find it in the URL bar when looking at an application. ex. If you are viewing an application in Tidal, the URL will show `https://[your workspace].tidal.cloud/apps/111/overview` in this case 111 is the application ID.
33
35
34
36
3. Lastly, you will need a local copy of the source code for the application.
35
37
@@ -45,15 +47,16 @@ When analyzing a source code (or multiple), you have two options.
45
47
46
48
1. Perform the source code analysis and upload the result immediately to your workspace. This is Tidal Tools' default behaviour. To do so, all you need to do is run the following command.
47
49
48
-
```bash
49
-
cd /path/to/source-code
50
-
tidal analyze code --app-id 111
51
-
```
50
+
```bash
51
+
cd /path/to/source-code
52
+
tidal analyze code --app-id 111
53
+
```
52
54
53
-
Alternatively, you can pass the location to the source code.
2. Perform the source code analysis and upload the results **at a later time**. The following section will explain how to run database analysis in **offline mode**
59
62
@@ -63,33 +66,34 @@ There are circumstances in which you need to perform a source code analysis on a
63
66
64
67
These are the steps you need to follow in order to bypass internet access limitations:
65
68
66
-
1. On a Machine with internet access, you need to install, and configure Tidal Tools.
69
+
1. On a Machine with internet access, you need to install, and configure Tidal Tools.
67
70
68
71
2. Package Tidal Tools and its required docker container images into a tar file. This will allow you to move the archive file into your restricted environment. To do so, run the following command.
69
72
70
-
`tidal backup`
73
+
`tidal backup`
71
74
72
-
Once it has finished, you will find (in your current location) a tar file called `tidal-snapshot_DATE.tar`. This is the file you need to transport into your internet restricted environment.
75
+
Once it has finished, you will find (in your current location) a tar file called `tidal-snapshot_DATE.tar`. This is the file you need to transport into your internet restricted environment.
73
76
74
77
3. On the machine that has no internet access, you will now restore Tidal Tools using the following command.
75
78
76
-
`tidal restore tidal-snapshot_DATE.tar`
79
+
`tidal restore tidal-snapshot_DATE.tar`
80
+
81
+
This will load a docker image and all the existing Tidal Tools configurations from the original machine. You can now run the source code analysis without any external network connectivity.
77
82
78
-
This will load a docker image and all the existing Tidal Tools configurations from the original machine. You can now run the sourcecode analysis without any external network connectivity.
- The `--offline` flag indicates to Tidal Tools that the output needs to be stored in a file instead of being uploaded.
84
-
- The `--output-dir` flag determines where the output will be located.
87
+
- The `--offline` flag indicates to Tidal Tools that the output needs to be stored in a file instead of being uploaded.
88
+
- The `--output-dir` flag determines where the output will be located.
85
89
86
-
After the analysis is completed, you will find a zip file called, `result-<DATE>.zip` that can then be transferred into a machine with internet connectivity.
90
+
After the analysis is completed, you will find a zip file called, `result-<DATE>.zip` that can then be transferred into a machine with internet connectivity.
87
91
88
92
4. Back to the machine with internet access, you can now upload your results to your workspace with this command.
You should receive confirmation that the upload has been completed and can navigate to Tidal to see the results.
96
+
You should receive confirmation that the upload has been completed and can navigate to Tidal to see the results.
93
97
94
98
{% include tip.html content="Need to run code analysis on a entire set of applications all from one machine? Run [this command and easily create a directory for every application already in Tidal Migrations](https://github.com/tidalmigrations/gists/blob/master/make_source_code_dirs.sh)" %}
0 commit comments