03 2020 档案

摘要:金融云部署项目的运行环境是linux环境,如果打包的properties文件格式不是unix,健康检查会失败,原因是不同格式换行符的不同需要注意的是:Windows采用回车+换行(CR+LF)表示下一行UNIX/Linux采用换行符(LF)表示下一行苹果(MAC OS系统)则采用回车符(CR)表示下 阅读全文
posted @ 2020-03-25 12:20 宇枫 阅读(317) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/hujinshui/p/11025848.html 阅读全文
posted @ 2020-03-20 12:49 宇枫 阅读(2236) 评论(0) 推荐(0)
摘要:#提交的代码量统计 git log --since ==2019-01-01 --until=2019-12-31 --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "新 阅读全文
posted @ 2020-03-17 09:33 宇枫 阅读(1928) 评论(0) 推荐(0)
摘要:1.创建不同环境下的目录文件 2.设置key值对应关系 3.添加profiles配置 <profiles> <profile> <id>dev</id> <properties> <env>dev</env> </properties> <activation> <activeByDefault>t 阅读全文
posted @ 2020-03-13 17:36 宇枫 阅读(1318) 评论(0) 推荐(0)
摘要:1.需要用@xxx@来代替${xxx}2.项目中如properties配置了自定义的key值my.key=hello,可以用maven打包命令 -Dmy.key=hi 来强行覆盖 3.转:Spring Boot使用Maven打包替换资源文件占位符 在Spring Boot开发中,通过Maven构建项 阅读全文
posted @ 2020-03-04 11:18 宇枫 阅读(227) 评论(0) 推荐(0)