Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VIPSLogic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIPS
VIPSLogic
Commits
fc4cf4df
Commit
fc4cf4df
authored
5 years ago
by
Tor-Einar Skog
Browse files
Options
Downloads
Patches
Plain Diff
Added a bit of JavaDocs
parent
3e588afd
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!22
Develop
,
!18
Spotit nordic map layers
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/no/nibio/vips/logic/service/GrowthStageService.java
+16
-1
16 additions, 1 deletion
.../java/no/nibio/vips/logic/service/GrowthStageService.java
with
16 additions
and
1 deletion
src/main/java/no/nibio/vips/logic/service/GrowthStageService.java
+
16
−
1
View file @
fc4cf4df
...
...
@@ -56,7 +56,15 @@ public class GrowthStageService {
@PersistenceContext
(
unitName
=
"VIPSLogic-PU"
)
EntityManager
em
;
/**
* At what dates can we expect the given crop to be at the given growth stages
* at the given location?
* @param organismId
* @param growthStagesStr
* @param location
* @param season
* @return
*/
@GET
@Path
(
"date/{growthStages}/{organismId}"
)
@Produces
(
"application/json;charset=UTF-8"
)
...
...
@@ -82,6 +90,13 @@ public class GrowthStageService {
return
Response
.
ok
().
entity
(
retVal
).
build
();
}
/**
* At what GS is the given organism at the given date and location?
* @param organismId
* @param dateStr
* @param location
* @return
*/
@GET
@Path
(
"gs/{date}/{organismId}"
)
@Produces
(
"application/json;charset=UTF-8"
)
...
...
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