Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ce-deploy-ui
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ccce
dev
ce-deploy-ui
Merge requests
!67
Statistics graph
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Statistics graph
statistics-graph
into
master
Overview
0
Commits
11
Pipelines
1
Changes
7
Merged
Imre Toth
requested to merge
statistics-graph
into
master
3 years ago
Overview
0
Commits
11
Pipelines
1
Changes
7
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
ef7323e3
11 commits,
3 years ago
7 files
+
507
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
src/api/SwaggerApi.js
+
54
−
0
Options
@@ -449,6 +449,16 @@ export function useNamingNames() {
return
useAsync
({
fcn
:
method
,
call
:
false
,
init
:
[]
});
}
export
function
unpackDeploymentStatistics
(
statistics
)
{
return
{
...
statistics
};
}
export
function
useDeploymentStatistics
()
{
const
api
=
useContext
(
apiContext
);
const
method
=
callAndUnpack
(
api
.
apis
.
Statistics
.
deploymentStatistics
,
unpackDeploymentStatistics
)
return
useAsync
({
fcn
:
method
,
call
:
false
});
}
export
function
unpackTagAndCommitIdList
(
tagList
)
{
return
tagList
.
toString
().
split
(
"
,
"
);
}
@@ -457,4 +467,48 @@ export function useTagsAndCommitIds() {
const
api
=
useContext
(
apiContext
);
const
method
=
callAndUnpack
((
repoUrl
)
=>
api
.
apis
.
Git
.
listTagsAndCommitIds
({
gitRepo
:
repoUrl
}),
unpackTagAndCommitIdList
)
return
useAsync
({
fcn
:
method
,
call
:
false
,
init
:
[]
});
}
export
function
unpackIOCStatistics
(
statistics
)
{
return
{
...
statistics
};
}
export
function
useIOCStatistics
()
{
const
api
=
useContext
(
apiContext
);
const
method
=
callAndUnpack
(
api
.
apis
.
Statistics
.
iocStatistics
,
unpackIOCStatistics
)
return
useAsync
({
fcn
:
method
,
call
:
false
});
}
export
function
unpackCurrentlyActiveIOCS
(
statistics
)
{
return
{
...
statistics
};
}
export
function
useCurrentlyActiveIOCs
()
{
const
api
=
useContext
(
apiContext
);
const
method
=
callAndUnpack
(
api
.
apis
.
Statistics
.
currentlyActiveIocs
,
unpackCurrentlyActiveIOCS
)
return
useAsync
({
fcn
:
method
,
call
:
false
});
}
export
function
unpackActiveIOCHistory
(
statistics
)
{
return
{
...
statistics
};
}
export
function
useActiveIOCHistory
()
{
const
api
=
useContext
(
apiContext
);
const
method
=
callAndUnpack
(
api
.
apis
.
Statistics
.
activeIocHistory
,
unpackActiveIOCHistory
)
return
useAsync
({
fcn
:
method
,
call
:
false
});
}
export
function
unpackDeployedIOCStat
(
statistics
)
{
return
{
...
statistics
};
}
export
function
useDeployedIOCStatistics
()
{
const
api
=
useContext
(
apiContext
);
const
method
=
callAndUnpack
(
api
.
apis
.
Statistics
.
iocDeploymentHistory
,
unpackDeployedIOCStat
)
return
useAsync
({
fcn
:
method
,
call
:
false
});
}
\ No newline at end of file
Loading