Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cis-workflow-gen
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
msc
cis-workflow-gen
Commits
39797831
There was a problem fetching the pipeline stages.
Commit
39797831
authored
3 years ago
by
Recolic K
Browse files
Options
Downloads
Patches
Plain Diff
better demo
parent
65ee366c
No related branches found
No related tags found
No related merge requests found
Pipeline
#848
passed with stage
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflows/another.cc
+7
-17
7 additions, 17 deletions
workflows/another.cc
with
7 additions
and
17 deletions
workflows/another.cc
+
7
−
17
View file @
39797831
#include
<cis-workflow-gen/quick-include.hpp>
int
main
()
{
#define DEFINE_ACTIVITY(name, entityName) \
Activity name (#name, "FleetAGC.Activities.DelayActivity", entityName); \
name.addInputSetting("Timespan", "60");
DEFINE_ACTIVITY
(
GridManager
,
"M365Poc.SPO.GridManager"
)
DEFINE_ACTIVITY
(
AuthAndProvision
,
"M365Poc.SPO.AuthProvisioning"
)
DEFINE_ACTIVITY
(
FarmsAndTennats
,
""
)
DEFINE_ACTIVITY
(
CSC
,
""
)
DEFINE_ACTIVITY
(
FastSearch
,
""
)
DEFINE_ACTIVITY
(
Microservices
,
"M365Poc.SPO.MicroServices"
)
DEFINE_ACTIVITY
(
MonitorAndAlert
,
"M365Poc.SPO.MonitoringAlerting"
)
DEFINE_ACTIVITY
(
SPOTooling
,
"M365Poc.SPO.SPOTooling"
)
DEFINE_ACTIVITY
(
UXCDNFailover
,
"M365Poc.SPO.UXCDNFailover"
)
DEFINE_ACTIVITY
(
ODFBSyncClient
,
"M365Poc.SPO.ODFBSyncClient"
)
#define A_2(name, entityName) (Activity(#name, "FleetAGC.Activities.DelayActivity", #entityName).addInputSetting("Timespan", "60"))
#define A_1(name) A_2(name, "")
#define A_proxy(x, Arg1, Arg2, FUNC, ...) FUNC
#define A(...) A_proxy(, ##__VA_ARGS__, A_2(__VA_ARGS__), A_1(__VA_ARGS__))
auto
block1
=
GridManager
>>
FarmsAndTennats
>>
(
CSC
|
FastSearch
);
auto
block2
=
Microservices
|
MonitorAndAlert
;
auto
completeFlow
=
block1
|
AuthAndProvision
|
block2
;
//
| SPOTooling | UXCDNFailover | ODFBSyncClient;
auto
block1
=
A
(
GridManager
,
M365Poc
.
SPO
.
GridManager
)
>>
A
(
FarmsAndTennats
)
>>
(
A
(
CSC
)
|
A
(
FastSearch
)
)
;
auto
block2
=
A
(
Microservices
,
M365Poc
.
SPO
.
MicroServices
)
|
A
(
MonitorAndAlert
,
M365Poc
.
SPO
.
MonitoringAlerting
)
;
auto
completeFlow
=
block1
|
A
(
AuthAndProvision
,
M365Poc
.
SPO
.
AuthProvisioning
)
|
block2
|
A
(
SPOTooling
,
M365Poc
.
SPO
.
SPOTooling
)
|
A
(
UXCDNFailover
,
M365Poc
.
SPO
.
UXCDNFailover
)
|
A
(
ODFBSyncClient
,
M365Poc
.
SPO
.
ODFBSyncClient
)
;
println
(
to_file
(
"SPOBuildoutPOCWorkflow.xaml"
),
completeFlow
.
generateXaml
(
"FleetAGC.Workflows.SPOBuildoutPOCWorkflow"
));
}
...
...
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