Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update namespace and license #537

Merged
merged 3 commits into from
Jun 11, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# The MIT License
# Copyright © 2017 DTL
# Copyright © 2024 FAIR Data Team
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# The MIT License
# Copyright © 2017 DTL
# Copyright © 2024 FAIR Data Team
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017 FAIR Data Team
Copyright (c) 2024 FAIR Data Team

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9 changes: 5 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<version>3.2.5</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>nl.dtls</groupId>
<groupId>org</groupId>
MarekSuchanek marked this conversation as resolved.
Show resolved Hide resolved
<artifactId>fairdatapoint</artifactId>
<version>1.17.1</version>
<packaging>jar</packaging>
Expand Down Expand Up @@ -276,7 +276,8 @@
<configuration>
<header>com/mycila/maven/plugin/license/templates/MIT.txt</header>
<properties>
<owner>DTL</owner>
<owner>FAIR Data Team</owner>
<year>2024</year>
MarekSuchanek marked this conversation as resolved.
Show resolved Hide resolved
</properties>
<mapping>
<java>JAVADOC_STYLE</java>
Expand Down Expand Up @@ -331,7 +332,7 @@
</goals>
<configuration>
<classifier>spring-boot</classifier>
<mainClass>nl.dtls.fairdatapoint.Application</mainClass>
<mainClass>org.fairdatapoint.Application</mainClass>
</configuration>
</execution>
<execution>
Expand Down Expand Up @@ -416,7 +417,7 @@
</execution>
</executions>
<configuration>
<package>nl.dtls.fairdatapoint.vocabulary</package>
<package>org.fairdatapoint.vocabulary</package>
<addGeneratedAnnotation>false</addGeneratedAnnotation>
<vocabularies>
<vocabulary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* The MIT License
* Copyright © 2017 DTL
* Copyright © 2024 FAIR Data Team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package nl.dtls.fairdatapoint;
package org.fairdatapoint;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand All @@ -32,8 +32,8 @@
@SpringBootApplication
@EnableWebMvc
@EnableAsync
@ComponentScan(basePackages = "nl.dtls.fairdatapoint.*")
@ConfigurationPropertiesScan("nl.dtls.fairdatapoint.config.*")
@ComponentScan(basePackages = "org.fairdatapoint.*")
@ConfigurationPropertiesScan("org.fairdatapoint.config.*")
public class Application {

private static final String PROFILES_PROPERTY = "spring.profiles.active";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* The MIT License
* Copyright © 2017 DTL
* Copyright © 2024 FAIR Data Team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package nl.dtls.fairdatapoint;
package org.fairdatapoint;

public class Profiles {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* The MIT License
* Copyright © 2017 DTL
* Copyright © 2024 FAIR Data Team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,13 +20,13 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package nl.dtls.fairdatapoint.api.controller.apikey;
package org.fairdatapoint.api.controller.apikey;

import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import nl.dtls.fairdatapoint.api.dto.apikey.ApiKeyDTO;
import nl.dtls.fairdatapoint.entity.exception.ResourceNotFoundException;
import nl.dtls.fairdatapoint.service.apikey.ApiKeyService;
import org.fairdatapoint.api.dto.apikey.ApiKeyDTO;
import org.fairdatapoint.entity.exception.ResourceNotFoundException;
import org.fairdatapoint.service.apikey.ApiKeyService;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* The MIT License
* Copyright © 2017 DTL
* Copyright © 2024 FAIR Data Team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,12 +20,12 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package nl.dtls.fairdatapoint.api.controller.config;
package org.fairdatapoint.api.controller.config;

import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import nl.dtls.fairdatapoint.api.dto.config.BootstrapConfigDTO;
import nl.dtls.fairdatapoint.service.config.ConfigService;
import org.fairdatapoint.api.dto.config.BootstrapConfigDTO;
import org.fairdatapoint.service.config.ConfigService;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* The MIT License
* Copyright © 2017 DTL
* Copyright © 2024 FAIR Data Team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,14 +20,14 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package nl.dtls.fairdatapoint.api.controller.dashboard;
package org.fairdatapoint.api.controller.dashboard;

import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.servlet.http.HttpServletRequest;
import lombok.RequiredArgsConstructor;
import nl.dtls.fairdatapoint.api.dto.dashboard.DashboardItemDTO;
import nl.dtls.fairdatapoint.service.dashboard.DashboardService;
import nl.dtls.fairdatapoint.service.metadata.exception.MetadataServiceException;
import org.fairdatapoint.api.dto.dashboard.DashboardItemDTO;
import org.fairdatapoint.service.dashboard.DashboardService;
import org.fairdatapoint.service.metadata.exception.MetadataServiceException;
import org.eclipse.rdf4j.model.IRI;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
Expand All @@ -38,9 +38,9 @@

import java.util.List;

import static nl.dtls.fairdatapoint.util.HttpUtil.getRequestURL;
import static nl.dtls.fairdatapoint.util.RdfUtil.removeLastPartOfIRI;
import static nl.dtls.fairdatapoint.util.ValueFactoryHelper.i;
import static org.fairdatapoint.util.HttpUtil.getRequestURL;
import static org.fairdatapoint.util.RdfUtil.removeLastPartOfIRI;
import static org.fairdatapoint.util.ValueFactoryHelper.i;

@Tag(name = "Client")
@RestController
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* The MIT License
* Copyright © 2017 DTL
* Copyright © 2024 FAIR Data Team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -25,17 +25,17 @@
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package nl.dtls.fairdatapoint.api.controller.exception;
package org.fairdatapoint.api.controller.exception;

import io.swagger.v3.oas.annotations.media.Content;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import jakarta.validation.ConstraintViolationException;
import lombok.extern.slf4j.Slf4j;
import nl.dtls.fairdatapoint.api.dto.error.ErrorDTO;
import nl.dtls.fairdatapoint.entity.exception.*;
import nl.dtls.fairdatapoint.entity.index.exception.AbstractIndexException;
import nl.dtls.fairdatapoint.service.metadata.exception.MetadataServiceException;
import org.fairdatapoint.api.dto.error.ErrorDTO;
import org.fairdatapoint.entity.exception.*;
import org.fairdatapoint.entity.index.exception.AbstractIndexException;
import org.fairdatapoint.service.metadata.exception.MetadataServiceException;
import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Model;
import org.eclipse.rdf4j.query.MalformedQueryException;
Expand All @@ -57,8 +57,8 @@
import java.util.Map;

import static java.lang.String.format;
import static nl.dtls.fairdatapoint.util.RdfIOUtil.getWriterConfig;
import static nl.dtls.fairdatapoint.util.ValueFactoryHelper.i;
import static org.fairdatapoint.util.RdfIOUtil.getWriterConfig;
import static org.fairdatapoint.util.ValueFactoryHelper.i;

@ControllerAdvice
@Slf4j
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* The MIT License
* Copyright © 2017 DTL
* Copyright © 2024 FAIR Data Team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,14 +20,14 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package nl.dtls.fairdatapoint.api.controller.form;
package org.fairdatapoint.api.controller.form;

import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.validation.Valid;
import lombok.RequiredArgsConstructor;
import nl.dtls.fairdatapoint.api.dto.form.FormAutocompleteItemDTO;
import nl.dtls.fairdatapoint.api.dto.form.FormAutocompleteRequestDTO;
import nl.dtls.fairdatapoint.service.form.autocomplete.FormsAutocompleteService;
import org.fairdatapoint.api.dto.form.FormAutocompleteItemDTO;
import org.fairdatapoint.api.dto.form.FormAutocompleteRequestDTO;
import org.fairdatapoint.service.form.autocomplete.FormsAutocompleteService;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* The MIT License
* Copyright © 2017 DTL
* Copyright © 2024 FAIR Data Team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,21 +20,21 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package nl.dtls.fairdatapoint.api.controller.index;
package org.fairdatapoint.api.controller.index;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.validation.Valid;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import nl.dtls.fairdatapoint.api.dto.index.ping.PingDTO;
import nl.dtls.fairdatapoint.database.rdf.repository.exception.MetadataRepositoryException;
import nl.dtls.fairdatapoint.entity.index.event.IndexEvent;
import nl.dtls.fairdatapoint.service.UtilityService;
import nl.dtls.fairdatapoint.service.index.entry.IndexEntryService;
import nl.dtls.fairdatapoint.service.index.event.EventService;
import nl.dtls.fairdatapoint.service.index.webhook.WebhookService;
import org.fairdatapoint.api.dto.index.ping.PingDTO;
import org.fairdatapoint.database.rdf.repository.exception.MetadataRepositoryException;
import org.fairdatapoint.entity.index.event.IndexEvent;
import org.fairdatapoint.service.UtilityService;
import org.fairdatapoint.service.index.entry.IndexEntryService;
import org.fairdatapoint.service.index.event.EventService;
import org.fairdatapoint.service.index.webhook.WebhookService;
import org.springframework.http.HttpStatus;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* The MIT License
* Copyright © 2017 DTL
* Copyright © 2024 FAIR Data Team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,23 +20,23 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package nl.dtls.fairdatapoint.api.controller.index;
package org.fairdatapoint.api.controller.index;

import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.servlet.http.HttpServletRequest;
import lombok.RequiredArgsConstructor;
import nl.dtls.fairdatapoint.api.dto.index.entry.IndexEntryDTO;
import nl.dtls.fairdatapoint.api.dto.index.entry.IndexEntryDetailDTO;
import nl.dtls.fairdatapoint.api.dto.index.entry.IndexEntryInfoDTO;
import nl.dtls.fairdatapoint.api.dto.index.entry.IndexEntryUpdateDTO;
import nl.dtls.fairdatapoint.api.dto.index.ping.PingDTO;
import nl.dtls.fairdatapoint.database.rdf.repository.exception.MetadataRepositoryException;
import nl.dtls.fairdatapoint.entity.index.entry.IndexEntryPermit;
import nl.dtls.fairdatapoint.entity.index.event.IndexEvent;
import nl.dtls.fairdatapoint.service.index.entry.IndexEntryService;
import nl.dtls.fairdatapoint.service.index.event.EventService;
import nl.dtls.fairdatapoint.service.index.harvester.HarvesterService;
import nl.dtls.fairdatapoint.service.index.webhook.WebhookService;
import org.fairdatapoint.api.dto.index.entry.IndexEntryDTO;
import org.fairdatapoint.api.dto.index.entry.IndexEntryDetailDTO;
import org.fairdatapoint.api.dto.index.entry.IndexEntryInfoDTO;
import org.fairdatapoint.api.dto.index.entry.IndexEntryUpdateDTO;
import org.fairdatapoint.api.dto.index.ping.PingDTO;
import org.fairdatapoint.database.rdf.repository.exception.MetadataRepositoryException;
import org.fairdatapoint.entity.index.entry.IndexEntryPermit;
import org.fairdatapoint.entity.index.event.IndexEvent;
import org.fairdatapoint.service.index.entry.IndexEntryService;
import org.fairdatapoint.service.index.event.EventService;
import org.fairdatapoint.service.index.harvester.HarvesterService;
import org.fairdatapoint.service.index.webhook.WebhookService;
import org.eclipse.rdf4j.model.Model;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* The MIT License
* Copyright © 2017 DTL
* Copyright © 2024 FAIR Data Team
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
Expand All @@ -20,7 +20,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package nl.dtls.fairdatapoint.api.controller.index;
package org.fairdatapoint.api.controller.index;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.media.Content;
Expand All @@ -32,13 +32,13 @@
import jakarta.validation.Valid;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import nl.dtls.fairdatapoint.api.dto.index.ping.PingDTO;
import nl.dtls.fairdatapoint.database.rdf.repository.exception.MetadataRepositoryException;
import nl.dtls.fairdatapoint.entity.index.event.IndexEvent;
import nl.dtls.fairdatapoint.service.UtilityService;
import nl.dtls.fairdatapoint.service.index.entry.IndexEntryService;
import nl.dtls.fairdatapoint.service.index.event.EventService;
import nl.dtls.fairdatapoint.service.index.webhook.WebhookService;
import org.fairdatapoint.api.dto.index.ping.PingDTO;
import org.fairdatapoint.database.rdf.repository.exception.MetadataRepositoryException;
import org.fairdatapoint.entity.index.event.IndexEvent;
import org.fairdatapoint.service.UtilityService;
import org.fairdatapoint.service.index.entry.IndexEntryService;
import org.fairdatapoint.service.index.event.EventService;
import org.fairdatapoint.service.index.webhook.WebhookService;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
Expand Down
Loading
Loading