Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
MKCLOS
Core Development Platform
corepkgv2
Commits
365745bf
Commit
365745bf
authored
4 years ago
by
Akshay Bharambe
2
Browse files
Options
Downloads
Patches
Plain Diff
Add: Branch to AbstractBusinessLogicHolder
parent
9ab4b4f2
2 merge requests
!220
Release v2.0.0 alpha
,
!219
Add: Support for branches
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
servicebuildermdl/servicebuildermdl.go
+5
-0
servicebuildermdl/servicebuildermdl.go
with
5 additions
and
0 deletions
servicebuildermdl/servicebuildermdl.go
+
5
−
0
View file @
365745bf
...
...
@@ -111,6 +111,7 @@ type AbstractBusinessLogicHolder struct {
TransactionEnable
bool
DatabaseType
string
// database type for transaction begin(MYSQL,SQLSERVER etc.)
IgnoreStrictMode
bool
Branch
string
// branch name provided in the header
TXN
*
sql
.
Tx
// transaction for MySQL
SQLServerTXN
*
sql
.
Tx
// Transaction for SQLServer
GraphDbTXN
*
dgo
.
Txn
...
...
@@ -127,6 +128,10 @@ func SetGlobalConfig(configs map[string]GlobalConfigModel) {
})
}
func
(
ab
*
AbstractBusinessLogicHolder
)
SetBranch
(
branch
string
)
{
ab
.
Branch
=
branch
}
// GetDataString will give you string
func
(
ab
*
AbstractBusinessLogicHolder
)
GetDataString
(
key
string
)
(
string
,
bool
)
{
//check in map
...
...
This diff is collapsed.
Click to expand it.
Ajit Jagtap
@ajitj
mentioned in commit
45b93576
·
4 years ago
mentioned in commit
45b93576
mentioned in commit 45b93576613fffa28ac13e87fd0c8f3486586208
Toggle commit list
Akshay Bharambe
@akshayb
mentioned in merge request
!226 (merged)
·
4 years ago
mentioned in merge request
!226 (merged)
mentioned in merge request !226
Toggle commit list
Preview
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets