refactor(modules): moved modules to app to control everything based on there active setting

This commit is contained in:
2025-10-29 21:57:11 -05:00
parent 6493e0398a
commit 99b2d762d6
35 changed files with 5807 additions and 121 deletions

View File

@@ -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",

View File

@@ -12,8 +12,8 @@ post {
body:json {
{
"username": "cowch",
"password": "Alpla2025!"
"username": "matthes01",
"password": "nova0511"
}
}

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -0,0 +1,8 @@
meta {
name: modules
seq: 3
}
auth {
mode: inherit
}

View File

@@ -1,5 +1,5 @@
vars {
url: http://localhost:4200
url: https://usmcd1vms036.alpla.net
session_cookie:
urlv2: http://localhost:3000
jwtV2: