Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
naming-backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
ics-software
naming-backend
Commits
d629f9b3
Commit
d629f9b3
authored
3 years ago
by
Lars Johansson
Browse files
Options
Downloads
Patches
Plain Diff
Hide validation endpoints for names, structures
parent
e753c72e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/org/openepics/names/rest/api/v1/INames.java
+6
-2
6 additions, 2 deletions
src/main/java/org/openepics/names/rest/api/v1/INames.java
src/main/java/org/openepics/names/rest/api/v1/IStructures.java
+9
-2
9 additions, 2 deletions
...ain/java/org/openepics/names/rest/api/v1/IStructures.java
with
15 additions
and
4 deletions
src/main/java/org/openepics/names/rest/api/v1/INames.java
+
6
−
2
View file @
d629f9b3
...
...
@@ -34,6 +34,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
io.swagger.v3.oas.annotations.Hidden
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.enums.ParameterIn
;
...
...
@@ -106,8 +107,8 @@ public interface INames {
read GET /names/{name} - both name and uuid (name - exact and search, uuid exact)
*/
public
static
final
String
DEFAULT_PAGE
=
"0"
;
public
static
final
String
DEFAULT_PAGE_SIZE
=
"100"
;
public
static
final
String
DEFAULT_PAGE
=
"0"
;
public
static
final
String
DEFAULT_PAGE_SIZE
=
"100"
;
/**
* Create names by list of name elements.
...
...
@@ -429,6 +430,7 @@ public interface INames {
* @param nameElements list of name elements
* @return if list of name elements is valid to create
*/
@Hidden
@Operation
(
summary
=
"Return if name elements are valid to create"
,
description
=
"Return if name elements are valid to create. "
...
...
@@ -470,6 +472,7 @@ public interface INames {
* @param nameElements list of name elements
* @return if list of name elements is valid to update
*/
@Hidden
@Operation
(
summary
=
"Return if name elements are valid to update"
,
description
=
"Return if name elements are valid to update. "
...
...
@@ -511,6 +514,7 @@ public interface INames {
* @param nameElements list of name elements
* @return if list of name elements is valid to delete
*/
@Hidden
@Operation
(
summary
=
"Return if name elements are valid to delete"
,
description
=
"Return if name elements are valid to delete. "
...
...
This diff is collapsed.
Click to expand it.
src/main/java/org/openepics/names/rest/api/v1/IStructures.java
+
9
−
2
View file @
d629f9b3
...
...
@@ -36,6 +36,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
io.swagger.v3.oas.annotations.Hidden
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Parameter
;
import
io.swagger.v3.oas.annotations.enums.ParameterIn
;
...
...
@@ -113,8 +114,8 @@ public interface IStructures {
update PATCH /structures/reject - rejectStructures (List<StructureElement>)
*/
public
static
final
String
DEFAULT_PAGE
=
"0"
;
public
static
final
String
DEFAULT_PAGE_SIZE
=
"100"
;
public
static
final
String
DEFAULT_PAGE
=
"0"
;
public
static
final
String
DEFAULT_PAGE_SIZE
=
"100"
;
/**
* Create (propose) structures by list of structure elements.
...
...
@@ -451,6 +452,7 @@ public interface IStructures {
* @param structureElements list of structure elements
* @return if list of structure elements is valid to create (propose)
*/
@Hidden
@Operation
(
summary
=
"Return if structure elements are valid to create (propose)"
,
description
=
"Return if structure elements are valid to create (propose). "
...
...
@@ -494,6 +496,7 @@ public interface IStructures {
* @param structureElements list of structure elements
* @return if list of structure elements is valid to update (propose)
*/
@Hidden
@Operation
(
summary
=
"Return if structure elements are valid to update (propose)"
,
description
=
"Return if structure elements are valid to update (propose). "
...
...
@@ -537,6 +540,7 @@ public interface IStructures {
* @param structureElements list of structure elements
* @return if list of structure elements is valid to delete (propose)
*/
@Hidden
@Operation
(
summary
=
"Return if structure elements are valid to delete (propose)"
,
description
=
"Return if structure elements are valid to delete (propose). "
...
...
@@ -580,6 +584,7 @@ public interface IStructures {
* @param structureElements list of structure elements
* @return if list of structure elements is valid to approve
*/
@Hidden
@Operation
(
summary
=
"Return if structure elements are valid to approve"
,
description
=
"Return if structure elements are valid to approve. "
...
...
@@ -623,6 +628,7 @@ public interface IStructures {
* @param structureElements list of structure elements
* @return if list of structure elements is valid to cancel
*/
@Hidden
@Operation
(
summary
=
"Return if structure elements are valid to cancel"
,
description
=
"Return if structure elements are valid to cancel. "
...
...
@@ -666,6 +672,7 @@ public interface IStructures {
* @param structureElements list of structure elements
* @return if list of structure elements is valid to reject
*/
@Hidden
@Operation
(
summary
=
"Return if structure elements are valid to reject"
,
description
=
"Return if structure elements are valid to reject. "
...
...
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