agent starting :D
This commit is contained in:
34
brunoApi/auth/Register.bru
Normal file
34
brunoApi/auth/Register.bru
Normal file
@@ -0,0 +1,34 @@
|
||||
meta {
|
||||
name: Register
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/lst/api/authentication/register
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"username": "jane005",
|
||||
"email": "jane@alpla.com",
|
||||
"password": "superSecretPassword"
|
||||
}
|
||||
}
|
||||
|
||||
script:post-response {
|
||||
// // grab the raw Set-Cookie header
|
||||
// const cookies = res.headers["set-cookie"];
|
||||
|
||||
// const sessionCookie = cookies[0].split(";")[0];
|
||||
|
||||
// // Save it as an environment variable
|
||||
// bru.setEnvVar("session_cookie", sessionCookie);
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
docs {
|
||||
All Api endpoints to the logistics support tool
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{url}}/lst/api/datamart/deliveryByDateRange
|
||||
url: {{url}}/lst/api/datamart
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
20
brunoApi/datamart/Run Query.bru
Normal file
20
brunoApi/datamart/Run Query.bru
Normal file
@@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: Run Query
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{url}}/lst/api/datamart/:name
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
name: activeArticles
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
meta {
|
||||
name: add new query
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/lst/api/datamart
|
||||
body: multipartForm
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "active av",
|
||||
"description":"this is just the query on what it dose",
|
||||
"query": "select * \nfrom tableA"
|
||||
}
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
name: sqlStats
|
||||
description: returns all active articles for the server with custom data
|
||||
options: ""
|
||||
queryFile: @file(C:\Users\matthes01\Nextcloud2\sqlQuerys\basisArticles.sql)
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
meta {
|
||||
name: update new query
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
patch {
|
||||
url: {{url}}/lst/api/datamart/f737aeba-186d-495f-a86e-57412ba6687e
|
||||
body: multipartForm
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "active av",
|
||||
"description":"this is just the query on what it dose",
|
||||
"query": "select * \nfrom tableA"
|
||||
}
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
setPublicActive: true
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
15
brunoApi/prodSql/Sql Start.bru
Normal file
15
brunoApi/prodSql/Sql Start.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Sql Start
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/lst/api/system/prodsql/start
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -1,19 +1,15 @@
|
||||
meta {
|
||||
name: sync queries
|
||||
name: Sql restart
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{url}}/lst/api/datamart/sync?time=15
|
||||
post {
|
||||
url: {{url}}/lst/api/system/prodsql/restart
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:query {
|
||||
time: 15
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
16
brunoApi/prodSql/Sql stop.bru
Normal file
16
brunoApi/prodSql/Sql stop.bru
Normal file
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Sql stop
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{url}}/lst/api/system/prodsql/stop
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
8
brunoApi/prodSql/folder.bru
Normal file
8
brunoApi/prodSql/folder.bru
Normal file
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: prodSql
|
||||
seq: 6
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
@@ -14,3 +14,7 @@ settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
docs {
|
||||
returns all settings
|
||||
}
|
||||
|
||||
@@ -5,15 +5,15 @@ meta {
|
||||
}
|
||||
|
||||
patch {
|
||||
url: {{url}}/lst/api/settings/something
|
||||
url: {{url}}/lst/api/settings/opendock_sync
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"value" : "true",
|
||||
"active": "false"
|
||||
"value" : "0",
|
||||
"active": "true"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,3 +21,13 @@ settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
docs {
|
||||
Allows the changing of a setting based on the parameter.
|
||||
|
||||
* when a setting that is being changed is a feature there will be some backgound logic that will stop that features processes and no long work.
|
||||
|
||||
* when the setting is being changed is system the entire app will do a full restart
|
||||
|
||||
* when a seeting is being changed and is standard nothing will happen until the next action is completed. example someone prints a label and you changed the default to 120 second from 90 seconds
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user