// Path: microservices/process-service/src/main/java/de/qaware/oss/cloud/service/process/integration/ProcessServiceConfig.java
// @Configuration(cacheFor = 60)
// public interface ProcessServiceConfig {
// 
//     @ConfigProperty(name = "service.name", defaultValue = "Process Service (Default)")
//     String serviceName();
// 
//     @ConfigProperty(name = "processing.seconds", defaultValue = "1")
//     int processingSeconds();
// 
// }


import de.qaware.oss.cloud.service.process.integration.ProcessServiceConfig;
import org.apache.deltaspike.core.api.projectstage.ProjectStage;
import org.eclipse.microprofile.metrics.annotation.Timed;
import org.eclipse.microprofile.opentracing.Traced;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.json.Json;
import javax.json.JsonObject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
package de.qaware.oss.cloud.service.process.boundary;



@ApplicationScoped
@Path("config")
@Produces(MediaType.APPLICATION_JSON)
public class ConfigResource {

    @Inject
    private ProjectStage projectStage;

    @Inject
    private ProcessServiceConfig config;

    @GET
// Path: microservices/process-service/src/main/java/de/qaware/oss/cloud/service/process/integration/ProcessServiceConfig.java
// @Configuration(cacheFor = 60)
// public interface ProcessServiceConfig {
// 
//     @ConfigProperty(name = "service.name", defaultValue = "Process Service (Default)")
//     String serviceName();
// 
//     @ConfigProperty(name = "processing.seconds", defaultValue = "1")
//     int processingSeconds();
// 
// }


// Path: microservices/process-service/src/main/java/de/qaware/oss/cloud/service/process/boundary/ConfigResource.java
import de.qaware.oss.cloud.service.process.integration.ProcessServiceConfig;
import org.apache.deltaspike.core.api.projectstage.ProjectStage;
import org.eclipse.microprofile.metrics.annotation.Timed;
import org.eclipse.microprofile.opentracing.Traced;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.json.Json;
import javax.json.JsonObject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;

package de.qaware.oss.cloud.service.process.boundary;



@ApplicationScoped
@Path("config")
@Produces(MediaType.APPLICATION_JSON)
public class ConfigResource {

    @Inject
    private ProjectStage projectStage;

    @Inject
    private ProcessServiceConfig config;

    @GET
    @Timed(unit = "milliseconds")