-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Refresh IQ stuff when App ID is changed (#178)
* Roll that beautiful bean footage * Hello hello hello * added functions for IQ url, user, and password to let those fields be dynamically reloaded as well * added request service setter for username and utilized setters when changing IQ user and pw dynamically * added dynamic settings change for the URL by adding a setter for the URL that also sets the agent * initial attempt at a refactor to simplify config changes that would require modifying the iq request service * Here we go Co-authored-by: Artemie Jurgenson <[email protected]>
- Loading branch information
1 parent
4f0968e
commit 49a9028
Showing
6 changed files
with
129 additions
and
22 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
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
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
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
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
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,35 @@ | ||
/* | ||
* Copyright (c) 2019-present Sonatype, Inc. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
const NEXUS_EXPLORER_BASE = "nexusExplorer"; | ||
const NEXUS_IQ_BASE = "nexusIQ"; | ||
|
||
const NEXUS_EXPLORER_DATA_SOURCE = NEXUS_EXPLORER_BASE.concat(".", "dataSource"); | ||
const NEXUS_IQ_SERVER_URL = NEXUS_IQ_BASE.concat(".", "serverUrl"); | ||
const NEXUS_IQ_USERNAME = NEXUS_IQ_BASE.concat(".", "username"); | ||
const NEXUS_IQ_MAX_EVAL_POLL_ATTEMPTS = NEXUS_IQ_BASE.concat(".", "maximumEvaluationPollAttempts"); | ||
const NEXUS_IQ_PUBLIC_APPLICATION_ID = NEXUS_IQ_BASE.concat(".", "applicationId"); | ||
const NEXUS_IQ_USER_PASSWORD = NEXUS_IQ_BASE.concat(".", "userPassword"); | ||
const NEXUS_IQ_STRICT_SSL = NEXUS_IQ_BASE.concat(".", "strictSSL"); | ||
|
||
export { | ||
NEXUS_EXPLORER_DATA_SOURCE, | ||
NEXUS_IQ_SERVER_URL, | ||
NEXUS_IQ_USERNAME, | ||
NEXUS_IQ_MAX_EVAL_POLL_ATTEMPTS, | ||
NEXUS_IQ_PUBLIC_APPLICATION_ID, | ||
NEXUS_IQ_USER_PASSWORD, | ||
NEXUS_IQ_STRICT_SSL | ||
}; |