updated logic imports

This commit is contained in:
tzwang 2024-04-07 17:31:12 +08:00
parent 6f095a7586
commit 465b5009e8
41 changed files with 130 additions and 160 deletions

View File

@ -4,17 +4,16 @@ import (
"context" "context"
"flag" "flag"
"fmt" "fmt"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/config"
"gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/cron"
"gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils"
"gitlink.org.cn/JointCloud/pcm-ac/internal/server"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"gitlink.org.cn/JointCloud/pcm-coordinator/rpc/client/participantservice" "gitlink.org.cn/JointCloud/pcm-coordinator/rpc/client/participantservice"
"gitlink.org.cn/JointCloud/pcm-coordinator/rpc/pcmCore" "gitlink.org.cn/JointCloud/pcm-coordinator/rpc/pcmCore"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/cron"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils"
"strconv" "strconv"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/config"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/server"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/conf" "github.com/zeromicro/go-zero/core/conf"
"github.com/zeromicro/go-zero/core/service" "github.com/zeromicro/go-zero/core/service"
"github.com/zeromicro/go-zero/zrpc" "github.com/zeromicro/go-zero/zrpc"

View File

@ -5,10 +5,8 @@ package hpcacclient
import ( import (
"context" "context"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"github.com/zeromicro/go-zero/zrpc" "github.com/zeromicro/go-zero/zrpc"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"google.golang.org/grpc" "google.golang.org/grpc"
) )

View File

@ -3,7 +3,7 @@ package common
import ( import (
"flag" "flag"
"github.com/zeromicro/go-zero/core/conf" "github.com/zeromicro/go-zero/core/conf"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/config" "gitlink.org.cn/JointCloud/pcm-ac/internal/config"
"strconv" "strconv"
) )

View File

@ -2,10 +2,10 @@ package logic
import ( import (
"context" "context"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils/httputils" "gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc" "gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
) )

View File

@ -3,15 +3,15 @@ package logic
import ( import (
"context" "context"
"encoding/json" "encoding/json"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"io" "io"
"net/http" "net/http"
"net/url" "net/url"
"time" "time"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
) )
type DeleteJobLogic struct { type DeleteJobLogic struct {

View File

@ -3,13 +3,11 @@ package logic
import ( import (
"context" "context"
"errors" "errors"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common"
"log"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"log"
) )
type DeleteTaskAiLogic struct { type DeleteTaskAiLogic struct {

View File

@ -2,10 +2,10 @@ package logic
import ( import (
"context" "context"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils" "gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils/httputils" "gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc" "gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"strconv" "strconv"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"

View File

@ -3,11 +3,9 @@ package logic
import ( import (
"context" "context"
"github.com/go-resty/resty/v2" "github.com/go-resty/resty/v2"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
) )
type GetACClusterIdLogic struct { type GetACClusterIdLogic struct {

View File

@ -4,13 +4,12 @@ import (
"context" "context"
"encoding/json" "encoding/json"
"github.com/go-resty/resty/v2" "github.com/go-resty/resty/v2"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"io" "io"
"net/http" "net/http"
"time" "time"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
) )

View File

@ -2,14 +2,12 @@ package logic
import ( import (
"context" "context"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils/httputils"
"strconv"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"strconv"
) )
type GetComputingPowerLogic struct { type GetComputingPowerLogic struct {

View File

@ -3,14 +3,12 @@ package logic
import ( import (
"context" "context"
"errors" "errors"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"log" "log"
"strconv" "strconv"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx"
) )
type GetFileListLogic struct { type GetFileListLogic struct {

View File

@ -2,15 +2,13 @@ package logic
import ( import (
"context" "context"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils/httputils" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"strconv" "strconv"
"strings" "strings"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx"
) )
type GetGeneralInfoLogic struct { type GetGeneralInfoLogic struct {

View File

@ -2,11 +2,9 @@ package logic
import ( import (
"context" "context"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
) )
type GetImageAiByIdLogic struct { type GetImageAiByIdLogic struct {

View File

@ -3,9 +3,9 @@ package logic
import ( import (
"context" "context"
"errors" "errors"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc" "gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"log" "log"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"

View File

@ -3,10 +3,10 @@ package logic
import ( import (
"context" "context"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils/httputils" "gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc" "gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
) )
type GetJobDetailLogic struct { type GetJobDetailLogic struct {

View File

@ -3,12 +3,11 @@ package logic
import ( import (
"context" "context"
"errors" "errors"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"log" "log"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
) )

View File

@ -3,9 +3,9 @@ package logic
import ( import (
"context" "context"
"errors" "errors"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc" "gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"log" "log"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"

View File

@ -3,9 +3,9 @@ package logic
import ( import (
"context" "context"
"errors" "errors"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc" "gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"log" "log"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"

View File

@ -3,12 +3,11 @@ package logic
import ( import (
"context" "context"
"errors" "errors"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"log" "log"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
) )

View File

@ -3,12 +3,11 @@ package logic
import ( import (
"context" "context"
"errors" "errors"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"log" "log"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
) )

View File

@ -3,12 +3,11 @@ package logic
import ( import (
"context" "context"
"errors" "errors"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"log" "log"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
) )

View File

@ -3,12 +3,11 @@ package logic
import ( import (
"context" "context"
"fmt" "fmt"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
) )
type HistoryJobDetailLogic struct { type HistoryJobDetailLogic struct {

View File

@ -2,12 +2,11 @@ package logic
import ( import (
"context" "context"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
) )
type JobsLogic struct { type JobsLogic struct {

View File

@ -4,9 +4,9 @@ import (
"context" "context"
"github.com/bitly/go-simplejson" "github.com/bitly/go-simplejson"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc" "gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"io" "io"
"log" "log"
"net/http" "net/http"

View File

@ -3,9 +3,9 @@ package logic
import ( import (
"context" "context"
"github.com/bitly/go-simplejson" "github.com/bitly/go-simplejson"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc" "gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"io" "io"
"log" "log"
"net/http" "net/http"

View File

@ -3,14 +3,14 @@ package logic
import ( import (
"context" "context"
"encoding/json" "encoding/json"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"io" "io"
"net/http" "net/http"
"time" "time"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
) )
type ListJobManagerLogic struct { type ListJobManagerLogic struct {

View File

@ -2,12 +2,11 @@ package logic
import ( import (
"context" "context"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
) )
type ParaStorQuotaLogic struct { type ParaStorQuotaLogic struct {

View File

@ -4,10 +4,10 @@ import (
"context" "context"
"fmt" "fmt"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils" "gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc" "gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
) )
type QueryQueueDetailsLogic struct { type QueryQueueDetailsLogic struct {

View File

@ -2,14 +2,12 @@ package logic
import ( import (
"context" "context"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils/httputils"
"strconv"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"strconv"
) )
type QueryUserQuotasLimitLogic struct { type QueryUserQuotasLimitLogic struct {

View File

@ -2,12 +2,11 @@ package logic
import ( import (
"context" "context"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
) )
type QueueJobsLogic struct { type QueueJobsLogic struct {

View File

@ -3,11 +3,10 @@ package logic
import ( import (
"context" "context"
"fmt" "fmt"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
) )
type SelectQueueByUserLogic struct { type SelectQueueByUserLogic struct {

View File

@ -4,9 +4,9 @@ import (
"bytes" "bytes"
"context" "context"
"encoding/json" "encoding/json"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc" "gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"io/ioutil" "io/ioutil"
"log" "log"
"net/http" "net/http"

View File

@ -3,12 +3,11 @@ package logic
import ( import (
"context" "context"
"errors" "errors"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"log" "log"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
) )

View File

@ -3,12 +3,11 @@ package logic
import ( import (
"context" "context"
"errors" "errors"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"log" "log"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
) )

View File

@ -3,10 +3,10 @@ package logic
import ( import (
"context" "context"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC" "gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/common" "gitlink.org.cn/JointCloud/pcm-ac/internal/common"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils/httputils" "gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils/httputils"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc" "gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
) )
type WallTimeLogic struct { type WallTimeLogic struct {

View File

@ -3,8 +3,8 @@ package cron
import ( import (
"context" "context"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils"
"gitlink.org.cn/JointCloud/pcm-coordinator/rpc/client/participantservice" "gitlink.org.cn/JointCloud/pcm-coordinator/rpc/client/participantservice"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils"
) )
func ReportHeartbeat(participantRpc participantservice.ParticipantService) { func ReportHeartbeat(participantRpc participantservice.ParticipantService) {

View File

@ -1,7 +1,7 @@
package cron package cron
import ( import (
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc" "gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
) )
func AddCronGroup(svc *svc.ServiceContext) { func AddCronGroup(svc *svc.ServiceContext) {

View File

@ -3,12 +3,12 @@ package cron
import ( import (
"context" "context"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/JointCloud/pcm-ac/hpcacclient"
"gitlink.org.cn/JointCloud/pcm-ac/internal/logic"
"gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils"
"gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"gitlink.org.cn/JointCloud/pcm-coordinator/rpc/pcmCore" "gitlink.org.cn/JointCloud/pcm-coordinator/rpc/pcmCore"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcacclient"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/logic"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
) )
func SyncTask(svc *svc.ServiceContext) { func SyncTask(svc *svc.ServiceContext) {

View File

@ -5,7 +5,7 @@ import (
"errors" "errors"
"github.com/go-resty/resty/v2" "github.com/go-resty/resty/v2"
"github.com/zeromicro/go-zero/core/logx" "github.com/zeromicro/go-zero/core/logx"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/pkg/utils/httputils" "gitlink.org.cn/JointCloud/pcm-ac/internal/pkg/utils/httputils"
"runtime" "runtime"
) )

View File

@ -5,10 +5,9 @@ package server
import ( import (
"context" "context"
"gitlink.org.cn/JointCloud/pcm-ac/hpcAC"
"gitlink.org.cn/jcce-pcm/pcm-ac/hpcAC" "gitlink.org.cn/JointCloud/pcm-ac/internal/logic"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/logic" "gitlink.org.cn/JointCloud/pcm-ac/internal/svc"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/svc"
) )
type HpcACServer struct { type HpcACServer struct {

View File

@ -3,9 +3,9 @@ package svc
import ( import (
"github.com/robfig/cron/v3" "github.com/robfig/cron/v3"
"github.com/zeromicro/go-zero/zrpc" "github.com/zeromicro/go-zero/zrpc"
"gitlink.org.cn/JointCloud/pcm-ac/internal/config"
"gitlink.org.cn/JointCloud/pcm-coordinator/rpc/client/participantservice" "gitlink.org.cn/JointCloud/pcm-coordinator/rpc/client/participantservice"
"gitlink.org.cn/JointCloud/pcm-coordinator/rpc/client/pcmcore" "gitlink.org.cn/JointCloud/pcm-coordinator/rpc/client/pcmcore"
"gitlink.org.cn/jcce-pcm/pcm-ac/internal/config"
) )
type ServiceContext struct { type ServiceContext struct {