refactor(modules): moved modules to app to control everything based on there active setting
This commit is contained in:
@@ -4,16 +4,12 @@ meta {
|
||||
seq: 7
|
||||
}
|
||||
|
||||
patch {
|
||||
url: {{url}}/lst/api/admin/users/:userID/grant
|
||||
get {
|
||||
url: {{url}}/lst/api/user/roles
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
userID: 0hlO48C7Jw1J804FxrCnonKjQ2zh48R6
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"module":"siloAdjustments",
|
||||
|
||||
@@ -12,8 +12,8 @@ post {
|
||||
|
||||
body:json {
|
||||
{
|
||||
"username": "cowch",
|
||||
"password": "Alpla2025!"
|
||||
"username": "matthes01",
|
||||
"password": "nova0511"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: GetModules
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{url}}/lst/api/system/modules
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
meta {
|
||||
name: Update Modules
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
patch {
|
||||
url: {{url}}/lst/api/system/modules/update/:module
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
module: materialHelper
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"active": true,
|
||||
"updateAll": true
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: modules
|
||||
seq: 3
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
vars {
|
||||
url: http://localhost:4200
|
||||
url: https://usmcd1vms036.alpla.net
|
||||
session_cookie:
|
||||
urlv2: http://localhost:3000
|
||||
jwtV2:
|
||||
|
||||
Reference in New Issue
Block a user