wip
This commit is contained in:
committed by
=Michael Hohn
parent
16bedf89d8
commit
512419a143
@@ -9,7 +9,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
cim "github.com/advanced-security/mrvacommander/lib/commander/inmemory"
|
"github.com/advanced-security/mrvacommander/lib/commander/lcmem"
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
"github.com/hohn/ghes-mirva-server/analyze"
|
"github.com/hohn/ghes-mirva-server/analyze"
|
||||||
co "github.com/hohn/ghes-mirva-server/common"
|
co "github.com/hohn/ghes-mirva-server/common"
|
||||||
@@ -105,7 +105,7 @@ func MirvaStatus(w http.ResponseWriter, r *http.Request) {
|
|||||||
ji := store.GetJobInfo(js)
|
ji := store.GetJobInfo(js)
|
||||||
|
|
||||||
analyze.StatusResponse(w, js, ji, id)
|
analyze.StatusResponse(w, js, ji, id)
|
||||||
cim.StatusResponse(w, js, ji, id)
|
lcmem.StatusResponse(w, js, ji, id)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Download artifacts
|
// Download artifacts
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
package analyze
|
// The in-memory implementation of the mrva commander library
|
||||||
|
package lcmem
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
Reference in New Issue
Block a user