Skip to contents

Sets the connection configuration of the BMS server.

Usage

set_qbms_config(
  url = "http://localhost/ibpworkbench/controller/auth/login",
  path = NULL,
  page_size = 1000,
  time_out = 120,
  no_auth = FALSE,
  engine = "bms",
  brapi_ver = "v1",
  verbose = TRUE
)

Arguments

url

URL of the BMS login page. Default is "http://localhost/ibpworkbench/".

path

API path. Default is NULL.

page_size

Page size. Default is 1000.

time_out

Number of seconds to wait for a response until giving up. Default is 10.

no_auth

TRUE if the server doesn't require authentication/login. Default is FALSE.

engine

Backend database (bms default, breedbase, gigwa, ebs).

brapi_ver

BrAPI version (v1 or v2).

verbose

Logical indicating if progress bar will display on the console when retrieving data from API. TRUE by default.

Value

No return value.

Author

Khaled Al-Shamaa, k.el-shamaa@cgiar.org

Examples

set_qbms_config("https://bmsdev-brapi.ibp.services/ibpworkbench")