Skip to content

Commit

Permalink
radelt: move utils and fix csv paths
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Jul 3, 2024
1 parent 849e8d3 commit 9f6044f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
import com.opendatahub.bdp.radelt.dto.aktionen.AktionenResponseDto;
import com.opendatahub.bdp.radelt.dto.aktionen.RadeltChallengeDto;
import com.opendatahub.bdp.radelt.dto.organisationen.OrganisationenResponseDto;
import com.opendatahub.bdp.radelt.dto.utils.MappingUtilsAktionen;
import com.opendatahub.bdp.radelt.dto.utils.MappingUtilsOrganisationen;
import com.opendatahub.bdp.radelt.dto.utils.DataTypeUtils;
import com.opendatahub.bdp.radelt.dto.utils.CsvImporter;
import com.opendatahub.bdp.radelt.utils.MappingUtilsAktionen;
import com.opendatahub.bdp.radelt.utils.MappingUtilsOrganisationen;
import com.opendatahub.bdp.radelt.utils.DataTypeUtils;
import com.opendatahub.bdp.radelt.utils.CsvImporter;
import com.opendatahub.bdp.radelt.dto.common.RadeltGeoDto;
import org.apache.http.HttpEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

package com.opendatahub.bdp.radelt.dto.utils;
package com.opendatahub.bdp.radelt.utils;

import com.opendatahub.bdp.radelt.dto.common.RadeltGeoDto;

Expand All @@ -19,12 +19,12 @@
public class CsvImporter {

public static Map<String, RadeltGeoDto> syncCsvActions() {
String filePath = "radelt-actions.csv";
String filePath = "/radelt-actions.csv";
return readCsv(filePath);
}

public static Map<String, RadeltGeoDto> syncCsvOrganizations() {
String filePath = "radelt-organizations.csv";
String filePath = "/radelt-organizations.csv";
return readCsv(filePath);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

package com.opendatahub.bdp.radelt.dto.utils;
package com.opendatahub.bdp.radelt.utils;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

package com.opendatahub.bdp.radelt.dto.utils;
package com.opendatahub.bdp.radelt.utils;

import java.util.List;
import org.springframework.web.reactive.function.client.WebClientRequestException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

package com.opendatahub.bdp.radelt.dto.utils;
package com.opendatahub.bdp.radelt.utils;

import org.springframework.web.reactive.function.client.WebClientRequestException;
import java.time.ZoneOffset;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later

package com.opendatahub.bdp.radelt.dto.utils;
package com.opendatahub.bdp.radelt.utils;

public class SlugUtils {

Expand Down

0 comments on commit 9f6044f

Please sign in to comment.