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
055609ba
Commit
055609ba
authored
Jul 13, 2023
by
Kamron Aroonrua
💬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ondev-gcs' into 'dev'
http del patch See merge request
!49
parents
51aab56b
5eb2be0a
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
35 additions
and
6 deletions
+35
-6
Changelog
Changelog
+4
-1
Dockerfile
Dockerfile
+2
-2
Dockerfile.n12
Dockerfile.n12
+26
-0
perform.js
plugins/do/do-http/perform.js
+1
-1
perform.js
plugins/dt/dt-http/perform.js
+1
-1
version.json
version.json
+1
-1
No files found.
Changelog
View file @
055609ba
# Changelog
# Changelog
## [1.2.6dev] - 2023-0
5-2
3
## [1.2.6dev] - 2023-0
7-1
3
### Added
### Added
- TRIGGER :: http trigger callback
- TRIGGER :: http trigger callback
- PLUGIN :: do-http-callback
- PLUGIN :: do-http-callback
- PLUGIN :: dt-pgsql
- PLUGIN :: dt-pgsql
### Update
- PLUGIN :: dt-http add method delete patch
- PLUGIN :: do-http add method delete patch
### Removed
### Removed
- PLUGIN :: di-gistda-air
- PLUGIN :: di-gistda-air
- PLUGIN :: di-tanpibut
- PLUGIN :: di-tanpibut
...
...
Dockerfile
View file @
055609ba
FROM
node:1
2
-alpine
FROM
node:1
4
-alpine
RUN
apk add make gcc g++ linux-headers udev
RUN
apk add make gcc g++ linux-headers udev
...
@@ -9,7 +9,7 @@ WORKDIR /app/node-bigstream
...
@@ -9,7 +9,7 @@ WORKDIR /app/node-bigstream
RUN
npm
install
RUN
npm
install
RUN
node script/install_plugins.js
RUN
node script/install_plugins.js
FROM
node:1
2
-alpine
FROM
node:1
4
-alpine
RUN
apk add
--no-cache
python3
RUN
apk add
--no-cache
python3
RUN
apk add
--no-cache
tzdata
RUN
apk add
--no-cache
tzdata
...
...
Dockerfile.n12
0 → 100644
View file @
055609ba
FROM node:12-alpine
RUN apk add make gcc g++ linux-headers udev
COPY . /app/node-bigstream
WORKDIR /app/node-bigstream
RUN npm install
RUN node script/install_plugins.js
FROM node:12-alpine
RUN apk add --no-cache python3
RUN apk add --no-cache tzdata
COPY --from=0 /app/node-bigstream /app/node-bigstream
RUN npm install -y pm2@latest -g
RUN mkdir -p /var/bigstream/data
EXPOSE 19980 19080 19180
# start server
WORKDIR /app/node-bigstream
CMD pm2-runtime pm2.config.js
\ No newline at end of file
plugins/do/do-http/perform.js
View file @
055609ba
...
@@ -47,7 +47,7 @@ function send_request(prm,cb)
...
@@ -47,7 +47,7 @@ function send_request(prm,cb)
{
'cache-control'
:
'no-cache'
}
{
'cache-control'
:
'no-cache'
}
};
};
if
(
prm
.
method
.
toLowerCase
()
==
'post'
||
prm
.
method
.
toLowerCase
()
==
'put'
)
if
(
[
'post'
,
'put'
,
'delete'
,
'patch'
].
includes
(
prm
.
method
.
toLowerCase
())
)
{
{
options
.
method
=
prm
.
method
.
toUpperCase
();
options
.
method
=
prm
.
method
.
toUpperCase
();
...
...
plugins/dt/dt-http/perform.js
View file @
055609ba
...
@@ -84,7 +84,7 @@ function send_request(prm,cb)
...
@@ -84,7 +84,7 @@ function send_request(prm,cb)
{
'cache-control'
:
'no-cache'
}
{
'cache-control'
:
'no-cache'
}
};
};
if
(
prm
.
method
.
toLowerCase
()
==
'post'
||
prm
.
method
.
toLowerCase
()
==
'put'
)
if
(
[
'post'
,
'put'
,
'delete'
,
'patch'
].
includes
(
prm
.
method
.
toLowerCase
())
)
{
{
options
.
method
=
prm
.
method
.
toUpperCase
();
options
.
method
=
prm
.
method
.
toUpperCase
();
...
...
version.json
View file @
055609ba
{
{
"version"
:
"1.2.6dev"
,
"version"
:
"1.2.6dev"
,
"build"
:
"20230
5232
200"
"build"
:
"20230
7131
200"
}
}
\ 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