-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ckm007 <[email protected]>
- Loading branch information
Showing
9 changed files
with
799 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# IDA | ||
|
||
## Install | ||
``` | ||
./install.sh | ||
``` | ||
* During the execution of the `install.sh` script, a prompt appears requesting information regarding the presence of a public domain and a valid SSL certificate on the server. | ||
* If the server lacks a public domain and a valid SSL certificate, it is advisable to select the `n` option. Opting it will enable the `init-container` with an `emptyDir` volume and include it in the deployment process. | ||
* The init-container will proceed to download the server's self-signed SSL certificate and mount it to the specified location within the container's Java keystore (i.e., `cacerts`) file. | ||
* This particular functionality caters to scenarios where the script needs to be employed on a server utilizing self-signed SSL certificates. | ||
|
||
## Onboard IDA as partner | ||
Partner onboarding is already done as part of default IDA installation. However, IDA's certificates needs to be uploaded to Keymanager. Upload using Postman collections as given [here](certs_upload/postman/README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# IDA cert upload | ||
The folder here contains Postman Collection to upload IDA certs. | ||
|
||
## Prerequisites | ||
Install Postman (browser or command line). The command line version is called `newman`. | ||
|
||
## Run | ||
* Inspect `env.json` for any changes in default params. | ||
* Run on command line | ||
```sh | ||
newman run collection.json -e env.json --env-var 'url=https://xxx.yyy.zzz' --env-var 'admin-client-secret=xxxxxxxxxxxx' | ||
``` | ||
|
||
output: | ||
|
||
``` | ||
┌─────────────────────────┬────────────────────┬────────────────────┐ | ||
│ │ executed │ failed │ | ||
├─────────────────────────┼────────────────────┼────────────────────┤ | ||
│ iterations │ 1 │ 0 │ | ||
├─────────────────────────┼────────────────────┼────────────────────┤ | ||
│ requests │ 10 │ 0 │ | ||
├─────────────────────────┼────────────────────┼────────────────────┤ | ||
│ test-scripts │ 10 │ 0 │ | ||
├─────────────────────────┼────────────────────┼────────────────────┤ | ||
│ prerequest-scripts │ 4 │ 0 │ | ||
├─────────────────────────┼────────────────────┼────────────────────┤ | ||
│ assertions │ 11 │ 0 │ | ||
├─────────────────────────┴────────────────────┴────────────────────┤ | ||
│ total run duration: 8.3s │ | ||
├───────────────────────────────────────────────────────────────────┤ | ||
│ total data received: 8.87KB (approx) │ | ||
├───────────────────────────────────────────────────────────────────┤ | ||
│ average response time: 806ms [min: 80ms, max: 5.6s, s.d.: 1637ms] │ | ||
└───────────────────────────────────────────────────────────────────┘ | ||
``` |
Oops, something went wrong.