Commit 56851d5a authored by neelesh thakur's avatar neelesh thakur
Browse files

add @Lazy for cryptography factories

parent 12574ecf
Pipeline #38694 passed with stages
in 11 minutes and 57 seconds
......@@ -5,6 +5,7 @@ import org.opengroup.osdu.azure.partition.PartitionInfoAzure;
import org.opengroup.osdu.azure.partition.PartitionServiceClient;
import org.opengroup.osdu.common.Validators;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
import com.azure.identity.DefaultAzureCredentialBuilder;
......@@ -15,6 +16,7 @@ import com.azure.security.keyvault.keys.cryptography.CryptographyClientBuilder;
* Implementation for CryptographyClientFactory.
*/
@Component
@Lazy
public class CryptographyClientFactoryImpl implements CryptographyClientFactory {
@Autowired
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment