Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

jfrog-aql

Package Overview
Dependencies
1
Maintainers
1
Versions
4
Issues
File Explorer

Advanced tools

jfrog-aql

Artifactory Query Language library

    1.0.4latest

Version published
Maintainers
1
Yearly downloads
11,604
increased by51.96%

Weekly downloads

Changelog

Source

Readme

Source

Artifactory Query Language

To read more about AQL.

Set up connection

In order to be able to connect to the server and send request you need to set up the link to the artifactory. An example for using basic authentication:

var aql = require('aql'), username = "fekete.peter", password = "lokaki12", auth = "Basic " + new Buffer(username + ":" + password).toString("base64"); // config object is used by the Request class aql.config({ uri: "http://artifactory.mydomain.com/artifactory/api/search/aql", headers: { Authorization: auth } });

Method in the config by default is POST. The default transform function is JSON.parse.

Build and run your query

var aqlQuery = aql.items.find().include("*").limit(10).sort({$asc: ["repo"]}); aql.query(aqlQuery).then((data) => { console.log(data); });

Keywords

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc