Skip to content

Commit

Permalink
refactor: removed unused exception classes
Browse files Browse the repository at this point in the history
  • Loading branch information
eschrewe committed Aug 28, 2023
1 parent 7f5d737 commit cb39def
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 91 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.eclipse.tractusx.puris.backend.common.edc.logic.service.EndpointDataReferenceService;

/**
* An internal Dto class used by the {@link EndpointDataReferenceService}
*/
@AllArgsConstructor
@Getter
public class EDR_Dto {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class EndpointDataReferenceService {
* Please note that any data will only be stored for a period of 5
* minutes.
* @param transferId
* @param authCode
* @param edr_Dto
*/
public void save(String transferId, EDR_Dto edr_Dto) {
nonpersistantRepository.put(transferId, edr_Dto);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public CreateAssetDto buildCreateAssetDtoForApi(DT_ApiMethodEnum method,
AssetPropertiesDto apiAssetPropertiesDto = new AssetPropertiesDto();
apiAssetPropertiesDto.setApiBusinessObject(DT_ApiBusinessObjectEnum.PRODUCT_STOCK.PROPERTIES_DESCRIPTION);
apiAssetPropertiesDto.setApiPurpose(method.PURPOSE);
apiAssetPropertiesDto.setContentType("appplication/json");
apiAssetPropertiesDto.setContentType("application/json");
apiAssetPropertiesDto.setId(variablesService.getApiAssetId(method));
apiAssetPropertiesDto.setName(method.NAME);
apiAssetPropertiesDto.setType(DT_AssetTypeEnum.api);
Expand Down

0 comments on commit cb39def

Please sign in to comment.