Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
tsai
CAP
Commits
55891307
Commit
55891307
authored
Jun 10, 2017
by
yangxiaodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add build
parent
91bcf4ce
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
17 deletions
+26
-17
Cap.sln
Cap.sln
+12
-0
appveyor.yml
appveyor.yml
+10
-10
version.props
build/version.props
+2
-2
ConsumerHandler.cs
src/Cap.Consistency/Consumer/ConsumerHandler.cs
+2
-2
ConsistencyMessageManager.cs
src/Cap.Consistency/Store/ConsistencyMessageManager.cs
+0
-3
No files found.
Cap.sln
View file @
55891307
...
...
@@ -34,6 +34,18 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cap.Consistency.Kafka", "sr
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cap.Consistency.RabbitMQ", "src\Cap.Consistency.RabbitMQ\Cap.Consistency.RabbitMQ.csproj", "{9961B80E-0718-4280-B2A0-271B003DE26B}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{10C0818D-9160-4B80-BB86-DDE925B64D43}"
ProjectSection(SolutionItems) = preProject
build.cake = build.cake
build.ps1 = build.ps1
build.sh = build.sh
build\common.props = build\common.props
build\index.cake = build\index.cake
build\util.cake = build\util.cake
build\version.cake = build\version.cake
build\version.props = build\version.props
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
...
...
appveyor.yml
View file @
55891307
...
...
@@ -3,20 +3,20 @@ os: Visual Studio 2015
environment
:
BUILDING_ON_PLATFORM
:
win
BuildEnvironment
:
appveyor
Jobs_SqlServer_ConnectionStringTemplate
:
Server=.\SQL2012SP1;Database={0};User ID=sa;Password=Password12!
#
Jobs_SqlServer_ConnectionStringTemplate: Server=.\SQL2012SP1;Database={0};User ID=sa;Password=Password12!
services
:
-
mssql2012sp1
build_script
:
-
ps
:
./ConfigureMSDTC.ps1
#
- ps: ./ConfigureMSDTC.ps1
-
ps
:
./build.ps1
test
:
off
artifacts
:
-
path
:
artifacts/packages/*.nupkg
deploy
:
provider
:
NuGet
on
:
appveyor_repo_tag
:
true
api_key
:
secure
:
PWCeOQ12fgAhPiBjgkBAqHbvaPQArarsO2sI+8KCeXjBjE+AHaMIMW8b7efmDzQ6
skip_symbols
:
true
artifact
:
/artifacts\/packages\/.+\.nupkg/
#
deploy:
#
provider: NuGet
#
on:
#
appveyor_repo_tag: true
#
api_key:
#
secure: PWCeOQ12fgAhPiBjgkBAqHbvaPQArarsO2sI+8KCeXjBjE+AHaMIMW8b7efmDzQ6
#
skip_symbols: true
#
artifact: /artifacts\/packages\/.+\.nupkg/
build/version.props
View file @
55891307
<Project>
<PropertyGroup>
<VersionMajor>0</VersionMajor>
<VersionMinor>
7
</VersionMinor>
<VersionPatch>
2
</VersionPatch>
<VersionMinor>
1
</VersionMinor>
<VersionPatch>
0
</VersionPatch>
<VersionQuality></VersionQuality>
<VersionPrefix>$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix>
</PropertyGroup>
...
...
src/Cap.Consistency/Consumer/ConsumerHandler.cs
View file @
55891307
...
...
@@ -84,7 +84,7 @@ namespace Cap.Consistency.Consumer
_logger
.
LogInformation
(
"message receieved message topic name: "
+
consistencyMessage
.
Id
);
_messageManager
.
CreateAsync
(
consistencyMessage
);
_messageManager
.
CreateAsync
(
consistencyMessage
)
.
Wait
()
;
try
{
var
executeDescriptor
=
_selector
.
GetTopicExector
(
message
.
MessageKey
);
...
...
@@ -95,7 +95,7 @@ namespace Cap.Consistency.Consumer
invoker
.
InvokeAsync
();
_messageManager
.
UpdateAsync
(
consistencyMessage
);
_messageManager
.
UpdateAsync
(
consistencyMessage
)
.
Wait
()
;
}
catch
(
Exception
ex
)
{
...
...
src/Cap.Consistency/Store/ConsistencyMessageManager.cs
View file @
55891307
...
...
@@ -65,9 +65,6 @@ namespace Cap.Consistency.Store
ThrowIfDisposed
();
//todo: validation message fileds is correct
return
Store
.
CreateAsync
(
message
,
CancellationToken
);
}
...
...
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