Update package name to com.microsoft.azure.functions.worker
This commit is contained in:
Родитель
3a26a0516a
Коммит
820917ad8d
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions;
|
||||
package com.microsoft.azure.functions.worker;
|
||||
|
||||
import java.util.logging.*;
|
||||
import javax.annotation.*;
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions;
|
||||
package com.microsoft.azure.functions.worker;
|
||||
|
||||
public interface IApplication {
|
||||
boolean logToConsole();
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions;
|
||||
package com.microsoft.azure.functions.worker;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.concurrent.*;
|
||||
|
@ -10,9 +10,9 @@ import javax.annotation.*;
|
|||
import io.grpc.*;
|
||||
import io.grpc.stub.*;
|
||||
|
||||
import com.microsoft.azure.functions.broker.*;
|
||||
import com.microsoft.azure.functions.handler.*;
|
||||
import com.microsoft.azure.functions.reflect.*;
|
||||
import com.microsoft.azure.functions.worker.broker.*;
|
||||
import com.microsoft.azure.functions.worker.handler.*;
|
||||
import com.microsoft.azure.functions.worker.reflect.*;
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
|
||||
/**
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions;
|
||||
package com.microsoft.azure.functions.worker;
|
||||
|
||||
import java.io.*;
|
||||
import java.util.logging.*;
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.binding;
|
||||
package com.microsoft.azure.functions.worker.binding;
|
||||
|
||||
import org.apache.commons.lang3.*;
|
||||
|
|
@ -1,17 +1,17 @@
|
|||
package com.microsoft.azure.functions.binding;
|
||||
package com.microsoft.azure.functions.worker.binding;
|
||||
|
||||
import java.lang.reflect.*;
|
||||
import java.util.*;
|
||||
import java.util.function.*;
|
||||
import java.util.stream.*;
|
||||
|
||||
import com.microsoft.azure.functions.binding.BindingData.*;
|
||||
import com.microsoft.azure.functions.binding.BindingDefinition.*;
|
||||
import com.microsoft.azure.functions.broker.*;
|
||||
import com.microsoft.azure.functions.worker.binding.BindingData.*;
|
||||
import com.microsoft.azure.functions.worker.binding.BindingDefinition.*;
|
||||
import com.microsoft.azure.functions.worker.broker.*;
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
|
||||
import static com.microsoft.azure.functions.binding.BindingData.MatchingLevel.*;
|
||||
import static com.microsoft.azure.functions.binding.BindingDefinition.BindingType.*;
|
||||
import static com.microsoft.azure.functions.worker.binding.BindingData.MatchingLevel.*;
|
||||
import static com.microsoft.azure.functions.worker.binding.BindingDefinition.BindingType.*;
|
||||
|
||||
/**
|
||||
* A warehouse storing all binding related information including actual binding value as well as binding declaration info.
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.binding;
|
||||
package com.microsoft.azure.functions.worker.binding;
|
||||
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.binding;
|
||||
package com.microsoft.azure.functions.worker.binding;
|
||||
|
||||
import java.lang.reflect.*;
|
||||
import java.util.*;
|
||||
|
@ -6,8 +6,8 @@ import java.util.*;
|
|||
import org.apache.commons.lang3.*;
|
||||
import org.apache.commons.lang3.reflect.*;
|
||||
|
||||
import com.microsoft.azure.functions.binding.BindingData.*;
|
||||
import com.microsoft.azure.functions.broker.*;
|
||||
import com.microsoft.azure.functions.worker.binding.BindingData.*;
|
||||
import com.microsoft.azure.functions.worker.broker.*;
|
||||
|
||||
@FunctionalInterface
|
||||
interface CheckedFunction<T, R> {
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.binding;
|
||||
package com.microsoft.azure.functions.worker.binding;
|
||||
|
||||
import java.lang.reflect.*;
|
||||
import java.net.*;
|
||||
|
@ -11,10 +11,12 @@ import com.fasterxml.jackson.databind.*;
|
|||
import org.apache.commons.lang3.reflect.*;
|
||||
|
||||
import com.microsoft.azure.functions.*;
|
||||
import com.microsoft.azure.functions.worker.*;
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
import com.microsoft.azure.functions.binding.BindingData.*;
|
||||
import com.microsoft.azure.functions.worker.binding.BindingData.*;
|
||||
|
||||
import static com.microsoft.azure.functions.worker.binding.BindingData.MatchingLevel.*;
|
||||
|
||||
import static com.microsoft.azure.functions.binding.BindingData.MatchingLevel.*;
|
||||
|
||||
final class ExecutionContextDataSource extends DataSource<ExecutionContext> implements ExecutionContext {
|
||||
ExecutionContextDataSource(String invocationId, String funcname) {
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.binding;
|
||||
package com.microsoft.azure.functions.worker.binding;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
|
@ -9,7 +9,7 @@ import com.google.protobuf.*;
|
|||
import com.microsoft.azure.functions.*;
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
|
||||
import static com.microsoft.azure.functions.binding.BindingData.MatchingLevel.*;
|
||||
import static com.microsoft.azure.functions.worker.binding.BindingData.MatchingLevel.*;
|
||||
|
||||
final class RpcHttpDataTarget extends DataTarget implements HttpResponseMessage {
|
||||
RpcHttpDataTarget() {
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.binding;
|
||||
package com.microsoft.azure.functions.worker.binding;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.*;
|
||||
|
@ -6,7 +6,7 @@ import java.util.*;
|
|||
import com.google.protobuf.*;
|
||||
import org.apache.commons.lang3.*;
|
||||
|
||||
import static com.microsoft.azure.functions.binding.BindingData.MatchingLevel.*;
|
||||
import static com.microsoft.azure.functions.worker.binding.BindingData.MatchingLevel.*;
|
||||
|
||||
final class RpcEmptyDataSource extends DataSource<Object> {
|
||||
RpcEmptyDataSource(String name) { super(name, null, EMPTY_DATA_OPERATIONS); }
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.binding;
|
||||
package com.microsoft.azure.functions.worker.binding;
|
||||
|
||||
import java.lang.reflect.*;
|
||||
import java.util.*;
|
||||
|
@ -7,10 +7,10 @@ import org.apache.commons.lang3.*;
|
|||
import org.apache.commons.lang3.reflect.*;
|
||||
|
||||
import com.microsoft.azure.functions.*;
|
||||
import com.microsoft.azure.functions.binding.BindingData.*;
|
||||
import com.microsoft.azure.functions.worker.binding.BindingData.*;
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
|
||||
import static com.microsoft.azure.functions.binding.BindingData.MatchingLevel.*;
|
||||
import static com.microsoft.azure.functions.worker.binding.BindingData.MatchingLevel.*;
|
||||
|
||||
/**
|
||||
* Base class of all data sources. Provides basic information and logic for type conversion.
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.broker;
|
||||
package com.microsoft.azure.functions.worker.broker;
|
||||
|
||||
import java.io.*;
|
||||
import java.lang.annotation.*;
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.broker;
|
||||
package com.microsoft.azure.functions.worker.broker;
|
||||
|
||||
import java.io.*;
|
||||
import java.net.*;
|
||||
|
@ -7,9 +7,9 @@ import java.util.concurrent.*;
|
|||
|
||||
import org.apache.commons.lang3.tuple.*;
|
||||
|
||||
import com.microsoft.azure.functions.binding.*;
|
||||
import com.microsoft.azure.functions.description.*;
|
||||
import com.microsoft.azure.functions.reflect.*;
|
||||
import com.microsoft.azure.functions.worker.binding.*;
|
||||
import com.microsoft.azure.functions.worker.description.*;
|
||||
import com.microsoft.azure.functions.worker.reflect.*;
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
|
||||
/**
|
|
@ -1,13 +1,13 @@
|
|||
package com.microsoft.azure.functions.broker;
|
||||
package com.microsoft.azure.functions.worker.broker;
|
||||
|
||||
import java.lang.reflect.*;
|
||||
import java.net.*;
|
||||
import java.util.*;
|
||||
|
||||
import com.microsoft.azure.functions.annotation.*;
|
||||
import com.microsoft.azure.functions.binding.*;
|
||||
import com.microsoft.azure.functions.description.*;
|
||||
import com.microsoft.azure.functions.reflect.*;
|
||||
import com.microsoft.azure.functions.worker.binding.*;
|
||||
import com.microsoft.azure.functions.worker.description.*;
|
||||
import com.microsoft.azure.functions.worker.reflect.*;
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
|
||||
/**
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.broker;
|
||||
package com.microsoft.azure.functions.worker.broker;
|
||||
|
||||
import java.lang.reflect.*;
|
||||
import java.util.*;
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.broker;
|
||||
package com.microsoft.azure.functions.worker.broker;
|
||||
|
||||
import java.lang.invoke.*;
|
||||
import java.lang.reflect.*;
|
||||
|
@ -7,7 +7,7 @@ import java.util.stream.*;
|
|||
|
||||
import com.google.common.collect.*;
|
||||
import com.microsoft.azure.functions.*;
|
||||
import com.microsoft.azure.functions.binding.*;
|
||||
import com.microsoft.azure.functions.worker.binding.*;
|
||||
import org.apache.commons.lang3.reflect.*;
|
||||
|
||||
/**
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.description;
|
||||
package com.microsoft.azure.functions.worker.description;
|
||||
|
||||
import java.io.*;
|
||||
import java.util.*;
|
|
@ -1,9 +1,9 @@
|
|||
package com.microsoft.azure.functions.handler;
|
||||
package com.microsoft.azure.functions.worker.handler;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import com.microsoft.azure.functions.broker.*;
|
||||
import com.microsoft.azure.functions.description.*;
|
||||
import com.microsoft.azure.functions.worker.broker.*;
|
||||
import com.microsoft.azure.functions.worker.description.*;
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
|
||||
public class FunctionLoadRequestHandler extends MessageHandler<FunctionLoadRequest, FunctionLoadResponse.Builder> {
|
|
@ -1,10 +1,10 @@
|
|||
package com.microsoft.azure.functions.handler;
|
||||
package com.microsoft.azure.functions.worker.handler;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.logging.*;
|
||||
|
||||
import com.microsoft.azure.functions.*;
|
||||
import com.microsoft.azure.functions.broker.*;
|
||||
import com.microsoft.azure.functions.worker.*;
|
||||
import com.microsoft.azure.functions.worker.broker.*;
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
|
||||
public class InvocationRequestHandler extends MessageHandler<InvocationRequest, InvocationResponse.Builder> {
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.handler;
|
||||
package com.microsoft.azure.functions.worker.handler;
|
||||
|
||||
import java.util.concurrent.*;
|
||||
import java.util.function.*;
|
||||
|
@ -8,7 +8,7 @@ import com.google.protobuf.*;
|
|||
import org.apache.commons.lang3.*;
|
||||
import org.apache.commons.lang3.exception.*;
|
||||
|
||||
import com.microsoft.azure.functions.*;
|
||||
import com.microsoft.azure.functions.worker.*;
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
|
||||
/**
|
|
@ -1,11 +1,11 @@
|
|||
package com.microsoft.azure.functions.handler;
|
||||
package com.microsoft.azure.functions.worker.handler;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.logging.*;
|
||||
|
||||
import org.apache.commons.lang3.exception.*;
|
||||
|
||||
import com.microsoft.azure.functions.*;
|
||||
import com.microsoft.azure.functions.worker.*;
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
|
||||
public class RpcLogHandler extends OutboundMessageHandler<RpcLog.Builder> {
|
|
@ -1,8 +1,8 @@
|
|||
package com.microsoft.azure.functions.handler;
|
||||
package com.microsoft.azure.functions.worker.handler;
|
||||
|
||||
import java.util.logging.*;
|
||||
|
||||
import com.microsoft.azure.functions.*;
|
||||
import com.microsoft.azure.functions.worker.*;
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
|
||||
public class StartStreamHandler extends OutboundMessageHandler<StartStream.Builder> {
|
|
@ -1,6 +1,6 @@
|
|||
package com.microsoft.azure.functions.handler;
|
||||
package com.microsoft.azure.functions.worker.handler;
|
||||
|
||||
import com.microsoft.azure.functions.*;
|
||||
import com.microsoft.azure.functions.worker.*;
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
|
||||
public class WorkerInitRequestHandler extends MessageHandler<WorkerInitRequest, WorkerInitResponse.Builder> {
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.reflect;
|
||||
package com.microsoft.azure.functions.worker.reflect;
|
||||
|
||||
import java.io.*;
|
||||
import java.net.*;
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.reflect;
|
||||
package com.microsoft.azure.functions.worker.reflect;
|
||||
|
||||
import java.io.*;
|
||||
import java.lang.reflect.*;
|
|
@ -1,3 +0,0 @@
|
|||
package com.microsoft.azure.functions.test.categories;
|
||||
|
||||
public interface FunctionalTesting {}
|
|
@ -1,3 +0,0 @@
|
|||
package com.microsoft.azure.functions.test.categories;
|
||||
|
||||
public interface IntegrationTesting {}
|
|
@ -1,3 +0,0 @@
|
|||
package com.microsoft.azure.functions.test.categories;
|
||||
|
||||
public interface SmokeTesting {}
|
|
@ -1,3 +0,0 @@
|
|||
package com.microsoft.azure.functions.test.categories;
|
||||
|
||||
public interface UnitTesting {}
|
|
@ -1,15 +1,15 @@
|
|||
package com.microsoft.azure.functions.broker.tests;
|
||||
package com.microsoft.azure.functions.worker.broker.tests;
|
||||
|
||||
import java.lang.reflect.*;
|
||||
import java.util.*;
|
||||
|
||||
import com.microsoft.azure.functions.OutputBinding;
|
||||
import com.microsoft.azure.functions.test.categories.*;
|
||||
import com.microsoft.azure.functions.worker.test.categories.*;
|
||||
import org.junit.*;
|
||||
import org.junit.experimental.categories.*;
|
||||
|
||||
import static com.microsoft.azure.functions.broker.CoreTypeResolver.getRuntimeClass;
|
||||
import static com.microsoft.azure.functions.broker.CoreTypeResolver.isValidOutputType;
|
||||
import static com.microsoft.azure.functions.worker.broker.CoreTypeResolver.getRuntimeClass;
|
||||
import static com.microsoft.azure.functions.worker.broker.CoreTypeResolver.isValidOutputType;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
public class CoreTypeResolverTests {
|
|
@ -1,10 +1,10 @@
|
|||
package com.microsoft.azure.functions.functional.tests;
|
||||
package com.microsoft.azure.functions.worker.functional.tests;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
import com.microsoft.azure.functions.test.categories.*;
|
||||
import com.microsoft.azure.functions.test.utilities.*;
|
||||
import com.microsoft.azure.functions.worker.test.categories.*;
|
||||
import com.microsoft.azure.functions.worker.test.utilities.*;
|
||||
import org.junit.*;
|
||||
import org.junit.experimental.categories.*;
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
package com.microsoft.azure.functions.worker.test.categories;
|
||||
|
||||
public interface FunctionalTesting {}
|
|
@ -0,0 +1,3 @@
|
|||
package com.microsoft.azure.functions.worker.test.categories;
|
||||
|
||||
public interface IntegrationTesting {}
|
|
@ -0,0 +1,3 @@
|
|||
package com.microsoft.azure.functions.worker.test.categories;
|
||||
|
||||
public interface SmokeTesting {}
|
|
@ -0,0 +1,3 @@
|
|||
package com.microsoft.azure.functions.worker.test.categories;
|
||||
|
||||
public interface UnitTesting {}
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.test.utilities;
|
||||
package com.microsoft.azure.functions.worker.test.utilities;
|
||||
|
||||
import java.lang.reflect.*;
|
||||
import java.util.*;
|
|
@ -1,4 +1,4 @@
|
|||
package com.microsoft.azure.functions.test.utilities;
|
||||
package com.microsoft.azure.functions.worker.test.utilities;
|
||||
|
||||
import java.io.*;
|
||||
import java.util.*;
|
||||
|
@ -10,7 +10,7 @@ import javax.annotation.*;
|
|||
import javax.annotation.concurrent.*;
|
||||
|
||||
import com.google.protobuf.*;
|
||||
import com.microsoft.azure.functions.*;
|
||||
import com.microsoft.azure.functions.worker.*;
|
||||
import com.microsoft.azure.functions.rpc.messages.*;
|
||||
import io.grpc.*;
|
||||
import io.grpc.stub.*;
|
Загрузка…
Ссылка в новой задаче