Skip to content

Commit 41df298

Browse files
authored
Merge pull request #13 from SiriDB/development
Development
2 parents 337cb7c + db79386 commit 41df298

File tree

6 files changed

+35
-5
lines changed

6 files changed

+35
-5
lines changed

CHANGELOG.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
# Change Log
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/)
6+
and this project adheres to [Semantic Versioning](http://semver.org/).
7+
8+
## [Unreleased] - yyyy-mm-dd
9+
10+
11+
12+
## [0.1.0-beta2.0] - 2021-03-04
13+
14+
Migration: config file changed, all siridb related config is in a seperate settings.enodo file in the root of the data folder you give up within the conf file.
15+
16+
### Added
17+
18+
- FFE model for faster forcasting and anomaly detection
19+
- Static rules (min/max thresholds)
20+
- Environment variable support
21+
22+
### Changed
23+
24+
- Siridb connection settings moved to `settings.enodo file`, these settings can be changed during runtime
25+
26+
### Fixed
27+
28+
- Bug with listener handshake
29+
- Cleanup

lib/logging.py

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ def prepare_logger(log_level_label):
1111
ch = logging.StreamHandler()
1212
ch.setLevel(logging.DEBUG)
1313
formatter = logging.Formatter(
14-
# fmt='[%(levelname)1.1s %(asctime)s %(module)s:%(lineno)d] ' +
15-
# '%(message)s',
1614
fmt='[%(levelname)1.1s %(asctime)s hub] ' +
1715
'%(message)s',
1816
datefmt='%y%m%d %H:%M:%S',

lib/socket/socketserver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ async def _handle_client_connection(self, reader, writer):
6161
if 'client_type' in client_data:
6262
if client_data.get('client_type') == 'listener':
6363
await ClientManager.listener_connected(writer.get_extra_info('peername'), writer,
64-
client_data.get('version', None))
64+
client_data)
6565
logging.info(f'New listener with id: {client_id}')
6666
elif client_data.get('client_type') == 'worker':
6767
supported_jobs_and_models = client_data.get('jobs_and_models')

readme.md

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ To get the Enodo Hub setup you need to following the following steps:
2323
2. Setup a .conf file file `python3 main.py --create_config` There will be made a `default.conf` next to the main.py.
2424
3. Fill in the `default.conf` file
2525
4. Call `python3 main.py --config=default.conf` to start the hub.
26+
5. Fill `in settings.endo` file, which you can find in the data folder by the path set in the conf file with key: `enodo_base_save_path`
27+
6. Restart Hub
28+
7. You can also setup the config by environment variables. These names are identical to those in the default.conf file, except all uppercase.
2629

2730
## API's
2831

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ aiohttp_cors==0.7.0
55
jinja2==2.11.3
66
marshmallow==3.10.0
77
psutil==5.8.0
8-
python-enodo==0.1.5
8+
python-enodo==0.1.7
99
python-socketio==5.0.4
1010
qpack==0.0.17
1111
siridb-connector==2.0.5

version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '0.1.0-beta1.1'
1+
VERSION = '0.1.0-beta2.0'

0 commit comments

Comments
 (0)