Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable vrli log configuration in vra #97

Merged
merged 3 commits into from Sep 14, 2022
Merged

Conversation

tenthirtyam
Copy link
Contributor

In order to have a good experience with our community, we recommend that you read the contributing guidelines for making a pull request.

Summary of Pull Request

Adds three cmdlets for managing the basic configuration of vRealize Automation's integration with vRealize Log Insight.

  • Get-vRAvRLIConfig
  • Set-vRAvRLIConfig
  • Remove-vRAvRLIConfig

Signed-off-by: Ryan Johnson johnsonryan@vmware.com

PS F:\> Set-vRAvRLIConfig -server sfo-vcf01.sfo.rainpole.io -user administrator@vsphere.local -pass VMw@re1! -rootPass VMw@re1! -protocol HTTP
Setting the vRealize Automation integration with vRealize Log Insight: SUCCESSFUL

PS F:\> Set-vRAvRLIConfig -server sfo-vcf01.sfo.rainpole.io -user administrator@vsphere.local -pass VMw@re1! -rootPass VMw@re1! -protocol HTTPS
Setting the vRealize Automation integration with vRealize Log Insight: SUCCESSFUL

PS F:\> Get-vRAvRLIConfig -server sfo-vcf01.sfo.rainpole.io -user administrator@vsphere.local -pass VMw@re1! -rootPass VMw@re1!
{
    "agentId": "0",
    "bufferFlushThreadCount": 16,
    "environment": "prod",
    "host": "sfo-vrli01.sfo.rainpole.io",
    "port": 9543,
    "requestHttpCompress": false,
    "requestImmediateRetries": 3,
    "requestMaxSize": 256000,
    "requestTimeout": 30,
    "scheme": "https",
    "sslVerify": true,
    "caFile": "-----BEGIN CERTIFICATE-----\nMIIGMDCCBRigAwIBAgITdAAAAF0EtgQH789HRgAAAAAAXTANBgkqhkiG9w0BAQsF\nADBNMRIwEAYKCZImiZPyLGQBGRYCaW8xGDAWBgoJkiaJk
EdMBsGA1UEAxMUcmFpbnBvbGUtREMtUlBMMDEtQ0EwHhcNMjEwMzAzMTY0MDA5\nWhcNMjMwMzAzMTY1MDA5W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yjirBiW6zRXGuPt6KfhpFaG7N6nQNJAs50s\nwMe7sHCRElWrfb/B0p2I07I4389L28i7pbvTGTSPu6EqvFys8EtpHZ4TPRH7k4Da\nZA7msQU
hL9/qhcthCd0D3QlrX4x7QwzjuZywgQpHt\nOwNeW2gKv7GgWUpi/x5ilQln+X+mUAbIc4ZBUb3596Dual516EQtxD98BZlSFNeh\n2g4PJdvTotuABRTqfXiK5G/AHX8hiG39QuvVC+kL17cfBi/sYIOPa
sGA1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBST\nfrjohobiQJfykQGMITJMvI9gVTAQBgkrBgEEAYI3FQEEAwIBADANBgkqhkiG9w0B\nAQsFAAOCAQEABZOX6PSRhsjqF+DQnelSa
n+t0dNcN\n3mjjL28QmVE8ErA2GirjZXAN3WVaVgRJwrXMVFl50VW7WKlU4BPeJFJm4ycxo4w9\n2nmy1OaGMyGRjS6H/Du77BV/DsthKMuPsJeyrshc/wrJtHLe6NgWLDy2cUr2WrKL\ntfQ5ynUHW+xg7
0N59qG7hlJO91gABVfWduKCkTc0O\n4kFt76oexOkYaMZP4F4hysKoeW8fBY3DtYdUPt//IcJX7S1uG/Zjo1PxBQDV1k1S\nwjdE+PK6bsFUYBjiGM4cJ1/Lzshysq1hvg==\n-----END CERTIFICATE-
}

PS F:\> Remove-vRAvRLIConfig -server sfo-vcf01.sfo.rainpole.io -user administrator@vsphere.local -pass VMw@re1! -rootPass VMw@re1!
Clearing the vRealize Automation integration with vRealize Log Insight: SUCCESSFUL

PS F:\> Get-vRAvRLIConfig -server sfo-vcf01.sfo.rainpole.io -user administrator@vsphere.local -pass VMw@re1! -rootPass VMw@re1!
vRealize Automation integration with vRealize Log Insight not set: SKIPPED

Type of Pull Request

  • This is a bug fix.
  • This is an enhancement or feature.
  • This is a code style / formatting update.
  • This is a documentation update.
  • This is a refactoring update.
  • This is something else.
    Please describe:

Related to Existing Issues

Issue Number: Closes #47

Test and Documentation Coverage

  • Tests have been completed (for bug fixes / features).
  • Documentation has been added / updated (for bug fixes / features).

Breaking Changes?

  • Yes, there are breaking changes.
  • No, there are no breaking changes.

Add three cmdlets for managing the basic configuration of vRealize Automation's integration with vRealize Log Insight.

- `Get-vRAvRLIConfig`
- `Set-vRAvRLIConfig`
- `Remove-vRAvRLIConfig`

#47

Signed-off-by: Ryan Johnson <johnsonryan@vmware.com>
@tenthirtyam tenthirtyam added the enhancement Enhancement label Sep 13, 2022
@tenthirtyam tenthirtyam added this to the v1.8.0 milestone Sep 13, 2022
@tenthirtyam tenthirtyam self-assigned this Sep 13, 2022
@tenthirtyam tenthirtyam added vvs/ila Inteligent Logging and Analytics size/m Relative Sizing: medium needs-review Needs Review labels Sep 13, 2022
PowerValidatedSolutions.psm1 Outdated Show resolved Hide resolved
PowerValidatedSolutions.psm1 Outdated Show resolved Hide resolved
PowerValidatedSolutions.psm1 Show resolved Hide resolved
PowerValidatedSolutions.psm1 Show resolved Hide resolved
PowerValidatedSolutions.psm1 Show resolved Hide resolved
PowerValidatedSolutions.psm1 Outdated Show resolved Hide resolved
PowerValidatedSolutions.psm1 Show resolved Hide resolved
@GaryJBlake GaryJBlake removed the needs-review Needs Review label Sep 14, 2022
Addresses the review comments.

Signed-off-by: Ryan Johnson <johnsonryan@vmware.com>
Bump lines close to col 120

Signed-off-by: Ryan Johnson <johnsonryan@vmware.com>
@GaryJBlake
Copy link
Contributor

LGTM - Thanks for addressing the comments

@GaryJBlake GaryJBlake merged commit 2bfc46e into main Sep 14, 2022
@GaryJBlake GaryJBlake deleted the feat/vra-vli-logging branch September 14, 2022 12:24
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Enhancement size/m Relative Sizing: medium vvs/ila Inteligent Logging and Analytics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support to enable vRealize Log Insight logging configuration for vRealize Automation
2 participants