diff --git a/src/main/generated/com/danielvm/destiny2bot/mapper/CharacterInfoMapperImpl.java b/src/main/generated/com/danielvm/destiny2bot/mapper/CharacterInfoMapperImpl.java deleted file mode 100644 index 93c94cb..0000000 --- a/src/main/generated/com/danielvm/destiny2bot/mapper/CharacterInfoMapperImpl.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.danielvm.destiny2bot.mapper; - -import com.danielvm.destiny2bot.client.BungieManifestClient; -import com.danielvm.destiny2bot.dto.CharacterDetail; -import com.danielvm.destiny2bot.dto.destiny.character.info.CharacterInfo; -import javax.annotation.processing.Generated; -import org.springframework.stereotype.Component; - -@Generated( - value = "org.mapstruct.ap.MappingProcessor", - date = "2023-11-21T12:21:57-0800", - comments = "version: 1.5.5.Final, compiler: javac, environment: Java 21.0.1 (Oracle Corporation)" -) -@Component -public class CharacterInfoMapperImpl implements CharacterInfoMapper { - - @Override - public CharacterDetail toResponse(CharacterInfo data, BungieManifestClient bungieManifestClient) { - if ( data == null ) { - return null; - } - - CharacterDetail characterDetail = new CharacterDetail(); - - if ( data.getClassHash() != null ) { - characterDetail.setClassName( classHash( String.valueOf( data.getClassHash() ), bungieManifestClient ) ); - } - characterDetail.setStats( statsHash( data.getStats(), bungieManifestClient ) ); - - return characterDetail; - } -} diff --git a/src/main/generated/com/danielvm/destiny2bot/mapper/VaultWeaponMapperImpl.java b/src/main/generated/com/danielvm/destiny2bot/mapper/VaultWeaponMapperImpl.java deleted file mode 100644 index 74d8057..0000000 --- a/src/main/generated/com/danielvm/destiny2bot/mapper/VaultWeaponMapperImpl.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.danielvm.destiny2bot.mapper; - -import com.danielvm.destiny2bot.dto.CharacterWeapon; -import com.danielvm.destiny2bot.dto.destiny.character.vaultitems.VaultItem; -import javax.annotation.processing.Generated; -import org.springframework.stereotype.Component; - -@Generated( - value = "org.mapstruct.ap.MappingProcessor", - date = "2023-11-21T12:21:57-0800", - comments = "version: 1.5.5.Final, compiler: javac, environment: Java 21.0.1 (Oracle Corporation)" -) -@Component -public class VaultWeaponMapperImpl extends VaultWeaponMapper { - - @Override - public CharacterWeapon entityToWeapon(VaultItem item) { - if ( item == null ) { - return null; - } - - CharacterWeapon characterWeapon = new CharacterWeapon(); - - characterWeapon.setItemInstanceId( item.getItemInstanceId() ); - - toCharacterWeapon( item, characterWeapon ); - - return characterWeapon; - } -} diff --git a/src/main/resources/static/.DS_Store b/src/main/resources/static/.DS_Store new file mode 100644 index 0000000..a23b4ce Binary files /dev/null and b/src/main/resources/static/.DS_Store differ diff --git a/src/test/java/com/danielvm/destiny2bot/integration/BaseIntegrationTest.java b/src/test/java/com/danielvm/destiny2bot/integration/BaseIntegrationTest.java index fefe375..c03dcbc 100644 --- a/src/test/java/com/danielvm/destiny2bot/integration/BaseIntegrationTest.java +++ b/src/test/java/com/danielvm/destiny2bot/integration/BaseIntegrationTest.java @@ -58,9 +58,6 @@ public abstract class BaseIntegrationTest { @Autowired WebTestClient webTestClient; - @Autowired - ReactiveWebApplicationContext reactiveWebApplicationContext; - @Autowired ObjectMapper objectMapper;