Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Genesys Backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
17
Issues
17
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Genesys PGR
Genesys Backend
Commits
995cc53a
Commit
995cc53a
authored
Jul 28, 2014
by
Matija Obreza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Licensing
parent
9026d614
Changes
44
Hide whitespace changes
Inline
Side-by-side
Showing
44 changed files
with
720 additions
and
4 deletions
+720
-4
src/main/java/org/genesys2/server/model/json/AccessionJson.java
...in/java/org/genesys2/server/model/json/AccessionJson.java
+16
-0
src/main/java/org/genesys2/server/model/json/CollectingJson.java
...n/java/org/genesys2/server/model/json/CollectingJson.java
+16
-0
src/main/java/org/genesys2/server/model/json/GenesysJsonFactory.java
...va/org/genesys2/server/model/json/GenesysJsonFactory.java
+16
-0
src/main/java/org/genesys2/server/model/json/GeoJson.java
src/main/java/org/genesys2/server/model/json/GeoJson.java
+16
-0
src/main/java/org/genesys2/server/model/json/Remark.java
src/main/java/org/genesys2/server/model/json/Remark.java
+16
-0
src/main/java/org/genesys2/server/model/kpi/BooleanDimension.java
.../java/org/genesys2/server/model/kpi/BooleanDimension.java
+16
-0
src/main/java/org/genesys2/server/model/kpi/Dimension.java
src/main/java/org/genesys2/server/model/kpi/Dimension.java
+16
-0
src/main/java/org/genesys2/server/model/kpi/DimensionKey.java
...main/java/org/genesys2/server/model/kpi/DimensionKey.java
+16
-0
src/main/java/org/genesys2/server/model/kpi/Execution.java
src/main/java/org/genesys2/server/model/kpi/Execution.java
+16
-0
src/main/java/org/genesys2/server/model/kpi/ExecutionDimension.java
...ava/org/genesys2/server/model/kpi/ExecutionDimension.java
+17
-1
src/main/java/org/genesys2/server/model/kpi/FixedListDimension.java
...ava/org/genesys2/server/model/kpi/FixedListDimension.java
+16
-0
src/main/java/org/genesys2/server/model/kpi/JpaDimension.java
...main/java/org/genesys2/server/model/kpi/JpaDimension.java
+16
-0
src/main/java/org/genesys2/server/model/kpi/KPIParameter.java
...main/java/org/genesys2/server/model/kpi/KPIParameter.java
+16
-0
src/main/java/org/genesys2/server/model/kpi/NumericListDimension.java
...a/org/genesys2/server/model/kpi/NumericListDimension.java
+16
-0
src/main/java/org/genesys2/server/model/kpi/Observation.java
src/main/java/org/genesys2/server/model/kpi/Observation.java
+27
-0
src/main/java/org/genesys2/server/model/kpi/StringListDimension.java
...va/org/genesys2/server/model/kpi/StringListDimension.java
+16
-0
src/main/java/org/genesys2/server/model/oauth/OAuthToken.java
...main/java/org/genesys2/server/model/oauth/OAuthToken.java
+16
-0
src/main/java/org/genesys2/server/persistence/domain/kpi/ObservationCustomRepository.java
...r/persistence/domain/kpi/ObservationCustomRepository.java
+16
-0
src/main/java/org/genesys2/server/persistence/domain/kpi/ObservationRepositoryCustomImpl.java
...rsistence/domain/kpi/ObservationRepositoryCustomImpl.java
+16
-0
src/main/java/org/genesys2/server/service/GenesysRESTService.java
.../java/org/genesys2/server/service/GenesysRESTService.java
+16
-0
src/main/java/org/genesys2/server/service/JPATokenStoreCleanup.java
...ava/org/genesys2/server/service/JPATokenStoreCleanup.java
+16
-0
src/main/java/org/genesys2/server/service/KPIService.java
src/main/java/org/genesys2/server/service/KPIService.java
+16
-0
src/main/java/org/genesys2/server/service/TokensCleanupService.java
...ava/org/genesys2/server/service/TokensCleanupService.java
+16
-0
src/main/java/org/genesys2/server/service/impl/DirectMysqlQuery.java
...va/org/genesys2/server/service/impl/DirectMysqlQuery.java
+16
-0
src/main/java/org/genesys2/server/service/impl/GenesysRESTServiceImpl.java
.../genesys2/server/service/impl/GenesysRESTServiceImpl.java
+16
-0
src/main/java/org/genesys2/server/service/impl/KPIServiceImpl.java
...java/org/genesys2/server/service/impl/KPIServiceImpl.java
+17
-0
src/main/java/org/genesys2/server/service/impl/RESTApiDataTypeException.java
...enesys2/server/service/impl/RESTApiDataTypeException.java
+16
-0
src/main/java/org/genesys2/server/service/impl/RESTApiException.java
...va/org/genesys2/server/service/impl/RESTApiException.java
+16
-0
src/main/java/org/genesys2/server/service/impl/RESTApiValueException.java
...g/genesys2/server/service/impl/RESTApiValueException.java
+16
-0
src/main/java/org/genesys2/server/service/impl/StatisticsServiceImpl.java
...g/genesys2/server/service/impl/StatisticsServiceImpl.java
+16
-0
src/main/java/org/genesys2/server/service/worker/SGSVEntry.java
...in/java/org/genesys2/server/service/worker/SGSVEntry.java
+17
-1
src/main/java/org/genesys2/server/servlet/controller/rest/model/ExecutionDimensionJson.java
...servlet/controller/rest/model/ExecutionDimensionJson.java
+17
-1
src/main/java/org/genesys2/server/servlet/controller/rest/model/ExecutionJson.java
...2/server/servlet/controller/rest/model/ExecutionJson.java
+17
-1
src/main/java/org/genesys2/server/servlet/controller/rest/serialization/CountrySerializer.java
...vlet/controller/rest/serialization/CountrySerializer.java
+16
-0
src/test/java/org/genesys2/server/mock/service/TokenConsumerService.java
...rg/genesys2/server/mock/service/TokenConsumerService.java
+16
-0
src/test/java/org/genesys2/server/mock/service/TokenConsumerServiceImpl.java
...enesys2/server/mock/service/TokenConsumerServiceImpl.java
+16
-0
src/test/java/org/genesys2/server/oauth/OAuthTokenSerializationTest.java
...rg/genesys2/server/oauth/OAuthTokenSerializationTest.java
+16
-0
src/test/java/org/genesys2/server/service/impl/KPIEntitiesTest.java
...ava/org/genesys2/server/service/impl/KPIEntitiesTest.java
+16
-0
src/test/java/org/genesys2/server/service/impl/KPIServiceTest.java
...java/org/genesys2/server/service/impl/KPIServiceTest.java
+16
-0
src/test/java/org/genesys2/server/test/BatchRESTServiceTest.java
...t/java/org/genesys2/server/test/BatchRESTServiceTest.java
+16
-0
src/test/java/org/genesys2/server/test/EasySMTATest.java
src/test/java/org/genesys2/server/test/EasySMTATest.java
+16
-0
src/test/java/org/genesys2/server/test/JpaDataConfig.java
src/test/java/org/genesys2/server/test/JpaDataConfig.java
+16
-0
src/test/java/org/genesys2/server/test/PropertyPlacholderInitializer.java
...g/genesys2/server/test/PropertyPlacholderInitializer.java
+16
-0
src/test/java/org/genesys2/server/test/TilesMathTest.java
src/test/java/org/genesys2/server/test/TilesMathTest.java
+16
-0
No files found.
src/main/java/org/genesys2/server/model/json/AccessionJson.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.json
;
public
class
AccessionJson
{
...
...
src/main/java/org/genesys2/server/model/json/CollectingJson.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.json
;
public
class
CollectingJson
{
...
...
src/main/java/org/genesys2/server/model/json/GenesysJsonFactory.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.json
;
import
java.util.List
;
...
...
src/main/java/org/genesys2/server/model/json/GeoJson.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.json
;
public
class
GeoJson
{
...
...
src/main/java/org/genesys2/server/model/json/Remark.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.json
;
public
class
Remark
{
...
...
src/main/java/org/genesys2/server/model/kpi/BooleanDimension.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.kpi
;
import
java.util.HashSet
;
...
...
src/main/java/org/genesys2/server/model/kpi/Dimension.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.kpi
;
import
java.util.Set
;
...
...
src/main/java/org/genesys2/server/model/kpi/DimensionKey.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.kpi
;
import
javax.persistence.Column
;
...
...
src/main/java/org/genesys2/server/model/kpi/Execution.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.kpi
;
import
java.util.ArrayList
;
...
...
src/main/java/org/genesys2/server/model/kpi/ExecutionDimension.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.kpi
;
import
javax.persistence.Column
;
...
...
@@ -50,4 +66,4 @@ public class ExecutionDimension extends BusinessModel {
return
"id="
+
id
+
" link="
+
link
+
" field="
+
field
+
" dim="
+
dimension
.
getName
();
}
}
\ No newline at end of file
}
src/main/java/org/genesys2/server/model/kpi/FixedListDimension.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.kpi
;
import
java.util.Set
;
...
...
src/main/java/org/genesys2/server/model/kpi/JpaDimension.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.kpi
;
import
java.util.Set
;
...
...
src/main/java/org/genesys2/server/model/kpi/KPIParameter.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.kpi
;
import
javax.persistence.Column
;
...
...
src/main/java/org/genesys2/server/model/kpi/NumericListDimension.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.kpi
;
import
java.util.HashSet
;
...
...
src/main/java/org/genesys2/server/model/kpi/Observation.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.kpi
;
import
java.util.Date
;
...
...
@@ -36,6 +52,9 @@ public class Observation extends BusinessModel {
@JoinColumn
(
name
=
"parameterId"
)
private
KPIParameter
parameter
;
@JsonIgnore
private
long
executionId
;
@ManyToMany
(
fetch
=
FetchType
.
LAZY
)
@JoinTable
(
name
=
"kpiobservationdimension"
,
joinColumns
=
@JoinColumn
(
name
=
"observationId"
),
inverseJoinColumns
=
@JoinColumn
(
name
=
"dimensionKeyId"
))
private
Set
<
DimensionKey
>
dimensions
=
new
HashSet
<
DimensionKey
>();
...
...
@@ -87,6 +106,14 @@ public class Observation extends BusinessModel {
public
void
setTimestamp
(
Date
timestamp
)
{
this
.
timestamp
=
timestamp
;
}
public
long
getExecutionId
()
{
return
executionId
;
}
public
void
setExecutionId
(
long
executionId
)
{
this
.
executionId
=
executionId
;
}
@Override
public
String
toString
()
{
...
...
src/main/java/org/genesys2/server/model/kpi/StringListDimension.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.kpi
;
import
java.util.HashSet
;
...
...
src/main/java/org/genesys2/server/model/oauth/OAuthToken.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.model.oauth
;
...
...
src/main/java/org/genesys2/server/persistence/domain/kpi/ObservationCustomRepository.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.persistence.domain.kpi
;
import
java.util.List
;
...
...
src/main/java/org/genesys2/server/persistence/domain/kpi/ObservationRepositoryCustomImpl.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.persistence.domain.kpi
;
import
java.util.List
;
...
...
src/main/java/org/genesys2/server/service/GenesysRESTService.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.service
;
import
java.util.Collection
;
...
...
src/main/java/org/genesys2/server/service/JPATokenStoreCleanup.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.service
;
public
interface
JPATokenStoreCleanup
{
...
...
src/main/java/org/genesys2/server/service/KPIService.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.service
;
import
java.util.List
;
...
...
src/main/java/org/genesys2/server/service/TokensCleanupService.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.service
;
import
org.springframework.transaction.annotation.Propagation
;
...
...
src/main/java/org/genesys2/server/service/impl/DirectMysqlQuery.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.service.impl
;
import
java.util.ArrayList
;
...
...
src/main/java/org/genesys2/server/service/impl/GenesysRESTServiceImpl.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.service.impl
;
import
java.util.ArrayList
;
...
...
src/main/java/org/genesys2/server/service/impl/KPIServiceImpl.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.service.impl
;
import
java.util.ArrayList
;
...
...
@@ -236,6 +252,7 @@ public class KPIServiceImpl implements KPIService {
Observation
observation
=
new
Observation
();
observation
.
setParameter
(
parameter
);
observation
.
setValue
(
res
);
observation
.
setExecutionId
(
paramExec
.
getId
());
for
(
int
i
=
0
;
i
<
array
.
length
;
i
++)
{
String
name
=
paramExec
.
getDimension
(
i
).
getName
();
String
value
=
array
[
i
].
toString
();
...
...
src/main/java/org/genesys2/server/service/impl/RESTApiDataTypeException.java
View file @
995cc53a
/**
* Copyright 2014 Global Crop Diversity Trust
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
**/
package
org.genesys2.server.service.impl
;
public
class
RESTApiDataTypeException