Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
N
node-bigstream
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bs
node-bigstream
Commits
e4741edd
Commit
e4741edd
authored
Aug 10, 2021
by
Kamron Aroonrua
💬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ondev-gcs' into 'dev'
storage pattern subscr See merge request
!42
parents
25730139
f1147c38
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
Changelog
Changelog
+2
-1
storage-eventlist.js
lib/mems/storage-eventlist.js
+8
-1
version.json
version.json
+1
-1
No files found.
Changelog
View file @
e4741edd
#Changelog
#Changelog
## [1.2.5dev] - 2021-08-
04
## [1.2.5dev] - 2021-08-
11
### Added
### Added
- DOCKER :: TZ Data
- DOCKER :: TZ Data
- STORAGE :: Wirdcard Subscribe
### Fixed
### Fixed
- PLUGIN :: dt-mysql port param
- PLUGIN :: dt-mysql port param
## [1.2.4] - 2021-06-21
## [1.2.4] - 2021-06-21
...
...
lib/mems/storage-eventlist.js
View file @
e4741edd
var
Redis
=
require
(
'redis'
);
var
Redis
=
require
(
'redis'
);
var
mmatch
=
require
(
"minimatch"
);
const
KEYS
=
'bs:regis:triggers'
;
const
KEYS
=
'bs:regis:triggers'
;
module
.
exports
.
create
=
function
(
cfg
)
module
.
exports
.
create
=
function
(
cfg
)
...
@@ -78,8 +80,13 @@ StorageEventList.prototype.update = function(cb)
...
@@ -78,8 +80,13 @@ StorageEventList.prototype.update = function(cb)
StorageEventList
.
prototype
.
findJob
=
function
(
sname
)
StorageEventList
.
prototype
.
findJob
=
function
(
sname
)
{
{
var
jobs
=
[];
var
jobs
=
[];
// this.sel.forEach( function (val) {
// if(val.storage_name == sname){
// jobs.push(val);
// }
// });
this
.
sel
.
forEach
(
function
(
val
)
{
this
.
sel
.
forEach
(
function
(
val
)
{
if
(
val
.
storage_name
==
sname
){
if
(
mmatch
(
sname
,
val
.
storage_name
)
){
jobs
.
push
(
val
);
jobs
.
push
(
val
);
}
}
});
});
...
...
version.json
View file @
e4741edd
{
{
"version"
:
"1.2.5dev"
,
"version"
:
"1.2.5dev"
,
"build"
:
"202108
0416
00"
"build"
:
"202108
1100
00"
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment