-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #53 from alexzyWu/dev-0.3.0-cc
feat(cc): Update cc module
- Loading branch information
Showing
154 changed files
with
14,701 additions
and
2,429 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
spring: | ||
profile: dev | ||
platformNS: mlss-dev | ||
datasource: | ||
driverClassName: com.mysql.jdbc.Driver | ||
# url: jdbc:mysql://10.107.108.178:3306/mlss_gzpc_bdap_dev_01?useUnicode=true&characterEncoding=utf-8 | ||
url: jdbc:mysql://localhost:3306/mlss_local_db?useUnicode=true&characterEncoding=utf-8 | ||
# url: jdbc:mysql://10.35.1.46:3306/mlss_local_db?useUnicode=true&characterEncoding=utf-8 | ||
# username: root | ||
# password: 123456 | ||
username: mlss_gzpc_bdap_dev | ||
# password: root123! | ||
password: mlss@2018 | ||
# ip: localhost | ||
# port: 3306 | ||
# db: mlss_local_db | ||
ip: 10.107.108.178 | ||
port: 3306 | ||
db: mlss_gzpc_bdap_dev_01 | ||
tokenDB: | ||
username: hdfs_gz_bdap | ||
password: hdfs@201901 | ||
ip: 10.107.108.111 | ||
port: 3306 | ||
db: hdfs_gz_bdap_test_01 | ||
server: | ||
port: 7777 | ||
servlet: | ||
context-path: /cc | ||
session: | ||
timeout: 86400 | ||
error: | ||
whitelabel: | ||
enabled: false | ||
|
||
logging: | ||
level: | ||
root: INFO | ||
cn.webank.bdp.controlcenter.dao: DEBUG | ||
path: /var/log/controlcenter | ||
|
||
core: | ||
interceptor: | ||
configs: | ||
- name: IpInterceptor | ||
add: | ||
- "/v1/auth/access/namespaces/**/notebooks/**" | ||
exclude: | ||
# - "/v1/**" | ||
- name: UserInterceptor | ||
add: | ||
- "/v1/**" | ||
exclude: | ||
- "/v1/login" | ||
- "/v1/logout" | ||
- "/v1/alerts" | ||
- "/v1/alerts/training" | ||
- "/v1/auth/access/namespaces/**/notebooks/**" | ||
- name: AuthInterceptor | ||
add: | ||
- "/v1/**" | ||
exclude: | ||
- "/v1/login" | ||
- "/v1/logout" | ||
- "/v1/alerts" | ||
- "/v1/alerts/training" | ||
- "/v1/auth/access/namespaces/**/notebooks/**" | ||
maxTokenSize: 10000 | ||
maxTokenExpireHour: 24 | ||
defaultTimestampTimeout: 2592000 | ||
um: | ||
host: 10.107.96.15 | ||
port: 8088 | ||
appId: "0015395862955265" | ||
appToken: MLSS-DI | ||
appPem: "-----BEGIN PRIVATE KEY----- | ||
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDAn+BWO+9o5DEH | ||
4yUrGGJgnIjlLDDLXuxjnq/vrl/+i/02b9usgWZQ6yLRVHao2FX7MfuFob90Xb8k | ||
5WB2pE3uEMBt3e4kq8WwO3CRJT0e+lkZvb0ygeUCSQQISJPiRMco0e8S2WWBVVUo | ||
6IwOLt5MvRw5H1VL7qrOaqjuKaK5FH35qm/dJsjNwnG8Xmi8zb8b0Mz57y49OXv7 | ||
8fKXlc7pTBVpnspBWdPZzQcu1NRn76PjyR6cF9ZmLtQSHe0uz2tMqF7ps6Q0f/Ik | ||
jSYVhI6SWsRRAg3gmShvkLcwy6Ovt1zlQecESD+Uk1+YTmPW+2nQm3k0OX6P6oQV | ||
XJ6j2GgvAgMBAAECggEBALxJSuNgMLRKIfdAvCs06azgNhw1pviUL+Ns0TMrMyBB | ||
PGFC0+r6jcXZIi6WLmr7FIi3IdJM+jVIEbiC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1eB4CecsjLssmoPBAbidh0QHAHX36KehQ | ||
0qFNcF3ddBAves3tfXPikb2vrR4Cv2XnVvlzAdlFeiJs8I14E4oNwuNG661HpOnw | ||
JYexQ9KCFZMkvplb10Nr8fE= | ||
-----END PRIVATE KEY-----" | ||
sso: | ||
defaultService: http://10.255.32.137:7777/home.html | ||
casServiceUrlPrefix: http://10.107.99.46:8080/cas | ||
casLogin: http://10.107.99.46:8080/cas/login | ||
ssoLanding: http://10.255.32.137:7777/ssolanding.html | ||
ims: | ||
accessUrl: http://10.107.118.38:10812/ims_data_access/send_alarm_by_json.do | ||
subSystemId: 5265 | ||
alertWay: 1,2,3 | ||
alertReceiver: luckliu | ||
kube: | ||
apiConfig: | ||
sysProperty: "user.dir" | ||
defaultPath: "/certs/config" | ||
path: "/etc/config/kube-config" | ||
namespacedResourceConfig: | ||
defaultRQName: mlss-default-rq | ||
defaultRQCpu: 0 | ||
defaultRQMem: 0Mi | ||
defaultRQGpu: 0 | ||
es: | ||
# address: elasticsearch | ||
# port: 9300 | ||
address: 10.107.105.207 | ||
port: 30782 | ||
learnerIndex: dlaas_learner_data | ||
dateIndex: logstash- | ||
gateway: | ||
bdpAddress: http://10.107.105.207:30795 | ||
bdapAddress: http://10.107.105.207:30794 | ||
bdapsafeAddress: http://10.107.105.207:30796 | ||
authAddress: | ||
user: http://10.107.105.207:30800/cc/v1/inter/user | ||
auth: http://10.107.105.207:30800/cc/v1/inter/auth | ||
ip: http://10.107.105.207:30800/cc/v1/inter/ip | ||
cache: | ||
cacheTime: 24h | ||
defaultTimestampTimeout: 30000 | ||
cookie: | ||
defaultTime: 86400 | ||
path: "/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,47 @@ | ||
module mlss-controlcenter-go | ||
|
||
go 1.12 | ||
go 1.13 | ||
|
||
require ( | ||
github.com/IBM/FfDL v0.1.1-rc | ||
github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d // indirect | ||
github.com/caddyserver/caddy v1.0.4 | ||
github.com/dlclark/regexp2 v1.2.0 | ||
github.com/fastly/go-utils v0.0.0-20180712184237-d95a45783239 // indirect | ||
github.com/gin-contrib/location v0.0.1 | ||
github.com/gin-gonic/gin v1.5.0 | ||
github.com/go-ldap/ldap/v3 v3.2.4 | ||
github.com/go-openapi/errors v0.19.3 | ||
github.com/go-openapi/loads v0.19.4 | ||
github.com/go-openapi/runtime v0.19.11 | ||
github.com/go-openapi/spec v0.19.3 | ||
github.com/go-openapi/spec v0.19.6 | ||
github.com/go-openapi/strfmt v0.19.4 | ||
github.com/go-openapi/swag v0.19.5 | ||
github.com/go-openapi/validate v0.19.3 | ||
github.com/go-openapi/swag v0.19.7 | ||
github.com/go-openapi/validate v0.19.5 | ||
github.com/google/uuid v1.1.1 | ||
github.com/jehiah/go-strftime v0.0.0-20171201141054-1d33003b3869 // indirect | ||
github.com/jessevdk/go-flags v1.4.0 | ||
github.com/jinzhu/copier v0.3.5 | ||
github.com/jinzhu/gorm v1.9.12 | ||
github.com/kubernetes-client/go v0.0.0-20200222171647-9dac5e4c5400 | ||
github.com/lestrrat-go/file-rotatelogs v2.3.0+incompatible | ||
github.com/lestrrat-go/strftime v1.0.1 // indirect | ||
github.com/mattn/go-isatty v0.0.11 // indirect | ||
github.com/patrickmn/go-cache v2.1.0+incompatible | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/sirupsen/logrus v1.5.0 | ||
github.com/spf13/viper v1.6.2 | ||
github.com/prometheus/common v0.10.0 | ||
github.com/seldonio/seldon-core/operator v0.0.0-20210122151420-b881f99ebc1f | ||
github.com/sirupsen/logrus v1.6.0 | ||
github.com/spf13/viper v1.7.0 | ||
github.com/tebeka/strftime v0.1.3 // indirect | ||
golang.org/x/net v0.0.0-20191027093000-83d349e8ac1a | ||
google.golang.org/grpc v1.27.1 // indirect | ||
golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb | ||
gopkg.in/cas.v2 v2.2.0 | ||
gopkg.in/yaml.v2 v2.2.7 | ||
k8s.io/api v0.0.0-20190620084959-7cf5895f2711 | ||
k8s.io/apimachinery v0.17.2 | ||
gopkg.in/yaml.v2 v2.4.0 | ||
k8s.io/api v0.18.8 | ||
k8s.io/apimachinery v0.18.8 | ||
k8s.io/client-go v12.0.0+incompatible | ||
k8s.io/utils v0.0.0-20200729134348-d5654de09c73 // indirect | ||
) | ||
|
||
replace k8s.io/api v0.18.8 => k8s.io/api v0.18.6 | ||
|
||
replace k8s.io/apimachinery v0.18.8 => k8s.io/apimachinery v0.18.6 | ||
|
||
replace k8s.io/client-go v12.0.0+incompatible => k8s.io/client-go v0.18.6 |
Oops, something went wrong.