All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.funixproductions.api.encryption.client.clients.FunixProductionsEncryptionClient Maven / Gradle / Ivy

There is a newer version: 1.3.3.0
Show newest version
package com.funixproductions.api.encryption.client.clients;

import jakarta.validation.constraints.NotBlank;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(
        name = "FunixProductionsEncryptionClient",
        url = "${funixproductions.api.encryption.app-domain-url}",
        path = "/encryption"
)
public interface FunixProductionsEncryptionClient {

    @PostMapping("encrypt")
    String encrypt(@RequestBody @NotBlank String clearText);

    @PostMapping("decrypt")
    String decrypt(@RequestBody @NotBlank String encryptedText);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy