Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
acdc
repository-extension-services
Commits
6546d263
Commit
6546d263
authored
Sep 28, 2018
by
Aaron Coburn
Browse files
Tighten checkstyle
parent
c3c24ed8
Changes
46
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
188 additions
and
35 deletions
+188
-35
acrepo-connector-broadcast/src/main/java/edu/amherst/acdc/connector/broadcast/package-info.java
...va/edu/amherst/acdc/connector/broadcast/package-info.java
+19
-0
acrepo-connector-idiomatic/src/main/java/edu/amherst/acdc/connector/idiomatic/EventProcessor.java
.../edu/amherst/acdc/connector/idiomatic/EventProcessor.java
+1
-1
acrepo-connector-idiomatic/src/main/java/edu/amherst/acdc/connector/idiomatic/IdiomaticHeaders.java
...du/amherst/acdc/connector/idiomatic/IdiomaticHeaders.java
+1
-1
acrepo-connector-idiomatic/src/main/java/edu/amherst/acdc/connector/idiomatic/package-info.java
...va/edu/amherst/acdc/connector/idiomatic/package-info.java
+19
-0
acrepo-connector-idiomatic/src/test/java/edu/amherst/acdc/idiomatic/RouteTest.java
...c/src/test/java/edu/amherst/acdc/idiomatic/RouteTest.java
+3
-2
acrepo-connector-triplestore/src/main/java/edu/amherst/acdc/connector/triplestore/EventProcessor.java
...du/amherst/acdc/connector/triplestore/EventProcessor.java
+1
-1
acrepo-connector-triplestore/src/main/java/edu/amherst/acdc/connector/triplestore/package-info.java
.../edu/amherst/acdc/connector/triplestore/package-info.java
+19
-0
acrepo-exts-entailment/src/main/java/edu/amherst/acdc/exts/entailment/EntailmentRouter.java
...va/edu/amherst/acdc/exts/entailment/EntailmentRouter.java
+6
-6
acrepo-exts-entailment/src/main/java/edu/amherst/acdc/exts/entailment/package-info.java
...n/java/edu/amherst/acdc/exts/entailment/package-info.java
+19
-0
acrepo-exts-fits/src/main/java/edu/amherst/acdc/exts/fits/package-info.java
...rc/main/java/edu/amherst/acdc/exts/fits/package-info.java
+19
-0
acrepo-exts-image/src/main/java/edu/amherst/acdc/exts/image/package-info.java
...c/main/java/edu/amherst/acdc/exts/image/package-info.java
+19
-0
acrepo-exts-ldpath/src/main/java/edu/amherst/acdc/exts/ldpath/GettyEndpoint.java
...main/java/edu/amherst/acdc/exts/ldpath/GettyEndpoint.java
+1
-1
acrepo-exts-ldpath/src/main/java/edu/amherst/acdc/exts/ldpath/package-info.java
.../main/java/edu/amherst/acdc/exts/ldpath/package-info.java
+19
-0
acrepo-exts-ore/src/main/java/edu/amherst/acdc/exts/ore/ModelAggregator.java
.../main/java/edu/amherst/acdc/exts/ore/ModelAggregator.java
+1
-1
acrepo-exts-ore/src/main/java/edu/amherst/acdc/exts/ore/OreHeaders.java
...e/src/main/java/edu/amherst/acdc/exts/ore/OreHeaders.java
+4
-4
acrepo-exts-ore/src/main/java/edu/amherst/acdc/exts/ore/OreRouter.java
...re/src/main/java/edu/amherst/acdc/exts/ore/OreRouter.java
+5
-5
acrepo-exts-ore/src/main/java/edu/amherst/acdc/exts/ore/package-info.java
...src/main/java/edu/amherst/acdc/exts/ore/package-info.java
+19
-0
acrepo-exts-pcdm/src/main/java/edu/amherst/acdc/exts/pcdm/ModelAggregator.java
...main/java/edu/amherst/acdc/exts/pcdm/ModelAggregator.java
+1
-1
acrepo-exts-pcdm/src/main/java/edu/amherst/acdc/exts/pcdm/PcdmHeaders.java
...src/main/java/edu/amherst/acdc/exts/pcdm/PcdmHeaders.java
+7
-7
acrepo-exts-pcdm/src/main/java/edu/amherst/acdc/exts/pcdm/PcdmRouter.java
.../src/main/java/edu/amherst/acdc/exts/pcdm/PcdmRouter.java
+5
-5
No files found.
acrepo-connector-broadcast/src/main/java/edu/amherst/acdc/connector/broadcast/package-info.java
0 → 100644
View file @
6546d263
/*
* Copyright Amherst College
*
* 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.
*/
/**
* A message connector that broadcasts messages to other endpoints.
*/
package
edu.amherst.acdc.connector.broadcast
;
acrepo-connector-idiomatic/src/main/java/edu/amherst/acdc/connector/idiomatic/EventProcessor.java
View file @
6546d263
...
...
@@ -52,7 +52,7 @@ public class EventProcessor implements Processor {
}
/**
* Process the Fedora message
* Process the Fedora message
.
*
* @param exchange the current camel message exchange
*/
...
...
acrepo-connector-idiomatic/src/main/java/edu/amherst/acdc/connector/idiomatic/IdiomaticHeaders.java
View file @
6546d263
...
...
@@ -16,7 +16,7 @@
package
edu.amherst.acdc.connector.idiomatic
;
/**
* Common Headers for this set of routes
* Common Headers for this set of routes
.
*
* @author acoburn
*/
...
...
acrepo-connector-idiomatic/src/main/java/edu/amherst/acdc/connector/idiomatic/package-info.java
0 → 100644
View file @
6546d263
/*
* Copyright Amherst College
*
* 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.
*/
/**
* A message connector that assigns public identifiers to resources.
*/
package
edu.amherst.acdc.connector.idiomatic
;
acrepo-connector-idiomatic/src/test/java/edu/amherst/acdc/idiomatic/RouteTest.java
View file @
6546d263
...
...
@@ -19,14 +19,15 @@ import static org.apache.camel.util.ObjectHelper.loadResourceAsStream;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertFalse
;
import
edu.amherst.acdc.services.mint.MinterService
;
import
java.util.Dictionary
;
import
java.util.Map
;
import
java.util.Properties
;
import
java.util.function.Supplier
;
import
javax.sql.DataSource
;
import
edu.amherst.acdc.services.mint.MinterService
;
import
java.util.function.Supplier
;
import
org.apache.camel.Component
;
import
org.apache.camel.EndpointInject
;
import
org.apache.camel.Produce
;
...
...
acrepo-connector-triplestore/src/main/java/edu/amherst/acdc/connector/triplestore/EventProcessor.java
View file @
6546d263
...
...
@@ -52,7 +52,7 @@ public class EventProcessor implements Processor {
}
/**
* Process the Fedora message
* Process the Fedora message
.
*
* @param exchange the current camel message exchange
*/
...
...
acrepo-connector-triplestore/src/main/java/edu/amherst/acdc/connector/triplestore/package-info.java
0 → 100644
View file @
6546d263
/*
* Copyright Amherst College
*
* 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.
*/
/**
* A message connector that indexes resources in a Triplestore.
*/
package
edu.amherst.acdc.connector.triplestore
;
acrepo-exts-entailment/src/main/java/edu/amherst/acdc/exts/entailment/EntailmentRouter.java
View file @
6546d263
...
...
@@ -28,17 +28,17 @@ import org.apache.jena.riot.Lang;
import
org.apache.jena.riot.RDFLanguages
;
/**
* A content router for handling ORE extension requests
* A content router for handling ORE extension requests
.
*
* @author Bethany Seeger
*/
public
class
EntailmentRouter
extends
RouteBuilder
{
private
final
static
String
DEFAULT_CONTENT_TYPE
=
"text/turtle"
;
private
final
static
String
HTTP_QUERY_CONTEXT
=
"context"
;
private
final
static
String
ENTAILMENT_ACCEPT
=
"CamelEntailmentAccept"
;
private
final
static
String
FCREPO_URI
=
"CamelFcrepoUri"
;
private
final
static
String
FCREPO_BASE_URL
=
"CamelFcrepoBaseUrl"
;
private
static
final
String
DEFAULT_CONTENT_TYPE
=
"text/turtle"
;
private
static
final
String
HTTP_QUERY_CONTEXT
=
"context"
;
private
static
final
String
ENTAILMENT_ACCEPT
=
"CamelEntailmentAccept"
;
private
static
final
String
FCREPO_URI
=
"CamelFcrepoUri"
;
private
static
final
String
FCREPO_BASE_URL
=
"CamelFcrepoBaseUrl"
;
/**
* Configure the message route workflow.
...
...
acrepo-exts-entailment/src/main/java/edu/amherst/acdc/exts/entailment/package-info.java
0 → 100644
View file @
6546d263
/*
* Copyright Amherst College
*
* 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.
*/
/**
* An extension that entails RDF graphs.
*/
package
edu.amherst.acdc.exts.entailment
;
acrepo-exts-fits/src/main/java/edu/amherst/acdc/exts/fits/package-info.java
0 → 100644
View file @
6546d263
/*
* Copyright Amherst College
*
* 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.
*/
/**
* An extension that sends binary resources to an external FITS service.
*/
package
edu.amherst.acdc.exts.fits
;
acrepo-exts-image/src/main/java/edu/amherst/acdc/exts/image/package-info.java
0 → 100644
View file @
6546d263
/*
* Copyright Amherst College
*
* 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.
*/
/**
* An extension that manipulates images.
*/
package
edu.amherst.acdc.exts.image
;
acrepo-exts-ldpath/src/main/java/edu/amherst/acdc/exts/ldpath/GettyEndpoint.java
View file @
6546d263
...
...
@@ -24,7 +24,7 @@ import org.apache.marmotta.ldclient.api.endpoint.Endpoint;
public
class
GettyEndpoint
extends
Endpoint
{
/**
* Create a Getty endpoint to be used with the Marmotta LDClient
* Create a Getty endpoint to be used with the Marmotta LDClient
.
*
* @param timeout the length of time (in seconds) to cache the data
*/
...
...
acrepo-exts-ldpath/src/main/java/edu/amherst/acdc/exts/ldpath/package-info.java
0 → 100644
View file @
6546d263
/*
* Copyright Amherst College
*
* 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.
*/
/**
* An extension for LDPath queries.
*/
package
edu.amherst.acdc.exts.ldpath
;
acrepo-exts-ore/src/main/java/edu/amherst/acdc/exts/ore/ModelAggregator.java
View file @
6546d263
...
...
@@ -23,7 +23,7 @@ import org.apache.camel.processor.aggregate.AggregationStrategy;
import
org.apache.jena.rdf.model.Model
;
/**
* Aggregate the CamelOreModel header values across exchanges
* Aggregate the CamelOreModel header values across exchanges
.
*
* @author acoburn
* @since 6/29/16
...
...
acrepo-exts-ore/src/main/java/edu/amherst/acdc/exts/ore/OreHeaders.java
View file @
6546d263
...
...
@@ -16,15 +16,15 @@
package
edu.amherst.acdc.exts.ore
;
/**
* Some header field definitions
* Some header field definitions
.
*
* @author acoburn
*/
final
class
OreHeaders
{
public
final
static
String
ORE_ACCEPT
=
"CamelOreAccept"
;
public
final
static
String
ORE_MODEL
=
"CamelOreModel"
;
public
final
static
String
ORE_SUBJECT
=
"CamelOreSubject"
;
public
static
final
String
ORE_ACCEPT
=
"CamelOreAccept"
;
public
static
final
String
ORE_MODEL
=
"CamelOreModel"
;
public
static
final
String
ORE_SUBJECT
=
"CamelOreSubject"
;
private
OreHeaders
()
{
// prevent instantiation
...
...
acrepo-exts-ore/src/main/java/edu/amherst/acdc/exts/ore/OreRouter.java
View file @
6546d263
...
...
@@ -30,16 +30,16 @@ import org.apache.jena.riot.Lang;
import
org.apache.jena.riot.RDFLanguages
;
/**
* A content router for handling ORE extension requests
* A content router for handling ORE extension requests
.
*
* @author Aaron Coburn
*/
public
class
OreRouter
extends
RouteBuilder
{
private
final
static
String
DEFAULT_CONTENT_TYPE
=
"text/turtle"
;
private
final
static
String
HTTP_QUERY_CONTEXT
=
"context"
;
private
final
static
String
FCREPO_URI
=
"CamelFcrepoUri"
;
private
final
static
String
FCREPO_BASE_URL
=
"CamelFcrepoBaseUrl"
;
private
static
final
String
DEFAULT_CONTENT_TYPE
=
"text/turtle"
;
private
static
final
String
HTTP_QUERY_CONTEXT
=
"context"
;
private
static
final
String
FCREPO_URI
=
"CamelFcrepoUri"
;
private
static
final
String
FCREPO_BASE_URL
=
"CamelFcrepoBaseUrl"
;
/**
* Configure the message route workflow.
...
...
acrepo-exts-ore/src/main/java/edu/amherst/acdc/exts/ore/package-info.java
0 → 100644
View file @
6546d263
/*
* Copyright Amherst College
*
* 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.
*/
/**
* An extension that assembles an ORE graph of resources.
*/
package
edu.amherst.acdc.exts.ore
;
acrepo-exts-pcdm/src/main/java/edu/amherst/acdc/exts/pcdm/ModelAggregator.java
View file @
6546d263
...
...
@@ -23,7 +23,7 @@ import org.apache.camel.processor.aggregate.AggregationStrategy;
import
org.apache.jena.rdf.model.Model
;
/**
* Aggregate the CamelPcdmModel header values across exchanges
* Aggregate the CamelPcdmModel header values across exchanges
.
*
* @author acoburn
* @since 6/29/16
...
...
acrepo-exts-pcdm/src/main/java/edu/amherst/acdc/exts/pcdm/PcdmHeaders.java
View file @
6546d263
...
...
@@ -16,18 +16,18 @@
package
edu.amherst.acdc.exts.pcdm
;
/**
* Some header field definitions
* Some header field definitions
.
*
* @author acoburn
*/
final
class
PcdmHeaders
{
public
final
static
String
PCDM_ACCEPT
=
"CamelPcdmAccept"
;
public
final
static
String
PCDM_MODEL
=
"CamelPcdmModel"
;
public
final
static
String
PCDM_SUBJECT
=
"CamelPcdmSubject"
;
public
final
static
String
PCDM_MEMBERS
=
"CamelPcdmMembers"
;
public
final
static
String
PCDM_FILES
=
"CamelPcdmFiles"
;
public
final
static
String
PCDM_RELATED_OBJECTS
=
"CamelPcdmRelatedObjects"
;
public
static
final
String
PCDM_ACCEPT
=
"CamelPcdmAccept"
;
public
static
final
String
PCDM_MODEL
=
"CamelPcdmModel"
;
public
static
final
String
PCDM_SUBJECT
=
"CamelPcdmSubject"
;
public
static
final
String
PCDM_MEMBERS
=
"CamelPcdmMembers"
;
public
static
final
String
PCDM_FILES
=
"CamelPcdmFiles"
;
public
static
final
String
PCDM_RELATED_OBJECTS
=
"CamelPcdmRelatedObjects"
;
private
PcdmHeaders
()
{
// prevent instantiation
...
...
acrepo-exts-pcdm/src/main/java/edu/amherst/acdc/exts/pcdm/PcdmRouter.java
View file @
6546d263
...
...
@@ -30,16 +30,16 @@ import org.apache.jena.riot.Lang;
import
org.apache.jena.riot.RDFLanguages
;
/**
* A content router for handling PCDM extension requests
* A content router for handling PCDM extension requests
.
*
* @author Aaron Coburn
*/
public
class
PcdmRouter
extends
RouteBuilder
{
private
final
static
String
FCREPO_URI
=
"CamelFcrepoUri"
;
private
final
static
String
FCREPO_BASE_URL
=
"CamelFcrepoBaseUrl"
;
private
final
static
String
DEFAULT_CONTENT_TYPE
=
"text/turtle"
;
private
final
static
String
HTTP_QUERY_CONTEXT
=
"context"
;
private
static
final
String
FCREPO_URI
=
"CamelFcrepoUri"
;
private
static
final
String
FCREPO_BASE_URL
=
"CamelFcrepoBaseUrl"
;
private
static
final
String
DEFAULT_CONTENT_TYPE
=
"text/turtle"
;
private
static
final
String
HTTP_QUERY_CONTEXT
=
"context"
;
/**
* Configure the message route workflow.
...
...
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment