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

tech.aroma.thrift.authentication.service.AuthenticationServiceConstants Maven / Gradle / Ivy

Go to download

Part of the Aroma Project. This project contains the Service and Model Definitions. From this the Server and Client interfaces are generated for the Aroma Service.

There is a newer version: 2.2
Show newest version
/**
 * Autogenerated by Thrift Compiler (0.9.3)
 *
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
 *  @generated
 */
package tech.aroma.thrift.authentication.service;

import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;

import org.apache.thrift.scheme.TupleScheme;
import org.apache.thrift.protocol.TTupleProtocol;
import org.apache.thrift.protocol.TProtocolException;
import org.apache.thrift.EncodingUtils;
import org.apache.thrift.TException;
import org.apache.thrift.async.AsyncMethodCallback;
import org.apache.thrift.server.AbstractNonblockingServer.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
import java.util.EnumSet;
import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
import javax.annotation.Generated;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
public class AuthenticationServiceConstants {

  public static final int SERVICE_PORT = 7026;

  public static final tech.aroma.thrift.endpoint.TcpEndpoint PRODUCTION_ENDPOINT = new tech.aroma.thrift.endpoint.TcpEndpoint();
  static {
    PRODUCTION_ENDPOINT.setHostname("authentication-srv.aroma.tech");
    PRODUCTION_ENDPOINT.setPort(7026);
  }

  public static final tech.aroma.thrift.endpoint.TcpEndpoint BETA_ENDPOINT = new tech.aroma.thrift.endpoint.TcpEndpoint();
  static {
    BETA_ENDPOINT.setHostname("authentication-srv.beta.aroma.tech");
    BETA_ENDPOINT.setPort(7026);
  }

  /**
   * The Default lifetime of a Token created by the Authentication Service.
   */
  public static final tech.aroma.thrift.LengthOfTime DEFAULT_TOKEN_LIFETIME = new tech.aroma.thrift.LengthOfTime();
  static {
    DEFAULT_TOKEN_LIFETIME.setValue(60L);
    DEFAULT_TOKEN_LIFETIME.setUnit(tech.aroma.thrift.TimeUnit.DAYS);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy