File tree Expand file tree Collapse file tree
test/java/uk/ac/ngs/controllers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414
1515import org .apache .commons .logging .Log ;
1616import org .apache .commons .logging .LogFactory ;
17- import org .springframework .beans .factory .annotation .Autowired ;
18- import org .springframework .dao .DataAccessException ;
19- import org .springframework .jdbc .core .ResultSetExtractor ;
2017import org .springframework .jdbc .core .namedparam .NamedParameterJdbcTemplate ;
2118import org .springframework .stereotype .Repository ;
2219
23- import javax .sql .DataSource ;
24- import java .sql .ResultSet ;
25- import java .sql .SQLException ;
2620import java .util .HashMap ;
2721import java .util .Map ;
2822
Original file line number Diff line number Diff line change 1212 */
1313package uk .ac .ngs .dao ;
1414
15- import org .springframework .beans .factory .annotation .Autowired ;
1615import org .springframework .jdbc .core .RowMapper ;
1716import org .springframework .jdbc .core .namedparam .NamedParameterJdbcTemplate ;
1817import org .springframework .stereotype .Repository ;
1918import uk .ac .ngs .domain .CertificateRow ;
2019
21- import javax .sql .DataSource ;
2220import java .math .BigDecimal ;
2321import java .sql .ResultSet ;
2422import java .sql .SQLException ;
Original file line number Diff line number Diff line change 1414
1515import org .apache .commons .logging .Log ;
1616import org .apache .commons .logging .LogFactory ;
17- import org .springframework .beans .factory .annotation .Autowired ;
1817import org .springframework .dao .EmptyResultDataAccessException ;
1918import org .springframework .jdbc .core .RowMapper ;
2019import org .springframework .jdbc .core .namedparam .NamedParameterJdbcTemplate ;
2120import org .springframework .stereotype .Repository ;
2221import uk .ac .ngs .common .Pair ;
2322import uk .ac .ngs .domain .CrrRow ;
2423
25- import javax .sql .DataSource ;
2624import java .sql .ResultSet ;
2725import java .sql .SQLException ;
2826import java .text .DateFormat ;
Original file line number Diff line number Diff line change 1414
1515import org .apache .commons .logging .Log ;
1616import org .apache .commons .logging .LogFactory ;
17- import org .springframework .beans .factory .annotation .Autowired ;
1817import org .springframework .jdbc .core .RowMapper ;
1918import org .springframework .jdbc .core .namedparam .NamedParameterJdbcTemplate ;
2019import org .springframework .stereotype .Repository ;
2120import uk .ac .ngs .domain .RalistRow ;
2221
23- import javax .sql .DataSource ;
2422import java .sql .ResultSet ;
2523import java .sql .SQLException ;
2624import java .util .HashMap ;
Original file line number Diff line number Diff line change 1414
1515import org .apache .commons .logging .Log ;
1616import org .apache .commons .logging .LogFactory ;
17- import org .springframework .beans .factory .annotation .Autowired ;
1817import org .springframework .dao .EmptyResultDataAccessException ;
1918import org .springframework .jdbc .core .RowMapper ;
2019import org .springframework .jdbc .core .namedparam .NamedParameterJdbcTemplate ;
2120import org .springframework .stereotype .Repository ;
2221import uk .ac .ngs .domain .RaopListRow ;
2322
24- import javax .sql .DataSource ;
2523import java .sql .ResultSet ;
2624import java .sql .SQLException ;
2725import java .util .HashMap ;
Original file line number Diff line number Diff line change 1414
1515import org .apache .commons .logging .Log ;
1616import org .apache .commons .logging .LogFactory ;
17- import org .springframework .beans .factory .annotation .Autowired ;
1817import org .springframework .dao .EmptyResultDataAccessException ;
1918import org .springframework .jdbc .core .RowMapper ;
2019import org .springframework .jdbc .core .namedparam .NamedParameterJdbcTemplate ;
2625import uk .ac .ngs .domain .PKCS10_RequestWrapper ;
2726import uk .ac .ngs .domain .RequestRow ;
2827
29- import javax .sql .DataSource ;
3028import java .sql .ResultSet ;
3129import java .sql .SQLException ;
3230import java .text .DateFormat ;
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2015 STFC
3+ * Licensed under the Apache License, Version 2.0 (the "License");
4+ * you may not use this file except in compliance with the License.
5+ * You may obtain a copy of the License at
6+ * http://www.apache.org/licenses/LICENSE-2.0
7+ * Unless required by applicable law or agreed to in writing, software
8+ * distributed under the License is distributed on an "AS IS" BASIS,
9+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+ * See the License for the specific language governing permissions and
11+ * limitations under the License.
12+ */
113package uk .ac .ngs .dao ;
214
315import org .springframework .data .repository .CrudRepository ;
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2015 STFC
3+ * Licensed under the Apache License, Version 2.0 (the "License");
4+ * you may not use this file except in compliance with the License.
5+ * You may obtain a copy of the License at
6+ * http://www.apache.org/licenses/LICENSE-2.0
7+ * Unless required by applicable law or agreed to in writing, software
8+ * distributed under the License is distributed on an "AS IS" BASIS,
9+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+ * See the License for the specific language governing permissions and
11+ * limitations under the License.
12+ */
113package uk .ac .ngs .domain ;
214
315import org .springframework .data .annotation .Id ;
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2015 STFC
3+ * Licensed under the Apache License, Version 2.0 (the "License");
4+ * you may not use this file except in compliance with the License.
5+ * You may obtain a copy of the License at
6+ * http://www.apache.org/licenses/LICENSE-2.0
7+ * Unless required by applicable law or agreed to in writing, software
8+ * distributed under the License is distributed on an "AS IS" BASIS,
9+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+ * See the License for the specific language governing permissions and
11+ * limitations under the License.
12+ */
113package uk .ac .ngs .controllers ;
214
315import static org .mockito .ArgumentMatchers .anyLong ;
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2015 STFC
3+ * Licensed under the Apache License, Version 2.0 (the "License");
4+ * you may not use this file except in compliance with the License.
5+ * You may obtain a copy of the License at
6+ * http://www.apache.org/licenses/LICENSE-2.0
7+ * Unless required by applicable law or agreed to in writing, software
8+ * distributed under the License is distributed on an "AS IS" BASIS,
9+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10+ * See the License for the specific language governing permissions and
11+ * limitations under the License.
12+ */
113package uk .ac .ngs .controllers ;
214
315import static org .mockito .ArgumentMatchers .any ;
You can’t perform that action at this time.
0 commit comments