Skip to content

Commit

Permalink
fix: reflection configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
wzzc-dev committed Oct 31, 2023
1 parent a28535d commit d01b113
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 141 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* Copyright (c) 2022 Institute of Software Chinese Academy of Sciences (ISCAS)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package space.ao.services.support.platform;

import io.github.ren2003u.authentication.model.ObtainBoxRegKeyRequest;
import io.github.ren2003u.authentication.model.ObtainBoxRegKeyResponse;
import io.github.ren2003u.migration.model.*;
import io.github.ren2003u.register.model.*;
import io.quarkus.runtime.annotations.RegisterForReflection;
import space.ao.services.account.member.dto.migration.ClientMigrationInfo;

@RegisterForReflection(targets = {RegisterClientRequest.class, RegisterClientResponse.class, RegisterDeviceRequest.class, RegisterDeviceResponse.class, RegisterUserRequest.class, RegisterUserResponse.class,
ClientMigrationInfo.class, SpacePlatformMigrationOutRequest.class, SpacePlatformMigrationOutResponse.class, SpacePlatformMigrationRequest.class, SpacePlatformMigrationResponse.class, UserDomainRouteInfo.class, UserMigrationInfo.class,
ObtainBoxRegKeyRequest.class, ObtainBoxRegKeyResponse.class})
public class MyReflectionConfiguration {
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
/*
* Copyright (c) 2022 Institute of Software Chinese Academy of Sciences (ISCAS)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package space.ao.services.support.platform;

//import io.github.ren2003u.authentication.model.ObtainBoxRegKeyResponse;
import io.github.ren2003u.authentication.model.ObtainBoxRegKeyResponse;
import io.github.ren2003u.client.Client;
import io.github.ren2003u.domain.errorHandle.ApiResponse;
//import io.github.ren2003u.register.model.RegisterClientResponse;
//import io.github.ren2003u.register.model.RegisterUserResponse;
import io.github.ren2003u.register.model.RegisterClientResponse;
import io.github.ren2003u.register.model.RegisterUserResponse;
import jakarta.annotation.PostConstruct;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.inject.Inject;
Expand All @@ -17,9 +32,6 @@
import space.ao.services.support.platform.info.registry.UserRegistryInfo;
import space.ao.services.support.platform.info.registry.UserRegistryResult;
import space.ao.services.support.platform.info.token.TokenVerifySignInfo;
import space.ao.services.support.platform.model.ObtainBoxRegKeyResponse;
import space.ao.services.support.platform.model.RegisterClientResponse;
import space.ao.services.support.platform.model.RegisterUserResponse;
import space.ao.services.support.security.SecurityUtils;

import java.nio.charset.StandardCharsets;
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit d01b113

Please sign in to comment.