feat: add bruno api requests

feature/issue-4/bruno
Frédérik Benoist 2024-01-27 11:32:41 +01:00
parent 0d36bb8a1b
commit 026b288534
26 changed files with 353 additions and 0 deletions

View File

@ -0,0 +1,20 @@
meta {
name: A01 Ticket DLQ (DEV)
type: http
seq: 1
}
get {
url: http://v-artm-a01-iddc.adic.lan:8260/rec/mom1/console/jolokia/read/org.apache.activemq.artemis:broker=!%22mom-rec-001!%22,component=addresses,address=!%22XSTO_ASPD_VTEJ_retail_sale_3211.DLQ!%22,subcomponent=queues,routing-type=!%22anycast!%22,queue=!%22XSTO_ASPD_VTEJ_retail_sale_3211.DLQ!%22/MessageCount
body: none
auth: basic
}
headers {
Origin: http://v-artm-a01-iddc.adic.lan:8260
}
auth:basic {
username: artemis
password: artemis
}

View File

@ -0,0 +1,20 @@
meta {
name: A01 Ticket DLQ (PROD)
type: http
seq: 2
}
get {
url: http://v-artm-a01-ipdc.tech.ikks.lan:8160/console/jolokia/exec/org.apache.activemq.artemis:broker=!%22mom01-v-artm-a01-ipdc!%22,component=addresses,address=!%22XSTO_ASPD_VTEJ_retail_sale_3211.DLQ!%22,subcomponent=queues,routing-type=!%22anycast!%22,queue=!%22XSTO_ASPD_VTEJ_retail_sale_3211.DLQ!%22/countMessages()
body: none
auth: basic
}
headers {
Origin: http://v-artm-a01-ipdc.tech.ikks.lan:8160
}
auth:basic {
username: readonly
password: readonly
}

View File

@ -0,0 +1,20 @@
meta {
name: A02 Ticket DLQ (PROD)
type: http
seq: 3
}
get {
url: http://v-artm-a02-ipdc.tech.ikks.lan:8160/console/jolokia/exec/org.apache.activemq.artemis:broker=!%22mom02-v-artm-a02-ipdc!%22,component=addresses,address=!%22XSTO_ASPD_VTEJ_retail_sale_3211.DLQ!%22,subcomponent=queues,routing-type=!%22anycast!%22,queue=!%22XSTO_ASPD_VTEJ_retail_sale_3211.DLQ!%22/countMessages()
body: none
auth: basic
}
headers {
Origin: http://v-artm-a02-ipdc.tech.ikks.lan:8160
}
auth:basic {
username: readonly
password: readonly
}

View File

@ -0,0 +1,22 @@
meta {
name: login
type: http
seq: 1
}
post {
url: {{host}}/hdpos/api/auth/login
body: json
auth: none
}
headers {
Content-Type: application/json
}
body:json {
{
"username": "fred",
"password": "admin123"
}
}

5
bruno/bruno.json Normal file
View File

@ -0,0 +1,5 @@
{
"version": "1",
"name": "hdpos",
"type": "collection"
}

View File

@ -0,0 +1,4 @@
vars {
host: http://v-xsto-a01-iidc.adic.lan:8080
proximisHost: https://ikks.omn.proximis.com
}

View File

@ -0,0 +1,4 @@
vars {
host: http://localhost:8080
proximisHost: https://proximis-ikks-recette.stg.proximis.com
}

View File

@ -0,0 +1,11 @@
meta {
name: not sent
type: http
seq: 1
}
get {
url: {{host}}/hdpos/api/flux/bl/notsent
body: none
auth: none
}

View File

@ -0,0 +1,11 @@
meta {
name: hello 8080
type: http
seq: 1
}
get {
url: {{host}}/hdpos/api/hello
body: none
auth: none
}

15
bruno/items/items.bru Normal file
View File

@ -0,0 +1,15 @@
meta {
name: items
type: http
seq: 1
}
get {
url: {{host}}/hdpos/api/items/BX44145?dbHost=10.100.0.18
body: none
auth: none
}
query {
dbHost: 10.100.0.18
}

View File

@ -0,0 +1,15 @@
meta {
name: itemsOptions
type: http
seq: 3
}
get {
url: {{host}}/hdpos/api/items/BX44145/options/?dbHost=10.100.0.18
body: none
auth: none
}
query {
dbHost: 10.100.0.18
}

View File

@ -0,0 +1,15 @@
meta {
name: itemsPrice
type: http
seq: 4
}
get {
url: {{host}}/hdpos/api/items/BX44145/price/?dbHost=10.100.0.18
body: none
auth: none
}
query {
dbHost: 10.100.0.18
}

View File

@ -0,0 +1,15 @@
meta {
name: itemsStock
type: http
seq: 5
}
get {
url: {{host}}/hdpos/api/items/BX44145/stock/?dbHost=10.100.0.18
body: none
auth: none
}
query {
dbHost: 10.100.0.18
}

View File

@ -0,0 +1,18 @@
meta {
name: GetAllOrders
type: http
seq: 2
}
get {
url: {{host}}/hdpos/api/obi/order?page=1&itemsPerPage=10&sortBy=order_id&orderBy=desc
body: none
auth: none
}
query {
page: 1
itemsPerPage: 10
sortBy: order_id
orderBy: desc
}

View File

@ -0,0 +1,11 @@
meta {
name: GetByOrderId
type: http
seq: 1
}
get {
url: {{host}}/hdpos/api/obi/order/2845
body: none
auth: none
}

View File

@ -0,0 +1,11 @@
meta {
name: getOrderMessage
type: http
seq: 3
}
get {
url: {{host}}/hdpos/api/obi/order/2845/orderMessage
body: none
auth: none
}

View File

@ -0,0 +1,11 @@
meta {
name: projectFulfillment
type: http
seq: 1
}
get {
url: {{host}}/hdpos/api/proximis/project/fulfillment/1382020000066
body: none
auth: none
}

11
bruno/stores/All.bru Normal file
View File

@ -0,0 +1,11 @@
meta {
name: All
type: http
seq: 2
}
get {
url: {{host}}/hdpos/api/stores/
body: none
auth: none
}

16
bruno/stores/Log.bru Normal file
View File

@ -0,0 +1,16 @@
meta {
name: Log
type: http
seq: 9
}
get {
url: {{host}}/hdpos/api/stores/4/log?dbHost=10.100.0.18&logDate=20231228
body: none
auth: none
}
query {
dbHost: 10.100.0.18
logDate: 20231228
}

15
bruno/stores/Sequence.bru Normal file
View File

@ -0,0 +1,15 @@
meta {
name: Sequence
type: http
seq: 1
}
get {
url: {{host}}/hdpos/api/stores/4/sequence?dbHost=10.100.0.18
body: none
auth: none
}
query {
dbHost: 10.100.0.18
}

View File

@ -0,0 +1,15 @@
meta {
name: Signature
type: http
seq: 7
}
get {
url: {{host}}/hdpos/api/stores/4/signature?dbHost=10.100.0.18
body: none
auth: none
}
query {
dbHost: 10.100.0.18
}

View File

@ -0,0 +1,11 @@
meta {
name: StoreById
type: http
seq: 3
}
get {
url: {{host}}/hdpos/api/stores/4
body: none
auth: none
}

View File

@ -0,0 +1,15 @@
meta {
name: StoreDetails
type: http
seq: 4
}
get {
url: {{host}}/hdpos/api/stores/4/details?dbHost=10.100.0.18
body: none
auth: none
}
query {
dbHost: 10.100.0.18
}

15
bruno/stores/Version.bru Normal file
View File

@ -0,0 +1,15 @@
meta {
name: Version
type: http
seq: 6
}
get {
url: {{host}}/hdpos/api/stores/4/version?dbHost=10.100.0.18
body: none
auth: none
}
query {
dbHost: 10.100.0.18
}

11
bruno/stores/reload.bru Normal file
View File

@ -0,0 +1,11 @@
meta {
name: reload
type: http
seq: 8
}
get {
url: {{host}}/hdpos/api/stores/reload
body: none
auth: none
}

16
bruno/xadmin/Log.bru Normal file
View File

@ -0,0 +1,16 @@
meta {
name: Log
type: http
seq: 1
}
get {
url: {{host}}/hdpos/api/xadmin/log?beginDate=20240101&endDate=20240101
body: none
auth: none
}
query {
beginDate: 20240101
endDate: 20240101
}