jfrog / jfrog-vscode-extension

JFrog VS-Code Extension
https://jfrog.github.io/jfrog-vscode-extension
Apache License 2.0
189 stars 32 forks source link

How do we know the URL of Xray server - JFrog artifactory 7.7.3 #78

Closed rmkanda closed 3 years ago

rmkanda commented 3 years ago

We are running JFrog artifactory 7.7.3 which has integrated xray. Let's say our URL is https://artifactory.test.com/ What will be the URL for xray?

yahavi commented 3 years ago

@rmkanda The answer depends on your Xray server configuration. Typically for SaaS users https://<jfrog-url>/xray or, in your case https://artifactory.test.com/xray.

If it doesn't work, as Artifactory admin user, you can find Xray base URL by retrieving Arifactory's general configuration. For example:

jfrog rt curl /api/system/configuration

Response:

<config xmlns="http://artifactory.jfrog.org/xsd/3.1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jfrog.org/xsd/artifactory-v3_1_1.xsd">
...
    <xrayConfig>
        ...
        <baseUrl>This is Xray URL</baseUrl>
...
</config>

Please let me know if it helped.

rmkanda commented 3 years ago

Thanks @yahavi