提交 e8f7d756 authored 作者: Tingyu Zeng's avatar Tingyu Zeng 提交者: Trevor Conn

upgrade edgex go mod contract version; upgrade project verion.

Signed-off-by: 's avatarTingyu Zeng <tingyu.zeng@rsa.com>
上级 254af692
......@@ -12,7 +12,7 @@
* the License.
*
* @author: Tingyu Zeng, Dell
* @version: 0.5.0
* @version: 1.0.0
*******************************************************************************/
package main
......
......@@ -12,7 +12,7 @@
* the License.
*
* @author: Tingyu Zeng, Dell
* @version: 0.5.0
* @version: 1.0.0
*******************************************************************************/
package main
......
......@@ -12,7 +12,7 @@
* the License.
*
* @author: Tingyu Zeng, Dell
* @version: 0.5.0
* @version: 1.0.0
*******************************************************************************/
package main
......
......@@ -12,7 +12,7 @@
* the License.
*
* @author: Tingyu Zeng, Dell
* @version: 0.5.0
* @version: 1.0.0
*******************************************************************************/
package main
......
......@@ -12,7 +12,7 @@
* the License.
*
* @author: Tingyu Zeng, Dell
* @version: 0.5.0
* @version: 1.0.0
*******************************************************************************/
package main
......
......@@ -12,7 +12,7 @@
* the License.
*
* @author: Tingyu Zeng, Dell
* @version: 0.5.0
* @version: 1.0.0
*******************************************************************************/
package main
......
......@@ -12,7 +12,7 @@
* the License.
*
* @author: Tingyu Zeng, Dell
* @version: 0.5.0
* @version: 1.0.0
*******************************************************************************/
package main
......
......@@ -12,7 +12,7 @@
* the License.
*
* @author: Tingyu Zeng, Dell
* @version: 0.5.0
* @version: 1.0.0
*******************************************************************************/
package main
......
......@@ -12,7 +12,7 @@
* the License.
*
* @author: Tingyu Zeng, Dell
* @version: 0.5.0
* @version: 1.0.0
*******************************************************************************/
package main
......@@ -24,13 +24,14 @@ import (
"os"
"time"
logger "github.com/edgexfoundry/go-mod-core-contracts/clients/logging"
logger "github.com/edgexfoundry/go-mod-core-contracts/clients/logger"
model "github.com/edgexfoundry/go-mod-core-contracts/models"
)
var lc = CreateLogging()
func CreateLogging() logger.LoggingClient {
return logger.NewClient(SecurityService, false, fmt.Sprintf("%s-%s.log", SecurityService, time.Now().Format("2006-01-02")), logger.InfoLog)
return logger.NewClient(SecurityService, false, fmt.Sprintf("%s-%s.log", SecurityService, time.Now().Format("2006-01-02")), model.InfoLog)
}
func main() {
......
......@@ -12,7 +12,7 @@
# the License.
#
# @author: Tingyu Zeng, Dell
# @version: 0.5.0
# @version: 1.0.0
#################################################################################
# This is a TOML config file for edgexsecurity service.
......
......@@ -12,7 +12,7 @@
# the License.
#
# @author: Tingyu Zeng, Dell
# @version: 0.5.0
# @version: 1.0.0
#################################################################################
# This is a TOML config file for edgexsecurity service.
......
......@@ -12,7 +12,7 @@
* the License.
*
* @author: Tingyu Zeng, Dell
* @version: 0.5.0
* @version: 1.0.0
*******************************************************************************/
package main
......
......@@ -12,7 +12,7 @@
* the License.
*
* @author: Tingyu Zeng, Dell
* @version: 0.5.0
* @version: 1.0.0
*******************************************************************************/
package main
......
......@@ -12,7 +12,7 @@
* the License.
*
* @author: Tingyu Zeng, Dell
* @version: 0.5.0
* @version: 1.0.0
*******************************************************************************/
package main
......
......@@ -12,7 +12,7 @@
* the License.
*
* @author: Tingyu Zeng, Dell
* @version: 0.5.0
* @version: 1.0.0
*******************************************************************************/
package main
......
......@@ -115,7 +115,7 @@ services:
# containers for reverse proxy
kong-db:
image: "postgres:9.5"
image: "postgres:9.6"
container_name: kong-db
hostname: kong-db
networks:
......@@ -160,7 +160,7 @@ services:
- kong-db
edgex-proxy:
image: "edgexfoundry/docker-edgex-proxy-go:0.5.0"
image: "edgexfoundry/docker-edgex-proxy-go:1.0.0"
container_name: edgex-proxy
hostname: edgex-proxy
networks:
......
......@@ -160,7 +160,7 @@ services:
- kong-db
edgex-proxy:
image: "edgexfoundry/docker-edgex-proxy-go:0.5.0"
image: "edgexfoundry/docker-edgex-proxy-go:1.0.0"
container_name: edgex-proxy
hostname: edgex-proxy
networks:
......
......@@ -4,6 +4,6 @@ require (
github.com/BurntSushi/toml v0.3.1
github.com/dghubble/sling v1.2.0
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/edgexfoundry/go-mod-core-contracts v0.0.0-20190222195937-d11dc767d321
github.com/edgexfoundry/go-mod-core-contracts v0.1.0
github.com/google/go-querystring v1.0.0 // indirect
)
......@@ -6,4 +6,4 @@
package edgexsecurity
// Global version for edgexsecurity
var Version string = "0.5.0"
var Version string = "1.0.0"
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册