Browse Source

En cours de développement

master
mls-361 8 months ago
parent
commit
739232e04c
  1. 12
      go.mod
  2. 28
      go.sum
  3. 3
      internal/api/api.go

12
go.mod

@ -3,12 +3,12 @@ module forge.chapril.org/armen/armen
go 1.16
require (
forge.chapril.org/armen/jw v0.0.0-20210818171942-8aa1b1ff4ef1
forge.chapril.org/armen/memory v0.0.0-20210818172030-e30bcad1d6b2
forge.chapril.org/armen/model v0.0.0-20210905143135-46a85063987e
forge.chapril.org/armen/requestor v0.0.0-20210905143351-b232cb7475bd
forge.chapril.org/armen/runner v0.0.0-20210818172841-6f4a75690ae2
forge.chapril.org/armen/workers v0.0.0-20210818172904-86e683e8a122
forge.chapril.org/armen/jw v0.0.0-20210905161912-35e0cdec2d86
forge.chapril.org/armen/memory v0.0.0-20210905171004-a099a6365ff4
forge.chapril.org/armen/model v0.0.0-20210905171033-3a658de2a33e
forge.chapril.org/armen/requestor v0.0.0-20210905183922-468b40e4030e
forge.chapril.org/armen/runner v0.0.0-20210905184003-d947a1d08c78
forge.chapril.org/armen/workers v0.0.0-20210905184022-820944b071c6
forge.chapril.org/mls-361/application v0.0.0-20210805205753-c663b93b7e1a
forge.chapril.org/mls-361/crypto v0.0.0-20210507222429-aa9bfa212956
forge.chapril.org/mls-361/errors v0.0.0-20210507222244-6017b9315140

28
go.sum

@ -1,17 +1,17 @@
forge.chapril.org/armen/factory v0.0.0-20210818172011-f3cfe2263f91 h1:jZvsY6QUQyk2uO7kcsxqwoSUDwGuK3Wt2fpmX5kYpsM=
forge.chapril.org/armen/factory v0.0.0-20210818172011-f3cfe2263f91/go.mod h1:8FsPUUySsGQtQTKkWnKVY3p7mkUwVc/+3C1punnGUP8=
forge.chapril.org/armen/jw v0.0.0-20210818171942-8aa1b1ff4ef1 h1:e0TkafcDPaZRQvRM4cMP2lOUXWzni3z7S6LKQfA9t3E=
forge.chapril.org/armen/jw v0.0.0-20210818171942-8aa1b1ff4ef1/go.mod h1:kLvCjoMCnH7vj9ulAk1gcA0r9CpS9rBeeMq1Nu11emk=
forge.chapril.org/armen/memory v0.0.0-20210818172030-e30bcad1d6b2 h1:92iEK2OQIKrcAwB7mMBLvr5/0oo0RCgQ0YCZiD5wzcE=
forge.chapril.org/armen/memory v0.0.0-20210818172030-e30bcad1d6b2/go.mod h1:h31f46tV9ntcbFr4tqFOrNBLEh6Iqrjh855bmbgor8o=
forge.chapril.org/armen/model v0.0.0-20210905143135-46a85063987e h1:eESw76luVXEeUXBhYvEDzzRTOkxr8OXddPzMQxzCE8Q=
forge.chapril.org/armen/model v0.0.0-20210905143135-46a85063987e/go.mod h1:U6WUKjsT93TqJ+zpj5L16u8xdIkTWq3Yq4xBH2qEijc=
forge.chapril.org/armen/requestor v0.0.0-20210905143351-b232cb7475bd h1:3RsmvS/atpUFSbGw3NVHer50+WtbMw/lv2h3hW7REyw=
forge.chapril.org/armen/requestor v0.0.0-20210905143351-b232cb7475bd/go.mod h1:TAjGmDNtBUA9dAMifU0Sk3UmQuE3ZXMc+nPkim6BiDo=
forge.chapril.org/armen/runner v0.0.0-20210818172841-6f4a75690ae2 h1:Qk2fN735wHeNeTDaUWTYMkht2hN9kMHskcmTD46cT6I=
forge.chapril.org/armen/runner v0.0.0-20210818172841-6f4a75690ae2/go.mod h1:jEz24GFudi2azgIoV2wzu7zoo4vmfK9MSNQu+BgfK5g=
forge.chapril.org/armen/workers v0.0.0-20210818172904-86e683e8a122 h1:fgmlhnNJhTRM6372QEhplJ9jWuQb7Z279OokcSuHLTI=
forge.chapril.org/armen/workers v0.0.0-20210818172904-86e683e8a122/go.mod h1:A2neAykqs244r9B5vnDIbDz24q8zfOYeNHXSpFt9Si4=
forge.chapril.org/armen/factory v0.0.0-20210905161940-b51957d00102 h1:ADYbFljHAS93OTSmdjH1VqruQl2JqPchwdchO+u0R0U=
forge.chapril.org/armen/factory v0.0.0-20210905161940-b51957d00102/go.mod h1:eFDv+R9KP8e+q7y732k2zoEgGJvP9tdE5R8jNJTWmF4=
forge.chapril.org/armen/jw v0.0.0-20210905161912-35e0cdec2d86 h1:QW3ID0dHU3NxJfuALhOy8td9WEdDviTFtmjMUPFQ5NI=
forge.chapril.org/armen/jw v0.0.0-20210905161912-35e0cdec2d86/go.mod h1:kLvCjoMCnH7vj9ulAk1gcA0r9CpS9rBeeMq1Nu11emk=
forge.chapril.org/armen/memory v0.0.0-20210905171004-a099a6365ff4 h1:Su9TOBmg7QfJ6pV4J5W5VJHUDBY9vPCrxn0QtwSZsnI=
forge.chapril.org/armen/memory v0.0.0-20210905171004-a099a6365ff4/go.mod h1:NGH5dHtk6URZefyVMLPLuppFuI6DMRsliEGdvv7XTmc=
forge.chapril.org/armen/model v0.0.0-20210905171033-3a658de2a33e h1:i6TKCRl6UZKHsXffd/r7LiH3GwPwdTxVXMUOT4iCJUU=
forge.chapril.org/armen/model v0.0.0-20210905171033-3a658de2a33e/go.mod h1:LfngPJzbR+KaBH86ib7sBm27Togu/rYMDTMLonW8sow=
forge.chapril.org/armen/requestor v0.0.0-20210905183922-468b40e4030e h1:BJebRyF/Mp9c+gAuTgi2znTZE/PJMEGUpSGqpZx2hts=
forge.chapril.org/armen/requestor v0.0.0-20210905183922-468b40e4030e/go.mod h1:hOO6CQg3xL6US+5bg1nB04o+zZqCjfi2RbDoNu80BKc=
forge.chapril.org/armen/runner v0.0.0-20210905184003-d947a1d08c78 h1:PfxOfiy6ynjxxhOj+CEpnoBJCPH/A1eh3OCtanUmlgk=
forge.chapril.org/armen/runner v0.0.0-20210905184003-d947a1d08c78/go.mod h1:cmn+Bv8SavE8yvQ0QU48oEVfoIMU8CkJPWCNSy9nQdM=
forge.chapril.org/armen/workers v0.0.0-20210905184022-820944b071c6 h1:hl1TBDJAEdQsMsRpK20654UexKdr6CZqTJPKUkr8Fxw=
forge.chapril.org/armen/workers v0.0.0-20210905184022-820944b071c6/go.mod h1:CSPkwnrFfKO0QOKCO7ns59SeYzsae0SlADjjrX66uHY=
forge.chapril.org/mls-361/application v0.0.0-20210805205753-c663b93b7e1a h1:a/wz9VG0kz3/7irVFefvVpCzsHftOrVibIScG80G8x0=
forge.chapril.org/mls-361/application v0.0.0-20210805205753-c663b93b7e1a/go.mod h1:UO8SSkarQiA194I3h2T1EU0tASvsfemEcVn8RhA5EAE=
forge.chapril.org/mls-361/buffer v0.0.0-20210410182428-5dc7a7b2ae79 h1:Lh+y98uVFC7btl5FdxKNtokzHD2j14R4ZIgJECao6r4=

3
internal/api/api.go

@ -170,9 +170,12 @@ func Build(ccs *components.Components) {
router.POST("/api/job/create", api.debug(api.createJob))
router.GET("/api/job/next/:namespace", api.trace(api.nextJob))
router.PUT("/api/job/update", api.debug(api.updateJob))
//router.PUT("/api/job/:id/notify", api.debug(api.notifyJob))
//router.PUT("/api/job/:id/setpriority/:priority", api.debug(api.setJobPriority))
//router.PUT("/api/job/:id/setrunafter/:duration", api.debug(api.setJobRunAfter))
router.POST("/api/workflow/create", api.debug(api.createWorkflow))
//router.PUT("/api/workflow/:id/setpriority/:priority", api.debug(api.setWorkflowPriority))
router.GET("/api/admin/logger/list", api.debug(api.adminListLogger))
router.PUT("/api/admin/logger/:id/setlevel/:level", api.debug(api.adminSetLoggerLevel))

Loading…
Cancel
Save