Skip to content

vscode extension and filespec-schema.json fail #3452

@AshitakaLax

Description

@AshitakaLax

Describe the bug

The extension uses an url as listed in the instructions
I get the following error when it tries to utilize the extension.

Unable to load schema from 'https://github.com/jfrog/jfrog-cli/raw/v2/schema/filespec-schema.json': Not Found. The requested location could not be found.

I'm using pretty simple filespec example.

{
  "files": [
    {
      "aql": {
        "items.find": {
          "repo": "artifactory-repo",
          "type": "file",
          "path": {
            "$match": "*_assets*"
          },
          "$or": [
            {
              "$and": [
                {
                  "created": { "$gt": "${lastbackup}" }
                },
                {
                  "created": { "$lt": "${currenttime}" }
                }
              ]
            }
          ]
        }
      }
    }
  ]
}

Current behavior

Error's out

Reproduction steps

load vscode extension, and open a filespec.json file.

Expected behavior

not error

JFrog CLI version

2.102.0

Operating system type and version

"mcr.microsoft.com/devcontainers/python:3.12"

JFrog Artifactory version

No response

JFrog Xray version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions