maven parent 1.2.0
This commit is contained in:
parent
80851a41f8
commit
fabc6de2db
|
@ -4,9 +4,10 @@
|
|||
All notable changes to this project will be documented in this file.
|
||||
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [v1.0.1] - 2024-04-16
|
||||
## [v1.0.1-SNAPSHOT] - 2024-04-16
|
||||
|
||||
- Null pointer exception bug fixed
|
||||
- Removed unnecessary logs
|
||||
|
||||
## [v1.0.0] - 2023-11-15
|
||||
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -5,13 +5,13 @@
|
|||
<parent>
|
||||
<artifactId>maven-parent</artifactId>
|
||||
<groupId>org.gcube.tools</groupId>
|
||||
<version>1.1.0</version>
|
||||
<version>1.2.0</version>
|
||||
<relativePath />
|
||||
</parent>
|
||||
|
||||
<groupId>org.gcube.portal</groupId>
|
||||
<artifactId>social-library-stubs</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<version>1.0.1-SNAPSHOT</version>
|
||||
<name>gCube Social Library stubs</name>
|
||||
<description>
|
||||
The gCube Social Networking Library stubs exploits the social networking facilities using the social-service-client to interface with the NoSQL data store for their storage. Specifically an Apache Cassandra data store.
|
||||
|
|
|
@ -278,9 +278,9 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
|||
throw new IllegalArgumentException("the timeInMillis must be before today");
|
||||
List<Post> posts = getRecentPostsByUserAndDate(userid, timeInMillis);
|
||||
if(posts!=null){
|
||||
_log.info("Length of posts is " + posts.size());
|
||||
_log.debug("Length of posts is " + posts.size());
|
||||
for(Post post: posts){
|
||||
_log.info(post.toString());
|
||||
_log.debug(post.toString());
|
||||
feeds.add(post2feed(post));
|
||||
}
|
||||
}
|
||||
|
@ -449,21 +449,21 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
|||
@Deprecated
|
||||
@Override
|
||||
public List<Feed> getRecentFeedsByVRE(String vreid, int quantity) throws PrivacyLevelTypeNotFoundException, FeedTypeNotFoundException, ColumnNameNotFoundException, FeedIDNotFoundException {
|
||||
_log.info("\n\n in getRecentFeedsByVRE");
|
||||
_log.debug("\n\n in getRecentFeedsByVRE");
|
||||
List<Post> posts = getRecentPostsByVRE(vreid, quantity);
|
||||
List<Feed> feeds = new ArrayList<>();
|
||||
if(posts!=null){
|
||||
_log.info("length of vre posts = " + posts.size());
|
||||
_log.debug("length of vre posts = " + posts.size());
|
||||
for(Post post: posts){
|
||||
feeds.add(post2feed(post));
|
||||
}
|
||||
}
|
||||
_log.info("length of vre feeds = " + feeds.size());
|
||||
_log.debug("length of vre feeds = " + feeds.size());
|
||||
return feeds;
|
||||
}
|
||||
@Override
|
||||
public List<Post> getRecentPostsByVRE(String vreid, int quantity) throws PrivacyLevelTypeNotFoundException, FeedTypeNotFoundException, ColumnNameNotFoundException, FeedIDNotFoundException {
|
||||
_log.info("\n\n in getRecentPostsByVRE");
|
||||
_log.debug("\n\n in getRecentPostsByVRE");
|
||||
return libClient.getRecentPostsByVRELib(vreid, quantity);
|
||||
}
|
||||
/**
|
||||
|
@ -585,9 +585,9 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
|
|||
public boolean setUserNotificationPreferences(String userid, Map<NotificationType, NotificationChannelType[]> enabledChannels) {
|
||||
if(enabledChannels!=null){
|
||||
for(NotificationType notificationType: enabledChannels.keySet()){
|
||||
_log.info("Type: " + notificationType.toString());
|
||||
_log.debug("Type: " + notificationType.toString());
|
||||
for(NotificationChannelType channelType: enabledChannels.get(notificationType)){
|
||||
_log.info(channelType.toString());
|
||||
_log.debug(channelType.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue