com.ibm.fhir.server.FHIRApplication Maven / Gradle / Ivy
/*
* (C) Copyright IBM Corp. 2016, 2020
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.ibm.fhir.server;
import java.util.HashSet;
import java.util.Set;
import java.util.logging.Logger;
import javax.ws.rs.RuntimeType;
import javax.ws.rs.core.Application;
import com.ibm.fhir.config.FHIRConfigHelper;
import com.ibm.fhir.config.FHIRConfiguration;
import com.ibm.fhir.provider.FHIRJsonPatchProvider;
import com.ibm.fhir.provider.FHIRJsonProvider;
import com.ibm.fhir.provider.FHIRProvider;
import com.ibm.fhir.server.resources.Batch;
import com.ibm.fhir.server.resources.Capabilities;
import com.ibm.fhir.server.resources.Create;
import com.ibm.fhir.server.resources.Delete;
import com.ibm.fhir.server.resources.History;
import com.ibm.fhir.server.resources.Operation;
import com.ibm.fhir.server.resources.Patch;
import com.ibm.fhir.server.resources.Read;
import com.ibm.fhir.server.resources.Search;
import com.ibm.fhir.server.resources.Update;
import com.ibm.fhir.server.resources.VRead;
import com.ibm.fhir.server.resources.WellKnown;
import com.ibm.fhir.server.resources.filters.OriginalRequestFilter;
public class FHIRApplication extends Application {
private static final Logger log = Logger.getLogger(FHIRApplication.class.getName());
private Set