Skip to content

Commit 3c16b47

Browse files
authored
Merge pull request #185 from clowder-framework/release/1.15.0
Release/1.15.0
2 parents cf768e5 + 0f3dc0c commit 3c16b47

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+8020
-1979
lines changed

.github/workflows/docker.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
matrix:
3535
name:
3636
- clowder
37-
- toolserver
3837
- mongo-init
3938
- monitor
4039
- check
@@ -43,10 +42,6 @@ jobs:
4342
FOLDER: "."
4443
IMAGE: clowder
4544
README: README.md
46-
- name: toolserver
47-
FOLDER: scripts/toollaunchservice
48-
IMAGE: toolserver
49-
README: ""
5045
- name: mongo-init
5146
FOLDER: scripts/mongo-init
5247
IMAGE: mongo-init

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,29 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7+
## 1.15.0 - 2021-03-03
8+
9+
### Added
10+
- CSV/JSON previewer using [Vega](https://vega.github.io/).
11+
- Previewer for FBX files.
12+
- `created` search option for filtering by upload/creation date of resource.
13+
- `EventSinkService` to track user activity. All events are published to the message queue. Multiple consumers are
14+
available in [event-sink-consumers](https://github.com/clowder-framework/event-sink-consumers).
15+
16+
### Fixed
17+
- Clowder will no longer offer a Download button for a file until it has been PROCESSED.
18+
- When space created through api the creator was not added to space as admin [#179](https://github.com/clowder-framework/clowder/issues/179).
19+
20+
### Changed
21+
- `/api/me` will now return some of the same information as response headers. Can be used by other services to single
22+
sign on when running on same host.
23+
- `RabbitMQPlugin` has been split into `ExtractorRoutingService` and `MessageService` to isolate the rabbitmq code from
24+
the extraction code.
25+
26+
### Removed
27+
- the toolserver is no longer build as part of clowder since it is no longer maintained. We are working on a
28+
newer version that will be included in future versions of clowder.
29+
730
## 1.14.1 - 2021-02-02
831

932
- Google will no longer work as login provider, we are working on this issue [#157](https://github.com/clowder-framework/clowder/issues/157).

CONTRIBUTORS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ Following is a list of contributors in alphabetical order:
1616
- Inna Zharnitsky
1717
- Jim Myers
1818
- Jong Lee
19+
- Kaveh Karimi-Asli
1920
- Kenton McHenry
2021
- Luigi Marini
22+
- Maria-Spyridoula Tzima
2123
- Mario Felarca
2224
- Max Burnette
2325
- Michal Ondrejcek

app/api/Datasets.scala

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ class Datasets @Inject()(
5252
relations: RelationService,
5353
userService: UserService,
5454
thumbnailService : ThumbnailService,
55+
routing: ExtractorRoutingService,
5556
appConfig: AppConfigurationService,
56-
esqueue: ElasticsearchQueue) extends ApiController {
57+
esqueue: ElasticsearchQueue,
58+
sinkService: EventSinkService) extends ApiController {
5759

5860
lazy val chunksize = play.Play.application().configuration().getInt("clowder.chunksize", 1024*1024)
5961

@@ -606,9 +608,7 @@ class Datasets @Inject()(
606608
val mdMap = metadata.getExtractionSummary
607609

608610
//send RabbitMQ message
609-
current.plugin[RabbitmqPlugin].foreach { p =>
610-
p.metadataAddedToResource(metadataId, metadata.attachedTo, mdMap, Utils.baseUrl(request), request.apiKey, request.user)
611-
}
611+
routing.metadataAddedToResource(metadataId, metadata.attachedTo, mdMap, Utils.baseUrl(request), request.apiKey, request.user)
612612

613613
events.addObjectEvent(request.user, id, x.name, EventType.ADD_METADATA_DATASET.toString)
614614

@@ -655,9 +655,7 @@ class Datasets @Inject()(
655655
val mdMap = metadata.getExtractionSummary
656656

657657
//send RabbitMQ message
658-
current.plugin[RabbitmqPlugin].foreach { p =>
659-
p.metadataAddedToResource(metadataId, metadata.attachedTo, mdMap, Utils.baseUrl(request), request.apiKey, request.user)
660-
}
658+
routing.metadataAddedToResource(metadataId, metadata.attachedTo, mdMap, Utils.baseUrl(request), request.apiKey, request.user)
661659

662660
events.addObjectEvent(request.user, id, x.name, EventType.ADD_METADATA_DATASET.toString)
663661

@@ -739,10 +737,8 @@ class Datasets @Inject()(
739737
}
740738

741739
// send extractor message after attached to resource
742-
current.plugin[RabbitmqPlugin].foreach { p =>
743-
metadataIds.foreach { mId =>
744-
p.metadataRemovedFromResource(mId, ResourceRef(ResourceRef.dataset, id), Utils.baseUrl(request), request.apiKey, request.user)
745-
}
740+
metadataIds.foreach { mId =>
741+
routing.metadataRemovedFromResource(mId, ResourceRef(ResourceRef.dataset, id), Utils.baseUrl(request), request.apiKey, request.user)
746742
}
747743

748744
Ok(toJson(Map("status" -> "success", "count" -> metadataIds.size.toString)))
@@ -2500,8 +2496,10 @@ class Datasets @Inject()(
25002496
val baseURL = controllers.routes.Datasets.dataset(id).absoluteURL(https(request))
25012497

25022498
// Increment download count if tracking is enabled
2503-
if (tracking)
2499+
if (tracking) {
25042500
datasets.incrementDownloads(id, user)
2501+
sinkService.logDatasetDownloadEvent(dataset, user)
2502+
}
25052503

25062504
// Use custom enumerator to create the zip file on the fly
25072505
// Use a 1MB in memory byte array

0 commit comments

Comments
 (0)