Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dummy-vue-grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vig
provee
dummy-vue-grpc
Commits
704ac3d1
Commit
704ac3d1
authored
4 years ago
by
IsolatedSushi
Browse files
Options
Downloads
Patches
Plain Diff
Disabled database
parent
cb545acf
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
backend/database/config.js
+1
-1
1 addition, 1 deletion
backend/database/config.js
backend/gatewayserver/server.js
+5
-0
5 additions, 0 deletions
backend/gatewayserver/server.js
backend/microservices and load balancing/app/index.js
+6
-0
6 additions, 0 deletions
backend/microservices and load balancing/app/index.js
with
12 additions
and
1 deletion
backend/database/config.js
+
1
−
1
View file @
704ac3d1
...
...
@@ -42,7 +42,7 @@ module.exports = {
console
.
log
(
"
ERROR:
"
+
err
);
return
"
ERROR:
"
+
err
;
}
else
{
var
result
=
await
executeLocalQuery
(
query
,
connection
);
var
result
=
executeLocalQuery
(
query
,
connection
);
return
result
}
})
...
...
This diff is collapsed.
Click to expand it.
backend/gatewayserver/server.js
+
5
−
0
View file @
704ac3d1
...
...
@@ -32,6 +32,11 @@ function sendPoint(call, callback) {
//Create the query and execute it
function
addToDB
(
call
){
//TEMP disable
return
data
=
call
.
request
.
rows
;
var
query
=
'
INSERT INTO SAMPLE.dbo.pointTable (x,y)
\n
VALUES
\n
'
...
...
This diff is collapsed.
Click to expand it.
backend/microservices and load balancing/app/index.js
+
6
−
0
View file @
704ac3d1
...
...
@@ -17,6 +17,12 @@ app.get("/generatePointStream",(req,res)=>{
let
modelID
=
req
.
query
.
modelID
;
console
.
log
(
modelID
);
//temp disable
streamGeneratedPoints
(
res
);
return
if
(
modelID
==
"
undefined
"
){
streamGeneratedPoints
(
res
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment