九牧项目

来自ling
跳转至: 导航搜索

常用链接

接口和功能 https://docs.qq.com/sheet/DRXVhWVdOZFpMUUFx?tab=z3dk13

开发计划 https://docs.qq.com/sheet/DV0VHbEtOWUJtVGl5?tab=mxd1pu&_t=1632304987105

http://10.1.4.71:4999/web/

XXB

jomoo@gj123


39.98.126.59

jomoo_css_上线准备与上线步骤 css压测报告

环境信息

dev 环境
Apollo yml文件配置地址http://124.71.106.165:8080 web访问地址http://124.71.106.165:8070
eureka http://124.71.106.165:8761/eureka/
内网访问地址 10.222.32.88:29999

test环境
Apollo yml文件配置地址 http://124.71.69.106:8080 web访问地址http://124.71.69.106:8070
eureka http://124.71.69.106:8761/eureka/
内网访问地址 10.222.32.88:39999
xxl-job:http://124.71.69.106:8060/toLogin 用户名:admin 密码:123456

Apollo账号
用户名:css
密码:css-dev

开发环境

gateway.sh

/alidata/jomoo/script/gateway.sh


tee /alidata/jomoo/script/gateway.sh <<-'EOF'
ID=`netstat -tnlp |grep 9999|awk '{print $7}' |cut -d '/' -f 1`
echo $ID
kill -9 $ID

#cd /alidata/jomoo/
#git clone http://autosync:Kpmg1234@kpmggitlab.ling2.cn/jomoo/jomoo-cloud.git
#git branch -a
#git checkout -b prod origin/prod

cd /alidata/jomoo/jomoo-cloud/jomoo-css-gateway
git reset --hard origin
git pull
mvn clean install

mkdir -p /alidata/logs/jomoo/gateway
cd /alidata/logs/jomoo/gateway
nohup java -jar /alidata/jomoo/jomoo-cloud/jomoo-css-gateway/target/jomoo-css-gateway.jar --spring.profiles.active=dev -Dribbon.eureka.enabled=true --server.port=9999 > /alidata/logs/jomoo/gateway.log 2> /dev/null &
#tail -f /alidata/logs/jomoo/gateway.log
EOF

runtime.sh

/alidata/jomoo/script/runtime.sh

tee /alidata/jomoo/script/runtime.sh <<-'EOF'
ID=`netstat -tnlp |grep 30001|awk '{print $7}' |cut -d '/' -f 1`
echo $ID
kill -9 $ID

#cd /alidata/jomoo/
#git clone http://autosync:Kpmg1234@kpmggitlab.ling2.cn/jomoo/runtime.git
#git branch -a
#git checkout -b prod origin/prod

cd /alidata/jomoo/runtime
git reset --hard origin
git pull
mvn  -U clean install

mkdir -p /alidata/logs/jomoo/runtime
cd /alidata/logs/jomoo/runtime
nohup java -jar /alidata/jomoo/runtime/sysrt-biz/target/sysrt-biz.jar --spring.profiles.active=dev -Dribbon.eureka.enabled=true --server.port=30001 > /alidata/logs/jomoo/runtime.log 2> /dev/null & 

#tail -f /alidata/logs/jomoo/runtime.log
EOF

basicdata.sh

/alidata/jomoo/script/basicdata.sh

tee /alidata/jomoo/script/basicdata.sh <<-'EOF'
ID=`netstat -tnlp |grep 30002|awk '{print $7}' |cut -d '/' -f 1`
echo $ID
kill -9 $ID

#cd /alidata/jomoo/
#git clone http://autosync:Kpmg1234@kpmggitlab.ling2.cn/jomoo/css_basic_data.git
#git branch -a
#git checkout -b prod origin/prod

cd /alidata/jomoo/css_basic_data
git reset --hard origin
git pull
mvn  -U clean install

mkdir -p /alidata/logs/jomoo/css_basic_data
cd /alidata/logs/jomoo/css_basic_data
nohup java -jar /alidata/jomoo/css_basic_data/cssbasicdata-biz/target/cssbasicdata-biz.jar --spring.profiles.active=dev -Dribbon.eureka.enabled=true --server.port=30002 > /alidata/logs/jomoo/basicdata.log 2> /dev/null & 

#tail -f /alidata/logs/jomoo/basicdata.log
EOF

css_work_order.sh

/alidata/jomoo/script/css_work_order.sh

tee /alidata/jomoo/script/css_work_order.sh <<-'EOF'
ID=`netstat -tnlp |grep 30003|awk '{print $7}' |cut -d '/' -f 1`
echo $ID
kill -9 $ID

#cd /alidata/jomoo/
#git clone http://autosync:Kpmg1234@kpmggitlab.ling2.cn/jomoo/css_work_order.git
#git branch -a
#git checkout -b prod origin/prod

cd /alidata/jomoo/css_work_order
git reset --hard origin
git pull
mvn -U clean install

mkdir -p /alidata/logs/jomoo/css_work_order
cd /alidata/logs/jomoo/css_work_order
nohup java -jar /alidata/jomoo/css_work_order/cssworkorder-biz/target/cssworkorder-biz.jar --spring.profiles.active=dev -Dribbon.eureka.enabled=true --server.port=30003 > /alidata/logs/jomoo/css_work_order.log 2> /dev/null & 

#tail -f /alidata/logs/jomoo/css_work_order.log
EOF

css_spare_parts.sh

/alidata/jomoo/script/css_spare_parts.sh

tee /alidata/jomoo/script/css_spare_parts.sh <<-'EOF'
ID=`netstat -tnlp |grep 30004|awk '{print $7}' |cut -d '/' -f 1`
echo $ID
kill -9 $ID

#cd /alidata/jomoo/
#git clone http://autosync:Kpmg1234@kpmggitlab.ling2.cn/jomoo/css_spare_parts.git
#git branch -a
#git checkout -b prod origin/prod

cd /alidata/jomoo/css_spare_parts
git reset --hard origin
git pull
mvn -U clean install

mkdir -p /alidata/logs/jomoo/css_spare_parts
cd /alidata/logs/jomoo/css_spare_parts
nohup java -jar /alidata/jomoo/css_spare_parts/cssspareparts-biz/target/cssspareparts-biz.jar --spring.profiles.active=dev -Dribbon.eureka.enabled=true --server.port=30004 > /alidata/logs/jomoo/css_spare_parts.log 2> /dev/null & 

#tail -f /alidata/logs/jomoo/css_spare_parts.log
EOF

css_dispatch_mgt.sh

/alidata/jomoo/script/css_dispatch_mgt.sh

tee /alidata/jomoo/script/css_dispatch_mgt.sh <<-'EOF'
ID=`netstat -tnlp |grep 30005|awk '{print $7}' |cut -d '/' -f 1`
echo $ID
kill -9 $ID

#cd /alidata/jomoo/
#git clone http://autosync:Kpmg1234@kpmggitlab.ling2.cn/jomoo/css_dispatch_mgt.git
#git branch -a
#git checkout -b prod origin/prod

cd /alidata/jomoo/css_dispatch_mgt
git reset --hard origin
git pull
mvn clean install

mkdir -p /alidata/logs/jomoo/css_dispatch_mgt
cd /alidata/logs/jomoo/css_dispatch_mgt
nohup java -jar /alidata/jomoo/css_dispatch_mgt/cssdispatchmgt-biz/target/cssdispatchmgt-biz.jar --spring.profiles.active=dev -Dribbon.eureka.enabled=true --server.port=30005 > /alidata/logs/jomoo/css_dispatch_mgt.log 2> /dev/null & 

#tail -f /alidata/logs/jomoo/css_dispatch_mgt.log
EOF

qa

10.222.34.88:80

124.71.106.165:30005

ibz

http://kpmgis.ibizee.cn/

http://172.16.150.249/slnstudio/#/common_slnindex/

账号

九牧华为云平台:
https://auth.huaweicloud.com/authui/login.html?service=https%3A%2F%2Fconsole.huaweicloud.com%2Fmessage%2F%3FsubType%3Dcn_sms%26cloud_route_state%3D%2FmsgSms%2FmodelManage#/login
华为云账号: JOMOO_IT
wangbo_BMW
密码:Wangbo..123




vpn 毕马威王波     18001846866

1.	在wifi列表找到“Wifi-office”,点击连接,wifi密码: jomoo@gj123


2.	连接成功后,会自动弹出一个网络接入网站,直接关掉


3.	打开浏览器,地址栏输入 172.18.73.240

4.	若访问成功,则输入自己的账号密码,建议手机号码登陆
账号:自己的中文名(例:张三)
密码:123.com
注:公司电脑这一步可能会失败,打不开网页


5.	网址栏输入 172.18.1.201:8880,如果能打开MikeCRM系统,说明内网连接成功

VPN账号:
user001_kpmgis    4gs29h7k
user002_kpmgis    i5086we7
user003_kpmgis    c1qlin6t
user004_kpmgis    itdlcxve 
user005_kpmgis    ti2zk5ci


东东:
admin   

东东:
K123456

#卸载组件
npm uninstall interactjs
#安装指定组件
npm install --save-dev interactjs@1.8.3

npm install yarn tyarn -g 
tyarn install
tyarn remove interactjs
tyarn add interactjs@1.8.3 --dev

遇到问题

docker sapjco3

https://blog.csdn.net/wenfeifang/article/details/88676326

# FROM swr.cn-south-1.myhuaweicloud.com/jomoo/openjdk8
# FROM openjdk:8-slim
FROM swr.cn-south-1.myhuaweicloud.com/jomoo/openjdk8
VOLUME /tmp
#ENV JAVA_OPTS="-Dcom.sun.management.jmxremote.port=39083 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"
ENV JAVA_OPTS=""
COPY localtime /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone
COPY cssspareparts-biz/target/cssspareparts-biz.jar app.jar

COPY cssspareparts-biz/src/main/resources/jar/libsapjco3.so /app/libsapjco3.so
COPY cssspareparts-biz/src/main/resources/jar/sapjco3.pdb /app/sapjco3.pdb
COPY cssspareparts-biz/src/main/resources/jar/sapjco3.dll /app/sapjco3.dll
COPY cssspareparts-biz/src/main/resources/jar/sapjco3.jar /app/sapjco3.jar

RUN chmod a+x -R  /app/libsapjco3.so
RUN chmod a+x -R  /app/sapjco3.pdb
RUN chmod a+x -R  /app/sapjco3.dll
RUN chmod a+x -R  /app/sapjco3.jar

# COPY cssspareparts-biz/src/main/resources/jar/libsapjco3.so /opt/java/openjdk/lib/libsapjco3.so
# COPY cssspareparts-biz/src/main/resources/jar/sapjco3.pdb /opt/java/openjdk/lib/sapjco3.pdb
# COPY cssspareparts-biz/src/main/resources/jar/sapjco3.dll /opt/java/openjdk/lib/sapjco3.dll
# COPY cssspareparts-biz/src/main/resources/jar/sapjco3.jar /opt/java/openjdk/lib/sapjco3.jar
#
# COPY cssspareparts-biz/src/main/resources/jar/libsapjco3.so /opt/java/openjdk/jre/lib/libsapjco3.so
# COPY cssspareparts-biz/src/main/resources/jar/sapjco3.jar /opt/java/openjdk/jre/lib/sapjco3.pdb
# COPY cssspareparts-biz/src/main/resources/jar/sapjco3.jar /opt/java/openjdk/jre/lib/sapjco3.dll
# COPY cssspareparts-biz/src/main/resources/jar/sapjco3.jar /opt/java/openjdk/jre/lib/sapjco3.jar
#
# COPY cssspareparts-biz/src/main/resources/jar/libsapjco3.so /opt/java/openjdk/jre/lib/amd64/server/libsapjco3.so
# COPY cssspareparts-biz/src/main/resources/jar/sapjco3.pdb /opt/java/openjdk/jre/lib/amd64/server/sapjco3.pdb
# COPY cssspareparts-biz/src/main/resources/jar/sapjco3.dll /opt/java/openjdk/jre/lib/amd64/server/sapjco3.dll
# COPY cssspareparts-biz/src/main/resources/jar/sapjco3.jar /opt/java/openjdk/jre/lib/amd64/server/sapjco3.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom","-Djava.library.path=/app", "-jar", "/app.jar"]