From d3778129fc3dbef136fd47b5ad9dfd515798d8b0 Mon Sep 17 00:00:00 2001 From: winc-link Date: Tue, 29 Aug 2023 09:24:06 +0800 Subject: [PATCH] revise copyright --- cmd/hummingbird-core/Dockerfile | 2 +- cmd/hummingbird-core/main.go | 2 +- cmd/hummingbird-core/res/configuration.toml | 5 ----- cmd/hummingbird-core/res/configuration.toml.dist | 4 ---- internal/dtos/db.go | 2 +- internal/pkg/config/types.go | 2 +- internal/pkg/constants/common.go | 2 +- manifest/docker/docker-compose.yml | 5 ++--- 8 files changed, 7 insertions(+), 17 deletions(-) diff --git a/cmd/hummingbird-core/Dockerfile b/cmd/hummingbird-core/Dockerfile index e2ba89b..d7e28e4 100644 --- a/cmd/hummingbird-core/Dockerfile +++ b/cmd/hummingbird-core/Dockerfile @@ -1,5 +1,5 @@ # ---------------------------------------------------------------------------------- -# Copyright 2018 Dell Technologies, Inc. +# Copyright 2018 hummingbird, J. # Copyright 2018 Cavium # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/cmd/hummingbird-core/main.go b/cmd/hummingbird-core/main.go index 26a5bf5..47d0e42 100644 --- a/cmd/hummingbird-core/main.go +++ b/cmd/hummingbird-core/main.go @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright 2018 Dell Inc. + * Copyright 2023 Winc link Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at diff --git a/cmd/hummingbird-core/res/configuration.toml b/cmd/hummingbird-core/res/configuration.toml index 5b9ecc1..e8d8f5c 100644 --- a/cmd/hummingbird-core/res/configuration.toml +++ b/cmd/hummingbird-core/res/configuration.toml @@ -3,14 +3,10 @@ LogLevel = 'INFO' LogPath = 'hummingbird/logs/hummingbird-core.log' [Service] -BootTimeout = 30000 -CheckInterval = '10s' Host = '0.0.0.0' ServerBindAddr = '' # Leave blank so default to Host value unless different value is needed. Port = 58081 Protocol = 'http' -MaxResultCount = 50000 -StartupMsg = 'This is the Core Resource Microservice' Timeout = 45000 [RpcServer] @@ -47,4 +43,3 @@ Host = '127.0.0.1' Port = 58090 Type = 'mqtt' PublishTopicPrefix = 'eventbus/in' - diff --git a/cmd/hummingbird-core/res/configuration.toml.dist b/cmd/hummingbird-core/res/configuration.toml.dist index 6e36555..0c46abd 100644 --- a/cmd/hummingbird-core/res/configuration.toml.dist +++ b/cmd/hummingbird-core/res/configuration.toml.dist @@ -3,14 +3,10 @@ LogLevel = 'INFO' LogPath = 'hummingbird/logs/hummingbird-core.log' [Service] -BootTimeout = 30000 -CheckInterval = '10s' Host = '0.0.0.0' ServerBindAddr = '' # Leave blank so default to Host value unless different value is needed. Port = 58081 Protocol = 'http' -MaxResultCount = 50000 -StartupMsg = 'This is the Core Resource Microservice' Timeout = 45000 [RpcServer] diff --git a/internal/dtos/db.go b/internal/dtos/db.go index 9422703..be945b9 100644 --- a/internal/dtos/db.go +++ b/internal/dtos/db.go @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright 2018 Dell Inc. + * Copyright 2023 Winc link Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at diff --git a/internal/pkg/config/types.go b/internal/pkg/config/types.go index 802e981..e8df1e7 100644 --- a/internal/pkg/config/types.go +++ b/internal/pkg/config/types.go @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright 2018 Dell Inc. + * Copyright 2023 Winc link Inc. * Copyright 2020 Intel Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except diff --git a/internal/pkg/constants/common.go b/internal/pkg/constants/common.go index 8f338ee..fcad587 100644 --- a/internal/pkg/constants/common.go +++ b/internal/pkg/constants/common.go @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright 2018 Dell Inc. + * Copyright 2023 Winc link Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at diff --git a/manifest/docker/docker-compose.yml b/manifest/docker/docker-compose.yml index d26efd3..b28986f 100644 --- a/manifest/docker/docker-compose.yml +++ b/manifest/docker/docker-compose.yml @@ -10,13 +10,13 @@ services: hostname: mqtt-broker restart: always ports: - - "58090:58090" + - "127.0.0.1:58090:58090" networks: - hummingbird ekuiper: image: lfedge/ekuiper:1.10.0-slim ports: - - "9081:9081" + - "127.0.0.1:9081:9081" container_name: ekuiper hostname: ekuiper restart: always @@ -46,4 +46,3 @@ services: - /var/run/docker.sock:/var/run/docker.sock networks: - hummingbird -