Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
org.etsi.osl.tmf.api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSL
code
org.etsi.osl.tmf.api
Commits
f6987a4b
Commit
f6987a4b
authored
10 months ago
by
Labros Papadopoulos
Browse files
Options
Downloads
Patches
Plain Diff
return new geographic site in case there in not one
parent
879bfc92
No related branches found
No related tags found
1 merge request
!25
Tmf 674 feature
Pipeline
#6259
passed
10 months ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/etsi/osl/tmf/gsm674/api/GeographicSiteManagementApiController.java
+1
-0
1 addition, 0 deletions
...tmf/gsm674/api/GeographicSiteManagementApiController.java
with
1 addition
and
0 deletions
src/main/java/org/etsi/osl/tmf/gsm674/api/GeographicSiteManagementApiController.java
+
1
−
0
View file @
f6987a4b
...
...
@@ -65,6 +65,7 @@ public class GeographicSiteManagementApiController implements GeographicSiteMana
Individual
ind
=
individualRepoService
.
findByUsername
(
principal
.
getName
());
GeographicSite
gs
=
geographicSiteManagementService
.
findGeographicSiteByRelatedPartyId
(
ind
.
getId
());
if
(
gs
==
null
)
gs
=
new
GeographicSite
();
return
new
ResponseEntity
<
GeographicSite
>(
gs
,
HttpStatus
.
OK
);
}
else
if
(
authentication
.
getAuthorities
().
contains
(
new
SimpleGrantedAuthority
(
UserRoleType
.
ROLE_ADMIN
.
getValue
()
)
)
){
...
...
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