@@ -187,9 +187,9 @@ codebase is written reactively, utilizing the <a href="https://projectreactor.io
187187Staccato implements a concept called filters, which allows items to be modified or transformed during any/all of 3
188188different operations:
189189
190- * [ index] ( ./staccato-commons/src/main/java/com/boundlessgeo /staccato/filter/ItemIndexFilter.java )
191- * [ update] ( ./staccato-commons/src/main/java/com/boundlessgeo /staccato/filter/ItemUpdateFilter.java )
192- * [ search] ( ./staccato-commons/src/main/java/com/boundlessgeo /stacccato/filter/ItemSearchFilter.java )
190+ * [ index] ( ./staccato-commons/src/main/java/com/planet /staccato/filter/ItemIndexFilter.java )
191+ * [ update] ( ./staccato-commons/src/main/java/com/planet /staccato/filter/ItemUpdateFilter.java )
192+ * [ search] ( ./staccato-commons/src/main/java/com/planet /stacccato/filter/ItemSearchFilter.java )
193193
194194Any Spring managed bean that implements one of these interfaces will be called during the corresponding event in the
195195request lifecycle. An bean that implements ItemIndexFilter will be called before an item is indexed in Elasticsearch.
@@ -200,7 +200,7 @@ Each query interface defines a method to return the list of item types that the
200200the actual ` doFilter ` method which does the actual work. The basic premise is that the ` doFilter ` method accepts an
201201Item as input and returns an item as output. This can be used to automatically add data, remove data, or transform
202202data. Several examples of some included filters can be found in the
203- [ filter] ( ./staccato-main/src/main/java/com/boundlessgeo /staccato/filter ) package. Collections can also provide custom
203+ [ filter] ( ./staccato-main/src/main/java/com/planet /staccato/filter ) package. Collections can also provide custom
204204filters to accomplish various tasks, such as automatically generating links to related items based on values found in
205205the item's properties.
206206
@@ -216,7 +216,7 @@ collections. As such, it is not currently capable of providing a way to dynamica
216216such a capability may be a good idea for the future.
217217
218218For each extension that has currently been proposed, the ` properties ` fields defined by the extension are described in
219- interfaces in the [ commons extension package] ( /stac-api/staccato-commons/src/main/java/com/boundlessgeo/stac /extension ) .
219+ interfaces in the [ commons extension package] ( /stac-api/staccato-commons/src/main/java/com/planet/staccato /extension ) .
220220The extensions are defined as interfaces so that a mix of multiple extensions can be combined to create a set of
221221heterogeneous properties for a collection.
222222
@@ -226,15 +226,15 @@ Collections are currently defined in the [staccato-collections](./staccato-colle
226226collection, you'll typically want to create at least 4 Java classes and one Spring auto-configuration file:
227227
2282281 ) If you need to define more properties for you collection than are defined by the community in the
229- [ commons extension package] ( ./staccato-commons/src/main/java/com/boundlessgeo /staccato/extension ) , you'll need to
229+ [ commons extension package] ( ./staccato-commons/src/main/java/com/planet /staccato/extension ) , you'll need to
230230create an interface that defines all the getters and setters for your model, along with Jackson annotations to make sure
231231the data is serialized/deserialized the way you want.
2322322 ) An implementation of your model. This implementation _ MUST_ also implement
233- [ ` MandatoryProperties ` ] ( ./staccato-commons/src/main/java/com/boundlessgeo /staccato/model/MandatoryProperties.java )
233+ [ ` MandatoryProperties ` ] ( ./staccato-commons/src/main/java/com/planet /staccato/model/MandatoryProperties.java )
2342343 ) An implementation of
235- [ ` CollectionMetadata ` ] ( ./staccato-commons/src/main/java/com/boundlessgeo /staccato/collection/CollectionMetadata.java )
235+ [ ` CollectionMetadata ` ] ( ./staccato-commons/src/main/java/com/planet /staccato/collection/CollectionMetadata.java )
236236or simply extend
237- [ ` CollectionMetadataAdapter ` ] ( ./stac-api/staccato-commons/src/main/java/com/boundlessgeo /staccato/collection/CollectionMetadataAdapter.java ) .
237+ [ ` CollectionMetadataAdapter ` ] ( ./stac-api/staccato-commons/src/main/java/com/planet /staccato/collection/CollectionMetadataAdapter.java ) .
2382384 ) A class annotated with ` @Configuration ` that creates 2 beans, both instances of your ` CollectionMetadata ` class.
239239One bean is the the WFS3 collection and one is the STAC catalog. Yes, it seems silly, but there are differences per
240240the spec (the collection is WFS3 compliant; the catalog enables STAC-specific capabilities, such as the traversing
@@ -254,28 +254,28 @@ the `collection` field in every item. Because each collection will have a differ
254254implement several different extension interfaces or custom fields, Jackson cannot deserialize Item classes without
255255more information on which properties class to deserialize to. Having the "collections" field in each item provides an
256256extremely convenient 1:1 relationship between the item and it's properties implementation. The Jackson configuration
257- for this can be found [ here] ( ./staccato-main/src/main/java/com/boundlessgeo /staccato/config/ExtensionConfig.java ) .
258- Also, the [ Item class'] ( ./staccato-commons/src/main/java/com/boundlessgeo /staccato/model/Item.java ) primary generic
257+ for this can be found [ here] ( ./staccato-main/src/main/java/com/planet /staccato/config/ExtensionConfig.java ) .
258+ Also, the [ Item class'] ( ./staccato-commons/src/main/java/com/planet /staccato/model/Item.java ) primary generic
259259properties type is
260- [ CommonsCollection] ( ./staccato-commons/src/main/java/com/boundlessgeo /staccato/extension/CommonsCollection.java ) so that
260+ [ CommonsCollection] ( ./staccato-commons/src/main/java/com/planet /staccato/extension/CommonsCollection.java ) so that
261261various bits of code, eg the
262- [ FilterProcessor] ( ./staccato-commons/src/main/java/com/boundlessgeo /staccato/filter/ItemsFilterProcessor.java )
262+ [ FilterProcessor] ( ./staccato-commons/src/main/java/com/planet /staccato/filter/ItemsFilterProcessor.java )
263263can easily determine what collection an item belongs to.
264264
265265### Custom annotations
266266
267267Staccato currently provides two custom annotations:
268- - [ @Mapping ] ( ./staccato-commons/src/main/java/com/boundlessgeo /staccato/elasticsearch/annotation/Mapping.java )
269- - [ @Subcatalog ] ( ./staccato-commons/src/main/java/com/boundlessgeo /staccato/collection/Subcatalog.java )
268+ - [ @Mapping ] ( ./staccato-commons/src/main/java/com/planet /staccato/elasticsearch/annotation/Mapping.java )
269+ - [ @Subcatalog ] ( ./staccato-commons/src/main/java/com/planet /staccato/collection/Subcatalog.java )
270270
271271The ` @Mapping ` annotation allows you to define Elasticsearch mapping types that will be applied during
272- [ automatic index creation] ( ./staccato-elasticsearch/src/main/java/com/boundlessgeo /staccato/es/initializer/ElasticsearchIndexInitializer.java ) .
272+ [ automatic index creation] ( ./staccato-elasticsearch/src/main/java/com/planet /staccato/es/initializer/ElasticsearchIndexInitializer.java ) .
273273Set type ` type ` attribute to one of the enumerated values found in
274- [ MappingType] ( ./staccato-commons/src/main/java/com/boundlessgeo /staccato/elasticsearch/annotation/MappingType.java ) .
274+ [ MappingType] ( ./staccato-commons/src/main/java/com/planet /staccato/elasticsearch/annotation/MappingType.java ) .
275275
276276The ` @Subcatalog ` annotation, when applied to a ` getter ` interface method, will make that field eligible to be
277277automatically subcataloged via the ` /stac/{catalog} ` endpoint. The
278- [ catalog spec implementation] ( ./staccato-main/src/main/java/com/boundlessgeo /staccato/catalog ) will automatically detect
278+ [ catalog spec implementation] ( ./staccato-main/src/main/java/com/planet /staccato/catalog ) will automatically detect
279279methods with this annotation and build a subcatalog link containing the field name. That subcatalog will build links
280280containing all unique values in Elasticsearch for that field. After all eligible subcatalog fields have been
281281traversed, the links section will be populated with links to all items that match the selected subcatalog values.
@@ -376,5 +376,5 @@ name!). The value should be the collection id. So in our example case, the key
376376would be the collection ID. STAC will automatically append ` -search ` to the alias for executing searches.
377377
378378At this point, you should be good to start inserting items. See the
379- [ transaction API controller] ( ./staccato-main/src/main/java/com/boundlessgeo /staccato/transaction/TransactionApi.java )
379+ [ transaction API controller] ( ./staccato-main/src/main/java/com/planet /staccato/transaction/TransactionApi.java )
380380for the proper methods to use for creating new items.
0 commit comments