Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
CRS Catalog
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
System
Reference and Helper Services
CRS Catalog
Commits
d75964ba
Commit
d75964ba
authored
1 year ago
by
VignaRamaNaga ManikantaSwamy Akula
Browse files
Options
Downloads
Patches
Plain Diff
made changes to terminating colon issue
parent
f7bf954d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!322
Resolve "CRS Catalog query_with_cursor needed"
Pipeline
#227350
failed
1 year ago
Stage: review
Stage: build
Stage: coverage
Stage: containerize
Stage: scan
Stage: deploy
Stage: integration
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
crs-catalog-core/src/main/java/org/opengroup/osdu/crs/api/CrsCatalogApiV3.java
+5
-5
5 additions, 5 deletions
...main/java/org/opengroup/osdu/crs/api/CrsCatalogApiV3.java
with
5 additions
and
5 deletions
crs-catalog-core/src/main/java/org/opengroup/osdu/crs/api/CrsCatalogApiV3.java
+
5
−
5
View file @
d75964ba
...
...
@@ -75,7 +75,7 @@ public class CrsCatalogApiV3 {
@RequestParam
(
name
=
"recordId"
,
required
=
false
)
String
recordId
,
@RequestParam
(
name
=
"dataId"
,
required
=
false
)
String
dataId
)
{
if
(
recordId
.
endsWith
(
":"
)){
if
(
recordId
!=
null
&&
recordId
.
endsWith
(
":"
)){
recordId
=
RemoveTerminatingColon
(
recordId
);
}
return
searchWrapperService
.
getSingleCrsOrCt
(
recordId
,
dataId
,
SearchWrapperService
.
getCoordinateTransformationKind
());
...
...
@@ -122,7 +122,7 @@ public class CrsCatalogApiV3 {
@RequestParam
(
name
=
"recordId"
,
required
=
false
)
String
recordId
,
@RequestParam
(
name
=
"dataId"
,
required
=
false
)
String
dataId
)
{
if
(
recordId
.
endsWith
(
":"
)){
if
(
recordId
!=
null
&&
recordId
.
endsWith
(
":"
)){
recordId
=
RemoveTerminatingColon
(
recordId
);
}
return
searchWrapperService
.
getSingleCrsOrCt
(
recordId
,
dataId
,
SearchWrapperService
.
getCoordinateReferenceSystemKind
());
...
...
@@ -167,9 +167,9 @@ public class CrsCatalogApiV3 {
public
PointsInAouSearchResult
getAouInfo
(
@RequestBody
InPolygonQuery
inPolygonQuery
)
{
String
record_id
=
inPolygonQuery
.
getRecordId
()
;
if
(
record_id
.
endsWith
(
":"
))
{
inPolygonQuery
.
setRecordId
(
RemoveTerminatingColon
(
r
ecord
_id
));
if
(
inPolygonQuery
.
getRecordId
()
!=
null
&&
inPolygonQuery
.
getRecordId
()
.
endsWith
(
":"
))
{
inPolygonQuery
.
setRecordId
(
RemoveTerminatingColon
(
inPolygonQuery
.
getR
ecord
Id
()
));
}
return
pointsInAouService
.
searchPointsInAou
(
inPolygonQuery
);
}
...
...
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