From 0dda90475d996c7c520debf9bfa9af9399989480 Mon Sep 17 00:00:00 2001 From: Rajan Dhabalia Date: Thu, 22 Jun 2017 15:18:29 -0700 Subject: [PATCH] Updates headers with ASF source files header (#519) * Updates headers with ASF source files header * change license to additional files --- .travis/settings.xml | 25 +++++----- NOTICE | 29 ++++++----- README.md | 2 - all/pom.xml | 29 ++++++----- all/src/assemble/bin.xml | 25 +++++----- all/src/assemble/src.xml | 25 +++++----- bin/bookkeeper | 29 ++++++----- bin/pulsar | 29 ++++++----- bin/pulsar-admin | 27 ++++++----- bin/pulsar-client | 27 ++++++----- bin/pulsar-daemon | 29 ++++++----- bin/pulsar-perf | 29 ++++++----- conf/bkenv.sh | 25 +++++----- conf/bookkeeper.conf | 25 +++++----- conf/broker.conf | 25 +++++----- conf/client.conf | 31 ++++++------ conf/discovery.conf | 25 +++++----- conf/global_zookeeper.conf | 31 ++++++------ conf/log4j.properties | 25 +++++----- conf/log4j.shell.properties | 29 ++++++----- conf/pulsar_env.sh | 31 ++++++------ conf/pulsar_tools_env.sh | 31 ++++++------ conf/standalone.conf | 31 ++++++------ conf/websocket.conf | 25 +++++----- conf/zookeeper.conf | 31 ++++++------ dashboard/Dockerfile | 25 +++++----- dashboard/conf/nginx-app.conf | 25 +++++----- dashboard/conf/postgresql.conf | 25 +++++----- dashboard/conf/supervisor-app.conf | 25 +++++----- dashboard/conf/uwsgi.ini | 25 +++++----- dashboard/django/collector.py | 25 +++++----- dashboard/django/collector.sh | 25 +++++----- dashboard/django/dashboard/__init__.py | 25 +++++----- dashboard/django/dashboard/settings.py | 25 +++++----- dashboard/django/dashboard/urls.py | 25 +++++----- dashboard/django/dashboard/wsgi.py | 25 +++++----- dashboard/django/manage.py | 25 +++++----- dashboard/django/stats/__init__.py | 25 +++++----- dashboard/django/stats/admin.py | 25 +++++----- dashboard/django/stats/apps.py | 25 +++++----- dashboard/django/stats/migrations/__init__.py | 28 ++++++----- dashboard/django/stats/models.py | 25 +++++----- .../django/stats/templates/stats/base.html | 29 ++++++----- .../django/stats/templates/stats/broker.html | 48 +++++++------------ .../django/stats/templates/stats/brokers.html | 25 +++++----- .../stats/templates/stats/clusters.html | 29 ++++++----- .../django/stats/templates/stats/home.html | 25 +++++----- .../stats/templates/stats/namespace.html | 29 ++++++----- .../stats/templates/stats/property.html | 25 +++++----- .../django/stats/templates/stats/topic.html | 29 ++++++----- .../django/stats/templates/stats/topics.html | 29 ++++++----- .../django/stats/templatetags/__init__.py | 25 +++++----- .../django/stats/templatetags/stats_extras.py | 25 +++++----- dashboard/django/stats/templatetags/table.py | 25 +++++----- dashboard/django/stats/tests.py | 25 +++++----- dashboard/django/stats/urls.py | 25 +++++----- dashboard/django/stats/views.py | 25 +++++----- docker/Dockerfile | 25 +++++----- docker/build.sh | 25 +++++----- docker/grafana/Dockerfile | 25 +++++----- docker/grafana/grafana.ini | 25 +++++----- docker/grafana/start.sh | 25 +++++----- docker/scripts/apply-config-from-env.py | 25 +++++----- docker/scripts/generate-zookeeper-config.sh | 25 +++++----- docker/scripts/pulsar-zookeeper-ruok.sh | 25 +++++----- docs/locale/ja/README.md | 2 - kubernetes/generic/bookie.yaml | 25 +++++----- kubernetes/generic/broker.yaml | 25 +++++----- kubernetes/generic/monitoring.yaml | 25 +++++----- kubernetes/generic/zookeeper.yaml | 25 +++++----- .../google-container-engine/bookie.yaml | 25 +++++----- .../google-container-engine/broker.yaml | 25 +++++----- .../google-container-engine/monitoring.yaml | 25 +++++----- .../google-container-engine/zookeeper.yaml | 25 +++++----- managed-ledger/pom.xml | 25 +++++----- .../bookkeeper/mledger/AsyncCallbacks.java | 25 +++++----- .../org/apache/bookkeeper/mledger/Entry.java | 25 +++++----- .../bookkeeper/mledger/ManagedCursor.java | 25 +++++----- .../bookkeeper/mledger/ManagedLedger.java | 25 +++++----- .../mledger/ManagedLedgerConfig.java | 25 +++++----- .../mledger/ManagedLedgerException.java | 25 +++++----- .../mledger/ManagedLedgerFactory.java | 25 +++++----- .../mledger/ManagedLedgerFactoryConfig.java | 25 +++++----- .../mledger/ManagedLedgerFactoryMXBean.java | 25 +++++----- .../bookkeeper/mledger/ManagedLedgerInfo.java | 25 +++++----- .../mledger/ManagedLedgerMXBean.java | 25 +++++----- .../apache/bookkeeper/mledger/Position.java | 25 +++++----- .../bookkeeper/mledger/impl/EntryCache.java | 25 +++++----- .../impl/EntryCacheDefaultEvictionPolicy.java | 25 +++++----- .../impl/EntryCacheEvictionPolicy.java | 25 +++++----- .../mledger/impl/EntryCacheImpl.java | 25 +++++----- .../mledger/impl/EntryCacheManager.java | 25 +++++----- .../bookkeeper/mledger/impl/EntryImpl.java | 25 +++++----- .../mledger/impl/ManagedCursorContainer.java | 25 +++++----- .../mledger/impl/ManagedCursorImpl.java | 25 +++++----- .../impl/ManagedLedgerFactoryImpl.java | 25 +++++----- .../impl/ManagedLedgerFactoryMBeanImpl.java | 25 +++++----- .../mledger/impl/ManagedLedgerImpl.java | 25 +++++----- .../mledger/impl/ManagedLedgerMBeanImpl.java | 25 +++++----- .../impl/ManagedLedgerOfflineBacklog.java | 25 +++++----- .../bookkeeper/mledger/impl/MetaStore.java | 25 +++++----- .../mledger/impl/MetaStoreImplZookeeper.java | 25 +++++----- .../mledger/impl/NonDurableCursorImpl.java | 25 +++++----- .../bookkeeper/mledger/impl/OpAddEntry.java | 25 +++++----- .../bookkeeper/mledger/impl/OpFindNewest.java | 25 +++++----- .../bookkeeper/mledger/impl/OpReadEntry.java | 25 +++++----- .../bookkeeper/mledger/impl/PositionImpl.java | 25 +++++----- .../mledger/util/CallbackMutex.java | 25 +++++----- .../bookkeeper/mledger/util/Futures.java | 25 +++++----- .../apache/bookkeeper/mledger/util/Pair.java | 25 +++++----- .../bookkeeper/mledger/util/RangeCache.java | 25 +++++----- .../apache/bookkeeper/mledger/util/Rate.java | 25 +++++----- .../bookkeeper/mledger/util/SafeRun.java | 25 +++++----- .../bookkeeper/mledger/util/StatsBuckets.java | 25 +++++----- .../src/main/proto/MLDataFormats.proto | 25 +++++----- .../client/BookKeeperTestClient.java | 25 +++++----- .../bookkeeper/client/MockBookKeeper.java | 25 +++++----- .../bookkeeper/client/MockLedgerEntry.java | 25 +++++----- .../bookkeeper/client/MockLedgerHandle.java | 25 +++++----- .../mledger/SimpleBookKeeperTest.java | 25 +++++----- .../mledger/impl/EntryCacheManagerTest.java | 25 +++++----- .../mledger/impl/EntryCacheTest.java | 25 +++++----- .../impl/ManagedCursorConcurrencyTest.java | 25 +++++----- .../impl/ManagedCursorContainerTest.java | 25 +++++----- .../mledger/impl/ManagedCursorTest.java | 25 +++++----- .../ManagedLedgerBinaryFormatConversion.java | 25 +++++----- .../mledger/impl/ManagedLedgerBkTest.java | 25 +++++----- .../mledger/impl/ManagedLedgerErrorsTest.java | 25 +++++----- .../impl/ManagedLedgerFactoryTest.java | 25 +++++----- .../mledger/impl/ManagedLedgerMBeanTest.java | 25 +++++----- .../impl/ManagedLedgerSingleBookieTest.java | 25 +++++----- .../impl/ManagedLedgerTerminationTest.java | 25 +++++----- .../mledger/impl/ManagedLedgerTest.java | 25 +++++----- .../impl/MetaStoreImplZookeeperTest.java | 25 +++++----- .../mledger/impl/NonDurableCursorTest.java | 25 +++++----- .../bookkeeper/mledger/impl/PositionTest.java | 25 +++++----- .../mledger/util/CallbackMutexTest.java | 25 +++++----- .../bookkeeper/mledger/util/PairTest.java | 25 +++++----- .../mledger/util/RangeCacheTest.java | 25 +++++----- .../mledger/util/TestStatsBuckets.java | 25 +++++----- .../test/BookKeeperClusterTestCase.java | 25 +++++----- .../test/MockedBookKeeperTestCase.java | 25 +++++----- .../apache/bookkeeper/test/PortManager.java | 25 +++++----- .../apache/bookkeeper/test/ZooKeeperUtil.java | 25 +++++----- .../org/apache/zookeeper/MockZooKeeper.java | 25 +++++----- pom.xml | 29 ++++++----- pulsar-broker-auth-athenz/pom.xml | 29 ++++++----- .../AuthenticationProviderAthenz.java | 25 +++++----- .../AuthenticationProviderAthenzTest.java | 25 +++++----- pulsar-broker-common/pom.xml | 29 ++++++----- .../pulsar/broker/PulsarServerException.java | 25 +++++----- .../pulsar/broker/ServiceConfiguration.java | 25 +++++----- .../broker/ServiceConfigurationUtils.java | 25 +++++----- .../AuthenticationDataCommand.java | 25 +++++----- .../AuthenticationDataHttp.java | 25 +++++----- .../AuthenticationDataHttps.java | 25 +++++----- .../AuthenticationDataSource.java | 25 +++++----- .../AuthenticationProvider.java | 25 +++++----- .../AuthenticationProviderTls.java | 25 +++++----- .../authentication/AuthenticationService.java | 25 +++++----- .../authorization/AuthorizationManager.java | 25 +++++----- .../cache/ConfigurationCacheService.java | 25 +++++----- .../common/configuration/FieldContext.java | 25 +++++----- .../configuration/PulsarConfiguration.java | 25 +++++----- .../PulsarConfigurationLoader.java | 25 +++++----- .../PulsarConfigurationLoaderTest.java | 25 +++++----- pulsar-broker/pom.xml | 29 ++++++----- .../com/yahoo/pulsar/PulsarBrokerStarter.java | 25 +++++----- .../pulsar/PulsarClusterMetadataSetup.java | 25 +++++----- .../yahoo/pulsar/PulsarStandaloneStarter.java | 25 +++++----- .../broker/BookKeeperClientFactory.java | 25 +++++----- .../broker/BookKeeperClientFactoryImpl.java | 25 +++++----- .../com/yahoo/pulsar/broker/BrokerData.java | 25 +++++----- .../com/yahoo/pulsar/broker/BundleData.java | 25 +++++----- .../com/yahoo/pulsar/broker/JSONWritable.java | 25 +++++----- .../yahoo/pulsar/broker/LocalBrokerData.java | 25 +++++----- .../broker/ManagedLedgerClientFactory.java | 25 +++++----- .../broker/MessagingServiceShutdownHook.java | 25 +++++----- .../yahoo/pulsar/broker/PulsarService.java | 25 +++++----- .../pulsar/broker/TimeAverageBrokerData.java | 25 +++++----- .../pulsar/broker/TimeAverageMessageData.java | 25 +++++----- .../pulsar/broker/admin/AdminResource.java | 25 +++++----- .../pulsar/broker/admin/BrokerStats.java | 25 +++++----- .../yahoo/pulsar/broker/admin/Brokers.java | 25 +++++----- .../yahoo/pulsar/broker/admin/Clusters.java | 25 +++++----- .../yahoo/pulsar/broker/admin/Namespaces.java | 25 +++++----- .../pulsar/broker/admin/PersistentTopics.java | 25 +++++----- .../yahoo/pulsar/broker/admin/Properties.java | 25 +++++----- .../pulsar/broker/admin/ResourceQuotas.java | 25 +++++----- .../cache/LocalZooKeeperCacheService.java | 25 +++++----- .../broker/cache/ResourceQuotaCache.java | 25 +++++----- .../broker/loadbalance/BrokerFilter.java | 25 +++++----- .../BrokerFilterBadVersionException.java | 25 +++++----- .../loadbalance/BrokerFilterException.java | 25 +++++----- .../broker/loadbalance/BrokerHostUsage.java | 25 +++++----- .../broker/loadbalance/LeaderBroker.java | 25 +++++----- .../loadbalance/LeaderElectionService.java | 25 +++++----- .../broker/loadbalance/LoadCalculator.java | 25 +++++----- .../pulsar/broker/loadbalance/LoadData.java | 25 +++++----- .../broker/loadbalance/LoadManager.java | 25 +++++----- .../pulsar/broker/loadbalance/LoadRanker.java | 25 +++++----- .../pulsar/broker/loadbalance/LoadReport.java | 25 +++++----- .../loadbalance/LoadReportUpdaterTask.java | 25 +++++----- .../LoadResourceQuotaUpdaterTask.java | 25 +++++----- .../loadbalance/LoadSheddingStrategy.java | 25 +++++----- .../broker/loadbalance/LoadSheddingTask.java | 25 +++++----- .../loadbalance/ModularLoadManager.java | 25 +++++----- .../ModularLoadManagerStrategy.java | 25 +++++----- .../broker/loadbalance/PlacementStrategy.java | 25 +++++----- .../loadbalance/ResourceDescription.java | 25 +++++----- .../broker/loadbalance/ResourceUnit.java | 25 +++++----- .../broker/loadbalance/ServiceRequest.java | 25 +++++----- .../broker/loadbalance/ServiceUnit.java | 25 +++++----- .../loadbalance/impl/BrokerVersionFilter.java | 25 +++++----- .../loadbalance/impl/DeviationShedder.java | 25 +++++----- .../impl/GenericBrokerHostUsageImpl.java | 25 +++++----- .../impl/LeastLongTermMessageRate.java | 25 +++++----- .../impl/LinuxBrokerHostUsageImpl.java | 25 +++++----- .../loadbalance/impl/LoadManagerShared.java | 25 +++++----- .../impl/ModularLoadManagerImpl.java | 25 +++++----- .../impl/ModularLoadManagerWrapper.java | 25 +++++----- .../loadbalance/impl/OverloadShedder.java | 25 +++++----- .../impl/PulsarLoadReportImpl.java | 25 +++++----- .../impl/PulsarResourceDescription.java | 25 +++++----- .../impl/PulsarServiceRequest.java | 25 +++++----- .../loadbalance/impl/PulsarServiceUnit.java | 25 +++++----- .../impl/ResourceAvailabilityRanker.java | 25 +++++----- .../impl/SimpleLoadCalculatorImpl.java | 25 +++++----- .../impl/SimpleLoadManagerImpl.java | 25 +++++----- .../SimpleResourceAllocationPolicies.java | 25 +++++----- .../loadbalance/impl/SimpleResourceUnit.java | 25 +++++----- .../impl/WRRPlacementStrategy.java | 25 +++++----- .../broker/lookup/DestinationLookup.java | 25 +++++----- .../pulsar/broker/lookup/LookupResult.java | 25 +++++----- .../pulsar/broker/lookup/NamespaceData.java | 25 +++++----- .../pulsar/broker/lookup/RedirectData.java | 25 +++++----- .../namespace/NamespaceEphemeralData.java | 25 +++++----- .../broker/namespace/NamespaceService.java | 25 +++++----- .../pulsar/broker/namespace/OwnedBundle.java | 25 +++++----- .../broker/namespace/OwnershipCache.java | 25 +++++----- .../broker/namespace/ServiceUnitZkUtils.java | 25 +++++----- .../broker/service/BacklogQuotaManager.java | 25 +++++----- .../pulsar/broker/service/BrokerService.java | 25 +++++----- .../service/BrokerServiceException.java | 25 +++++----- .../yahoo/pulsar/broker/service/Consumer.java | 25 +++++----- .../pulsar/broker/service/Dispatcher.java | 25 +++++----- .../service/DistributedIdGenerator.java | 25 +++++----- .../yahoo/pulsar/broker/service/Producer.java | 25 +++++----- .../service/PulsarChannelInitializer.java | 25 +++++----- .../pulsar/broker/service/PulsarStats.java | 25 +++++----- .../pulsar/broker/service/ServerCnx.java | 25 +++++----- .../pulsar/broker/service/Subscription.java | 25 +++++----- .../yahoo/pulsar/broker/service/Topic.java | 25 +++++----- ...PersistentDispatcherMultipleConsumers.java | 25 +++++----- ...sistentDispatcherSingleActiveConsumer.java | 25 +++++----- .../PersistentMessageExpiryMonitor.java | 25 +++++----- .../persistent/PersistentMessageFinder.java | 25 +++++----- .../persistent/PersistentReplicator.java | 25 +++++----- .../persistent/PersistentSubscription.java | 25 +++++----- .../service/persistent/PersistentTopic.java | 25 +++++----- .../broker/stats/AllocatorStatsGenerator.java | 25 +++++----- .../stats/BookieClientStatsGenerator.java | 25 +++++----- .../stats/BrokerOperabilityMetrics.java | 25 +++++----- .../stats/ClusterReplicationMetrics.java | 25 +++++----- .../broker/stats/MBeanStatsGenerator.java | 25 +++++----- .../pulsar/broker/stats/MetricsGenerator.java | 25 +++++----- .../pulsar/broker/stats/NamespaceStats.java | 25 +++++----- .../broker/stats/ReplicationMetrics.java | 25 +++++----- .../pulsar/broker/stats/TopicLoadStats.java | 25 +++++----- .../broker/stats/metrics/AbstractMetrics.java | 25 +++++----- .../broker/stats/metrics/JvmMetrics.java | 25 +++++----- .../metrics/ManagedLedgerCacheMetrics.java | 25 +++++----- .../stats/metrics/ManagedLedgerMetrics.java | 25 +++++----- .../prometheus/AggregatedNamespaceStats.java | 25 +++++----- .../AggregatedReplicationStats.java | 25 +++++----- .../prometheus/NamespaceStatsAggregator.java | 25 +++++----- .../PrometheusMetricsGenerator.java | 25 +++++----- .../prometheus/PrometheusMetricsServlet.java | 25 +++++----- .../pulsar/broker/web/ApiVersionFilter.java | 25 +++++----- .../broker/web/AuthenticationFilter.java | 25 +++++----- .../broker/web/NoSwaggerDocumentation.java | 25 +++++----- .../broker/web/PulsarServerConnector.java | 25 +++++----- .../pulsar/broker/web/PulsarWebResource.java | 25 +++++----- .../broker/web/ResponseHandlerFilter.java | 25 +++++----- .../pulsar/broker/web/RestException.java | 25 +++++----- .../yahoo/pulsar/broker/web/VipStatus.java | 25 +++++----- .../yahoo/pulsar/broker/web/WebService.java | 25 +++++----- .../pulsar/common/naming/NamespaceBundle.java | 25 +++++----- .../common/naming/NamespaceBundleFactory.java | 25 +++++----- .../common/naming/NamespaceBundles.java | 25 +++++----- .../com/yahoo/pulsar/utils/CmdUtility.java | 25 +++++----- .../pulsar/utils/CopyOnWriteArrayList.java | 25 +++++----- .../com/yahoo/pulsar/utils/NumberFormat.java | 25 +++++----- .../utils/PulsarBrokerVersionStringUtils.java | 25 +++++----- .../pulsar/utils/PulsarKeyException.java | 25 +++++----- .../pulsar/utils/SimpleTextOutputStream.java | 25 +++++----- .../yahoo/pulsar/utils/StatsOutputStream.java | 25 +++++----- .../yahoo/pulsar/PulsarBrokerStarterTest.java | 25 +++++----- .../pulsar/broker/SLAMonitoringTest.java | 25 +++++----- .../pulsar/broker/admin/AdminApiTest.java | 25 +++++----- .../yahoo/pulsar/broker/admin/AdminTest.java | 25 +++++----- .../broker/admin/MockServletContext.java | 25 +++++----- .../pulsar/broker/admin/NamespacesTest.java | 25 +++++----- .../auth/AuthenticationServiceTest.java | 25 +++++----- .../pulsar/broker/auth/AuthorizationTest.java | 25 +++++----- .../auth/MockedPulsarServiceBaseTest.java | 25 +++++----- .../auth/SameThreadOrderedSafeExecutor.java | 25 +++++----- .../broker/cache/ResourceQuotaCacheTest.java | 25 +++++----- .../loadbalance/BrokerVersionFilterTest.java | 25 +++++----- .../broker/loadbalance/LoadBalancerTest.java | 25 +++++----- .../loadbalance/LoadBalancerTestingUtils.java | 25 +++++----- .../ModularLoadManagerImplTest.java | 25 +++++----- .../ModularLoadManagerStrategyTest.java | 25 +++++----- .../SimpleLoadManagerImplTest.java | 25 +++++----- .../http/HttpDestinationLookupv2Test.java | 25 +++++----- .../namespace/NamespaceServiceTest.java | 25 +++++----- .../broker/namespace/OwnershipCacheTest.java | 25 +++++----- .../service/AddMissingPatchVersionTest.java | 25 +++++----- .../broker/service/AdvertisedAddressTest.java | 25 +++++----- .../service/BacklogQuotaManagerTest.java | 25 +++++----- .../broker/service/BatchMessageTest.java | 25 +++++----- .../broker/service/BrokerServiceTest.java | 25 +++++----- .../service/BrokerServiceThrottlingTest.java | 25 +++++----- .../pulsar/broker/service/BrokerTestBase.java | 25 +++++----- .../service/DistributedIdGeneratorTest.java | 25 +++++----- .../service/MessageIdSerialization.java | 25 +++++----- ...sistentDispatcherFailoverConsumerTest.java | 25 +++++----- .../service/PersistentFailoverE2ETest.java | 25 +++++----- .../service/PersistentMessageFinderTest.java | 25 +++++----- .../service/PersistentQueueE2ETest.java | 25 +++++----- .../PersistentTopicConcurrentTest.java | 25 +++++----- .../service/PersistentTopicE2ETest.java | 25 +++++----- .../broker/service/PersistentTopicTest.java | 25 +++++----- .../pulsar/broker/service/ReplicatorTest.java | 25 +++++----- .../broker/service/ReplicatorTestBase.java | 25 +++++----- .../broker/service/ResendRequestTest.java | 25 +++++----- .../pulsar/broker/service/ServerCnxTest.java | 25 +++++----- .../broker/service/TopicTerminationTest.java | 25 +++++----- .../service/utils/ClientChannelHelper.java | 25 +++++----- .../BookieClientsStatsGeneratorTest.java | 25 +++++----- .../stats/ManagedLedgerMetricsTest.java | 25 +++++----- .../broker/web/ApiVersionFilterTest.java | 25 +++++----- .../pulsar/broker/web/WebServiceTest.java | 25 +++++----- .../ZooKeeperSessionExpireRecoveryTest.java | 25 +++++----- .../AuthenticatedProducerConsumerTest.java | 25 +++++----- .../client/api/BrokerServiceLookupTest.java | 25 +++++----- .../pulsar/client/api/ClientErrorsTest.java | 25 +++++----- .../api/DispatcherBlockConsumerTest.java | 25 +++++----- .../pulsar/client/api/MockBrokerService.java | 25 +++++----- .../client/api/MockBrokerServiceHooks.java | 25 +++++----- .../api/PartitionedProducerConsumerTest.java | 25 +++++----- .../client/api/ProducerConsumerBase.java | 25 +++++----- .../api/SimpleProducerConsumerStatTest.java | 25 +++++----- .../api/SimpleProducerConsumerTest.java | 25 +++++----- .../client/api/TlsProducerConsumerTest.java | 25 +++++----- .../pulsar/client/api/TopicReaderTest.java | 25 +++++----- .../BatchMessageIdImplSerializationTest.java | 25 +++++----- .../impl/BrokerClientIntegrationTest.java | 25 +++++----- .../client/impl/ConsumeBaseExceptionTest.java | 26 +++++----- .../pulsar/client/impl/MessageIdTest.java | 25 +++++----- ...erMessageUnAcknowledgedRedeliveryTest.java | 25 +++++----- .../UnAcknowledgedMessagesTimeoutTest.java | 25 +++++----- .../pulsar/client/impl/ZeroQueueSizeTest.java | 25 +++++----- .../common/naming/NamespaceBundleTest.java | 25 +++++----- .../common/naming/NamespaceBundlesTest.java | 25 +++++----- .../naming/ServiceConfigurationTest.java | 25 +++++----- .../service/web/DiscoveryServiceWebTest.java | 25 +++++----- .../client/PulsarBrokerStatsClientTest.java | 25 +++++----- .../utils/SimpleTextOutputStreamTest.java | 25 +++++----- .../pulsar/utils/StatsOutputStreamTest.java | 25 +++++----- .../proxy/MockAuthenticationProvider.java | 25 +++++----- .../proxy/ProxyAuthenticationTest.java | 26 +++++----- .../proxy/ProxyAuthorizationTest.java | 25 +++++----- .../proxy/ProxyPublishConsumeTest.java | 25 +++++----- .../proxy/ProxyPublishConsumeTls.java | 25 +++++----- .../ProxyPublishConsumeWithoutZKTest.java | 25 +++++----- .../websocket/proxy/SimpleConsumerSocket.java | 25 +++++----- .../websocket/proxy/SimpleProducerSocket.java | 25 +++++----- .../org/testng/listener/TestListener.java | 25 +++++----- pulsar-checksum/pom.xml | 25 +++++----- .../src/main/assembly/assembly.xml | 25 +++++----- .../pulsar/checksum/utils/Crc32cChecksum.java | 25 +++++----- .../checksum/utils/Crc32cSse42Provider.java | 25 +++++----- .../pulsar/checksum/utils/NativeUtils.java | 25 +++++----- .../checksum/utils/Crc32cChecksumTest.java | 25 +++++----- .../checksum/utils/NativeUtilsTests.java | 25 +++++----- pulsar-client-admin/pom.xml | 25 +++++----- .../pulsar/client/admin/BrokerStats.java | 25 +++++----- .../yahoo/pulsar/client/admin/Brokers.java | 25 +++++----- .../yahoo/pulsar/client/admin/Clusters.java | 25 +++++----- .../com/yahoo/pulsar/client/admin/Lookup.java | 25 +++++----- .../yahoo/pulsar/client/admin/Namespaces.java | 25 +++++----- .../pulsar/client/admin/PersistentTopics.java | 25 +++++----- .../yahoo/pulsar/client/admin/Properties.java | 25 +++++----- .../pulsar/client/admin/PulsarAdmin.java | 25 +++++----- .../client/admin/PulsarAdminException.java | 25 +++++----- .../pulsar/client/admin/ResourceQuotas.java | 25 +++++----- .../client/admin/internal/BaseResource.java | 25 +++++----- .../admin/internal/BrokerStatsImpl.java | 25 +++++----- .../client/admin/internal/BrokersImpl.java | 25 +++++----- .../client/admin/internal/ClustersImpl.java | 25 +++++----- .../admin/internal/JacksonConfigurator.java | 25 +++++----- .../client/admin/internal/LookupImpl.java | 25 +++++----- .../client/admin/internal/NamespacesImpl.java | 25 +++++----- .../admin/internal/PersistentTopicsImpl.java | 25 +++++----- .../client/admin/internal/PropertiesImpl.java | 25 +++++----- .../admin/internal/ResourceQuotasImpl.java | 25 +++++----- pulsar-client-auth-athenz/pom.xml | 29 ++++++----- .../impl/auth/AuthenticationAthenz.java | 25 +++++----- .../impl/auth/AuthenticationDataAthenz.java | 25 +++++----- .../impl/auth/AuthenticationAthenzTest.java | 25 +++++----- pulsar-client-cpp/CMakeLists.txt | 29 ++++++----- pulsar-client-cpp/NOTICE | 29 ++++++----- pulsar-client-cpp/eclipse-formatter.xml | 27 ++++++----- pulsar-client-cpp/examples/CMakeLists.txt | 29 ++++++----- .../examples/SampleAsyncProducer.cc | 26 +++++----- pulsar-client-cpp/examples/SampleConsumer.cc | 26 +++++----- .../examples/SampleConsumerListener.cc | 26 +++++----- pulsar-client-cpp/examples/SampleProducer.cc | 26 +++++----- pulsar-client-cpp/generate_protobuf.sh | 25 +++++----- .../include/pulsar/Authentication.h | 26 +++++----- .../include/pulsar/BatchMessageId.h | 26 +++++----- .../include/pulsar/BrokerConsumerStats.h | 26 +++++----- pulsar-client-cpp/include/pulsar/Client.h | 26 +++++----- .../include/pulsar/ClientConfiguration.h | 26 +++++----- .../include/pulsar/CompressionType.h | 26 +++++----- pulsar-client-cpp/include/pulsar/Consumer.h | 26 +++++----- .../include/pulsar/ConsumerConfiguration.h | 26 +++++----- .../include/pulsar/ConsumerType.h | 26 +++++----- pulsar-client-cpp/include/pulsar/Message.h | 26 +++++----- .../include/pulsar/MessageBuilder.h | 26 +++++----- pulsar-client-cpp/include/pulsar/MessageId.h | 26 +++++----- .../include/pulsar/MessageRoutingPolicy.h | 26 +++++----- pulsar-client-cpp/include/pulsar/Producer.h | 26 +++++----- .../include/pulsar/ProducerConfiguration.h | 26 +++++----- pulsar-client-cpp/include/pulsar/Result.h | 26 +++++----- pulsar-client-cpp/lib/Authentication.cc | 26 +++++----- pulsar-client-cpp/lib/Backoff.cc | 26 +++++----- pulsar-client-cpp/lib/Backoff.h | 26 +++++----- .../lib/BatchAcknowledgementTracker.cc | 26 +++++----- .../lib/BatchAcknowledgementTracker.h | 26 +++++----- .../lib/BatchMessageContainer.cc | 26 +++++----- pulsar-client-cpp/lib/BatchMessageContainer.h | 26 +++++----- .../lib/BinaryProtoLookupService.cc | 26 +++++----- .../lib/BinaryProtoLookupService.h | 26 +++++----- pulsar-client-cpp/lib/BlockingQueue.h | 26 +++++----- pulsar-client-cpp/lib/BrokerConsumerStats.cc | 26 +++++----- .../lib/BrokerConsumerStatsImpl.cc | 26 +++++----- .../lib/BrokerConsumerStatsImpl.h | 26 +++++----- .../lib/BrokerConsumerStatsImplBase.h | 26 +++++----- pulsar-client-cpp/lib/CMakeLists.txt | 29 ++++++----- pulsar-client-cpp/lib/Client.cc | 26 +++++----- pulsar-client-cpp/lib/ClientConfiguration.cc | 26 +++++----- .../lib/ClientConfigurationImpl.h | 26 +++++----- pulsar-client-cpp/lib/ClientConnection.cc | 26 +++++----- pulsar-client-cpp/lib/ClientConnection.h | 26 +++++----- pulsar-client-cpp/lib/ClientImpl.cc | 26 +++++----- pulsar-client-cpp/lib/ClientImpl.h | 26 +++++----- pulsar-client-cpp/lib/Commands.cc | 26 +++++----- pulsar-client-cpp/lib/Commands.h | 26 +++++----- pulsar-client-cpp/lib/CompressionCodec.cc | 26 +++++----- pulsar-client-cpp/lib/CompressionCodec.h | 26 +++++----- pulsar-client-cpp/lib/CompressionCodecLZ4.cc | 26 +++++----- pulsar-client-cpp/lib/CompressionCodecLZ4.h | 26 +++++----- pulsar-client-cpp/lib/CompressionCodecZLib.cc | 26 +++++----- pulsar-client-cpp/lib/CompressionCodecZLib.h | 26 +++++----- pulsar-client-cpp/lib/ConnectionPool.cc | 26 +++++----- pulsar-client-cpp/lib/ConnectionPool.h | 26 +++++----- pulsar-client-cpp/lib/Consumer.cc | 26 +++++----- .../lib/ConsumerConfiguration.cc | 26 +++++----- .../lib/ConsumerConfigurationImpl.h | 26 +++++----- pulsar-client-cpp/lib/ConsumerImpl.cc | 26 +++++----- pulsar-client-cpp/lib/ConsumerImpl.h | 26 +++++----- pulsar-client-cpp/lib/ConsumerImplBase.h | 26 +++++----- pulsar-client-cpp/lib/DestinationName.cc | 26 +++++----- pulsar-client-cpp/lib/DestinationName.h | 26 +++++----- pulsar-client-cpp/lib/ExecutorService.cc | 26 +++++----- pulsar-client-cpp/lib/ExecutorService.h | 26 +++++----- pulsar-client-cpp/lib/Future.h | 26 +++++----- pulsar-client-cpp/lib/HTTPLookupService.cc | 25 +++++----- pulsar-client-cpp/lib/HTTPLookupService.h | 26 +++++----- pulsar-client-cpp/lib/HandlerBase.cc | 26 +++++----- pulsar-client-cpp/lib/HandlerBase.h | 26 +++++----- pulsar-client-cpp/lib/Latch.cc | 26 +++++----- pulsar-client-cpp/lib/Latch.h | 26 +++++----- pulsar-client-cpp/lib/LogUtils.cc | 26 +++++----- pulsar-client-cpp/lib/LogUtils.h | 26 +++++----- pulsar-client-cpp/lib/LookupDataResult.h | 26 +++++----- pulsar-client-cpp/lib/LookupService.h | 26 +++++----- pulsar-client-cpp/lib/Message.cc | 26 +++++----- pulsar-client-cpp/lib/MessageBuilder.cc | 26 +++++----- pulsar-client-cpp/lib/MessageId.cc | 26 +++++----- pulsar-client-cpp/lib/MessageImpl.cc | 26 +++++----- pulsar-client-cpp/lib/MessageImpl.h | 26 +++++----- pulsar-client-cpp/lib/NamedEntity.cc | 26 +++++----- pulsar-client-cpp/lib/NamedEntity.h | 26 +++++----- pulsar-client-cpp/lib/NamespaceName.cc | 26 +++++----- pulsar-client-cpp/lib/NamespaceName.h | 26 +++++----- pulsar-client-cpp/lib/ObjectPool.h | 26 +++++----- .../lib/PartitionedBrokerConsumerStatsImpl.cc | 26 +++++----- .../lib/PartitionedBrokerConsumerStatsImpl.h | 26 +++++----- .../lib/PartitionedConsumerImpl.cc | 26 +++++----- .../lib/PartitionedConsumerImpl.h | 26 +++++----- .../lib/PartitionedProducerImpl.cc | 26 +++++----- .../lib/PartitionedProducerImpl.h | 26 +++++----- pulsar-client-cpp/lib/Producer.cc | 26 +++++----- .../lib/ProducerConfiguration.cc | 26 +++++----- .../lib/ProducerConfigurationImpl.h | 26 +++++----- pulsar-client-cpp/lib/ProducerImpl.cc | 26 +++++----- pulsar-client-cpp/lib/ProducerImpl.h | 26 +++++----- pulsar-client-cpp/lib/ProducerImplBase.h | 26 +++++----- pulsar-client-cpp/lib/Result.cc | 26 +++++----- .../lib/RoundRobinMessageRouter.cc | 26 +++++----- .../lib/RoundRobinMessageRouter.h | 26 +++++----- pulsar-client-cpp/lib/ServiceUnitId.h | 26 +++++----- pulsar-client-cpp/lib/SharedBuffer.h | 26 +++++----- .../lib/SinglePartitionMessageRouter.cc | 26 +++++----- .../lib/SinglePartitionMessageRouter.h | 26 +++++----- .../lib/UnAckedMessageTrackerDisabled.h | 26 +++++----- .../lib/UnAckedMessageTrackerEnabled.cc | 26 +++++----- .../lib/UnAckedMessageTrackerEnabled.h | 26 +++++----- .../lib/UnAckedMessageTrackerInterface.h | 26 +++++----- .../lib/UnboundedBlockingQueue.h | 26 +++++----- pulsar-client-cpp/lib/Url.cc | 26 +++++----- pulsar-client-cpp/lib/Url.h | 26 +++++----- pulsar-client-cpp/lib/UtilAllocator.h | 26 +++++----- pulsar-client-cpp/lib/Utils.h | 26 +++++----- pulsar-client-cpp/lib/Version.h | 26 +++++----- pulsar-client-cpp/lib/auth/AuthTls.cc | 26 +++++----- pulsar-client-cpp/lib/auth/AuthTls.h | 26 +++++----- .../lib/checksum/ChecksumProvider.cc | 26 +++++----- .../lib/checksum/ChecksumProvider.h | 26 +++++----- pulsar-client-cpp/log4cxx.conf | 25 +++++----- pulsar-client-cpp/perf/CMakeLists.txt | 29 ++++++----- pulsar-client-cpp/perf/PerfConsumer.cc | 26 +++++----- pulsar-client-cpp/perf/PerfProducer.cc | 26 +++++----- pulsar-client-cpp/perf/RateLimiter.h | 26 +++++----- pulsar-client-cpp/python/CMakeLists.txt | 29 ++++++----- pulsar-client-cpp/python/pulsar.py | 25 +++++----- pulsar-client-cpp/python/pulsar_test.py | 25 +++++----- pulsar-client-cpp/python/setup.py | 25 +++++----- .../python/src/authentication.cc | 26 +++++----- pulsar-client-cpp/python/src/client.cc | 26 +++++----- pulsar-client-cpp/python/src/config.cc | 26 +++++----- pulsar-client-cpp/python/src/consumer.cc | 26 +++++----- pulsar-client-cpp/python/src/enums.cc | 26 +++++----- pulsar-client-cpp/python/src/message.cc | 26 +++++----- pulsar-client-cpp/python/src/producer.cc | 26 +++++----- pulsar-client-cpp/python/src/pulsar.cc | 26 +++++----- pulsar-client-cpp/python/src/utils.h | 25 +++++----- pulsar-client-cpp/python/test_consumer.py | 25 +++++----- pulsar-client-cpp/python/test_producer.py | 25 +++++----- pulsar-client-cpp/tests/AuthPluginTest.cc | 26 +++++----- pulsar-client-cpp/tests/BackoffTest.cc | 26 +++++----- pulsar-client-cpp/tests/BasicEndToEndTest.cc | 26 +++++----- pulsar-client-cpp/tests/BatchMessageTest.cc | 26 +++++----- .../tests/BinaryLookupServiceTest.cc | 26 +++++----- pulsar-client-cpp/tests/BlockingQueueTest.cc | 26 +++++----- pulsar-client-cpp/tests/CMakeLists.txt | 29 ++++++----- pulsar-client-cpp/tests/ClientTest.cc | 26 +++++----- pulsar-client-cpp/tests/ConsumerStatsTest.cc | 26 +++++----- pulsar-client-cpp/tests/ConsumerTest.cc | 26 +++++----- pulsar-client-cpp/tests/ConsumerTest.h | 26 +++++----- pulsar-client-cpp/tests/CustomRoutingPolicy.h | 26 +++++----- .../tests/DestinationNameTest.cc | 26 +++++----- pulsar-client-cpp/tests/HttpHelper.cc | 26 +++++----- pulsar-client-cpp/tests/HttpHelper.h | 26 +++++----- pulsar-client-cpp/tests/LatchTest.cc | 26 +++++----- pulsar-client-cpp/tests/LoggerTest.cc | 26 +++++----- pulsar-client-cpp/tests/MessageTest.cc | 26 +++++----- pulsar-client-cpp/tests/NamespaceNameTest.cc | 26 +++++----- pulsar-client-cpp/tests/ProducerTest.cc | 26 +++++----- pulsar-client-cpp/tests/PulsarFriend.h | 26 +++++----- pulsar-client-cpp/tests/UrlTest.cc | 26 +++++----- pulsar-client-cpp/tests/authentication.conf | 25 +++++----- pulsar-client-cpp/tests/client.conf | 25 +++++----- pulsar-client-cpp/tests/main.cc | 26 +++++----- pulsar-client-cpp/tests/standalone.conf | 31 ++++++------ pulsar-client-cpp/travis-build.sh | 25 +++++----- pulsar-client-cpp/wireshark/moduleinfo.h | 26 +++++----- .../wireshark/pulsarDissector.cc | 26 +++++----- pulsar-client-tools/pom.xml | 25 +++++----- .../yahoo/pulsar/admin/cli/CliCommand.java | 25 +++++----- .../com/yahoo/pulsar/admin/cli/CmdBase.java | 25 +++++----- .../pulsar/admin/cli/CmdBrokerStats.java | 25 +++++----- .../yahoo/pulsar/admin/cli/CmdBrokers.java | 25 +++++----- .../yahoo/pulsar/admin/cli/CmdClusters.java | 25 +++++----- .../cli/CmdNamespaceIsolationPolicy.java | 25 +++++----- .../yahoo/pulsar/admin/cli/CmdNamespaces.java | 25 +++++----- .../pulsar/admin/cli/CmdPersistentTopics.java | 25 +++++----- .../yahoo/pulsar/admin/cli/CmdProperties.java | 25 +++++----- .../pulsar/admin/cli/CmdResourceQuotas.java | 25 +++++----- .../pulsar/admin/cli/PulsarAdminTool.java | 25 +++++----- .../yahoo/pulsar/admin/cli/utils/IOUtils.java | 26 +++++----- .../cli/utils/NameValueParameterSplitter.java | 25 +++++----- .../yahoo/pulsar/client/cli/CmdConsume.java | 25 +++++----- .../yahoo/pulsar/client/cli/CmdProduce.java | 25 +++++----- .../pulsar/client/cli/PulsarClientTool.java | 25 +++++----- .../pulsar/admin/cli/PulsarAdminToolTest.java | 25 +++++----- .../pulsar/admin/cli/utils/IOUtilsTest.java | 25 +++++----- .../utils/NameValueParameterSplitterTest.java | 25 +++++----- .../client/cli/PulsarClientToolTest.java | 25 +++++----- pulsar-client/pom.xml | 29 ++++++----- .../pulsar/client/api/Authentication.java | 25 +++++----- .../api/AuthenticationDataProvider.java | 25 +++++----- .../client/api/AuthenticationFactory.java | 25 +++++----- .../client/api/ClientConfiguration.java | 25 +++++----- .../pulsar/client/api/CompressionType.java | 25 +++++----- .../com/yahoo/pulsar/client/api/Consumer.java | 25 +++++----- .../client/api/ConsumerConfiguration.java | 25 +++++----- .../com/yahoo/pulsar/client/api/Message.java | 25 +++++----- .../pulsar/client/api/MessageBuilder.java | 25 +++++----- .../yahoo/pulsar/client/api/MessageId.java | 25 +++++----- .../pulsar/client/api/MessageListener.java | 25 +++++----- .../pulsar/client/api/MessageRouter.java | 25 +++++----- .../com/yahoo/pulsar/client/api/Producer.java | 25 +++++----- .../client/api/ProducerConfiguration.java | 25 +++++----- .../yahoo/pulsar/client/api/PulsarClient.java | 25 +++++----- .../client/api/PulsarClientException.java | 25 +++++----- .../com/yahoo/pulsar/client/api/Reader.java | 25 +++++----- .../client/api/ReaderConfiguration.java | 25 +++++----- .../pulsar/client/api/ReaderListener.java | 25 +++++----- .../pulsar/client/api/SubscriptionType.java | 25 +++++----- .../com/yahoo/pulsar/client/impl/Backoff.java | 25 +++++----- .../client/impl/BatchMessageContainer.java | 25 +++++----- .../client/impl/BatchMessageIdImpl.java | 25 +++++----- .../client/impl/BinaryProtoLookupService.java | 25 +++++----- .../yahoo/pulsar/client/impl/ClientCnx.java | 25 +++++----- .../pulsar/client/impl/ConnectionPool.java | 25 +++++----- .../pulsar/client/impl/ConsumerBase.java | 25 +++++----- .../yahoo/pulsar/client/impl/ConsumerId.java | 25 +++++----- .../pulsar/client/impl/ConsumerImpl.java | 25 +++++----- .../pulsar/client/impl/ConsumerStats.java | 25 +++++----- .../client/impl/ConsumerStatsDisabled.java | 25 +++++----- .../yahoo/pulsar/client/impl/HandlerBase.java | 25 +++++----- .../yahoo/pulsar/client/impl/HttpClient.java | 25 +++++----- .../pulsar/client/impl/HttpLookupService.java | 25 +++++----- .../pulsar/client/impl/LookupService.java | 25 +++++----- .../client/impl/MessageBuilderImpl.java | 25 +++++----- .../pulsar/client/impl/MessageIdImpl.java | 25 +++++----- .../yahoo/pulsar/client/impl/MessageImpl.java | 25 +++++----- .../client/impl/PartitionedConsumerImpl.java | 25 +++++----- .../client/impl/PartitionedProducerImpl.java | 25 +++++----- .../pulsar/client/impl/ProducerBase.java | 25 +++++----- .../pulsar/client/impl/ProducerImpl.java | 25 +++++----- .../pulsar/client/impl/ProducerStats.java | 25 +++++----- .../client/impl/ProducerStatsDisabled.java | 25 +++++----- .../pulsar/client/impl/PulsarClientImpl.java | 25 +++++----- .../yahoo/pulsar/client/impl/ReaderImpl.java | 25 +++++----- .../RoundRobinPartitionMessageRouterImpl.java | 25 +++++----- .../pulsar/client/impl/SendCallback.java | 25 +++++----- .../SinglePartitionMessageRouterImpl.java | 25 +++++----- .../client/impl/UnAckedMessageTracker.java | 25 +++++----- .../impl/auth/AuthenticationDataNull.java | 25 +++++----- .../impl/auth/AuthenticationDataTls.java | 25 +++++----- .../impl/auth/AuthenticationDisabled.java | 25 +++++----- .../client/impl/auth/AuthenticationTls.java | 25 +++++----- .../pulsar/client/util/ExecutorProvider.java | 25 +++++----- .../yahoo/pulsar/client/util/FutureUtil.java | 25 +++++----- pulsar-client/src/main/javadoc/overview.html | 25 +++++----- .../pulsar/client/api/ConsumerIdTest.java | 26 +++++----- .../pulsar/client/api/MessageIdTest.java | 26 +++++----- .../yahoo/pulsar/client/impl/BackoffTest.java | 26 +++++----- .../client/impl/BatchMessageIdImplTest.java | 25 +++++----- .../tutorial/ContinuousAsyncProducer.java | 25 +++++----- .../client/tutorial/ContinuousProducer.java | 25 +++++----- .../client/tutorial/SampleAsyncProducer.java | 25 +++++----- .../client/tutorial/SampleConsumer.java | 25 +++++----- .../tutorial/SampleConsumerListener.java | 25 +++++----- .../client/tutorial/SampleProducer.java | 25 +++++----- pulsar-common/generate_protobuf.sh | 25 +++++----- pulsar-common/pom.xml | 25 +++++----- .../com/yahoo/pulsar/common/api/Commands.java | 25 +++++----- .../pulsar/common/api/DoubleByteBuf.java | 25 +++++----- .../pulsar/common/api/PulsarDecoder.java | 25 +++++----- .../pulsar/common/api/PulsarHandler.java | 25 +++++----- .../api/PulsarLengthFieldFrameDecoder.java | 25 +++++----- .../common/compression/CompressionCodec.java | 25 +++++----- .../compression/CompressionCodecLZ4.java | 25 +++++----- .../compression/CompressionCodecNone.java | 25 +++++----- .../compression/CompressionCodecProvider.java | 25 +++++----- .../compression/CompressionCodecZLib.java | 25 +++++----- .../pulsar/common/lookup/data/LookupData.java | 25 +++++----- .../common/naming/DestinationDomain.java | 25 +++++----- .../pulsar/common/naming/DestinationName.java | 25 +++++----- .../pulsar/common/naming/NamedEntity.java | 25 +++++----- .../pulsar/common/naming/NamespaceName.java | 25 +++++----- .../pulsar/common/naming/ServiceUnitId.java | 25 +++++----- .../partition/PartitionedTopicMetadata.java | 25 +++++----- .../common/policies/AutoFailoverPolicy.java | 25 +++++----- .../policies/NamespaceIsolationPolicy.java | 25 +++++----- .../common/policies/data/AuthAction.java | 25 +++++----- .../common/policies/data/AuthPolicies.java | 25 +++++----- .../policies/data/AutoFailoverPolicyData.java | 25 +++++----- .../policies/data/AutoFailoverPolicyType.java | 25 +++++----- .../common/policies/data/BacklogQuota.java | 25 +++++----- .../policies/data/BrokerAssignment.java | 25 +++++----- .../common/policies/data/BrokerStatus.java | 25 +++++----- .../common/policies/data/BundlesData.java | 25 +++++----- .../common/policies/data/ClusterData.java | 25 +++++----- .../common/policies/data/ConsumerStats.java | 25 +++++----- .../common/policies/data/ErrorData.java | 25 +++++----- .../common/policies/data/LocalPolicies.java | 25 +++++----- .../policies/data/NamespaceIsolationData.java | 25 +++++----- .../data/NamespaceOwnershipStatus.java | 25 +++++----- .../policies/data/PartitionedTopicStats.java | 25 +++++----- .../policies/data/PersistencePolicies.java | 25 +++++----- .../data/PersistentOfflineTopicStats.java | 25 +++++----- .../data/PersistentSubscriptionStats.java | 25 +++++----- .../data/PersistentTopicInternalStats.java | 25 +++++----- .../policies/data/PersistentTopicStats.java | 25 +++++----- .../pulsar/common/policies/data/Policies.java | 25 +++++----- .../common/policies/data/PropertyAdmin.java | 25 +++++----- .../common/policies/data/PublisherStats.java | 25 +++++----- .../common/policies/data/ReplicatorStats.java | 25 +++++----- .../common/policies/data/ResourceQuota.java | 25 +++++----- .../policies/data/RetentionPolicies.java | 25 +++++----- .../data/loadbalancer/BrokerUsage.java | 25 +++++----- .../policies/data/loadbalancer/JvmUsage.java | 25 +++++----- .../data/loadbalancer/LoadReport.java | 25 +++++----- .../loadbalancer/NamespaceBundleStats.java | 25 +++++----- .../NamespaceBundleStatsComparator.java | 25 +++++----- .../data/loadbalancer/NamespaceUsage.java | 25 +++++----- .../loadbalancer/ResourceUnitRanking.java | 25 +++++----- .../data/loadbalancer/ResourceUsage.java | 25 +++++----- .../data/loadbalancer/ServiceLookupData.java | 25 +++++----- .../loadbalancer/SystemResourceUsage.java | 25 +++++----- .../impl/AutoFailoverPolicyFactory.java | 25 +++++----- .../policies/impl/MinAvailablePolicy.java | 25 +++++----- .../impl/NamespaceIsolationPolicies.java | 25 +++++----- .../impl/NamespaceIsolationPolicyImpl.java | 25 +++++----- .../pulsar/common/stats/AllocatorStats.java | 26 +++++----- .../yahoo/pulsar/common/stats/Metrics.java | 25 +++++----- .../com/yahoo/pulsar/common/util/Codec.java | 25 +++++----- .../yahoo/pulsar/common/util/FieldParser.java | 25 +++++----- .../pulsar/common/util/KeyStoreHolder.java | 25 +++++----- .../common/util/ObjectMapperFactory.java | 25 +++++----- .../pulsar/common/util/SecurityUtility.java | 25 +++++----- .../collections/ConcurrentLongHashMap.java | 25 +++++----- .../collections/ConcurrentLongPairSet.java | 25 +++++----- .../collections/ConcurrentOpenHashMap.java | 25 +++++----- .../collections/ConcurrentOpenHashSet.java | 25 +++++----- .../GrowableArrayBlockingQueue.java | 25 +++++----- .../protobuf/ByteBufCodedInputStream.java | 25 +++++----- .../protobuf/ByteBufCodedOutputStream.java | 25 +++++----- .../AbstractRecyclableDerivedByteBuf.java | 25 +++++----- .../buffer/RecyclableDuplicateByteBuf.java | 25 +++++----- .../netty/buffer/RecyclableSlicedByteBuf.java | 25 +++++----- pulsar-common/src/main/proto/PulsarApi.proto | 25 +++++----- .../pulsar/common/api/DoubleByteBufTest.java | 25 +++++----- .../common/compression/CommandsTest.java | 25 +++++----- .../compression/CompressorCodecTest.java | 25 +++++----- .../compression/Crc32cChecksumTest.java | 25 +++++----- .../common/lookup/data/LookupDataTest.java | 25 +++++----- .../common/naming/DestinationNameTest.java | 25 +++++----- .../common/naming/NamespaceNameTest.java | 25 +++++----- .../data/AutoFailoverPolicyDataTest.java | 25 +++++----- .../data/AutoFailoverPolicyTypeTest.java | 25 +++++----- .../policies/data/BacklogQuotaTest.java | 25 +++++----- .../common/policies/data/ClusterDataTest.java | 25 +++++----- .../policies/data/LocalPolicesTest.java | 25 +++++----- .../data/NamespaceIsolationDataTest.java | 25 +++++----- .../data/NamespaceOwnershipStatusTest.java | 25 +++++----- .../common/policies/data/OldPolicies.java | 25 +++++----- .../data/PartitionedTopicStatsTest.java | 25 +++++----- .../data/PersistencePoliciesTest.java | 25 +++++----- .../data/PersistentOfflineTopicStatsTest.java | 25 +++++----- .../data/PersistentTopicStatsTest.java | 25 +++++----- .../policies/data/PoliciesDataTest.java | 25 +++++----- .../policies/data/ReplicatorStatsTest.java | 25 +++++----- .../policies/data/ResourceQuotaTest.java | 25 +++++----- .../policies/data/RetentionPolicesTest.java | 25 +++++----- .../impl/AutoFailoverPolicyFactoryTest.java | 25 +++++----- .../policies/impl/MinAvailablePolicyTest.java | 25 +++++----- .../impl/NamespaceIsolationPoliciesTest.java | 25 +++++----- .../NamespaceIsolationPolicyImplTest.java | 25 +++++----- .../ConcurrentLongHashMapTest.java | 25 +++++----- .../ConcurrentLongPairSetTest.java | 25 +++++----- .../ConcurrentOpenHashMapTest.java | 25 +++++----- .../ConcurrentOpenHashSetTest.java | 25 +++++----- .../util/collections/FieldParserTest.java | 25 +++++----- .../GrowableArrayBlockingQueueTest.java | 25 +++++----- .../protobuf/ByteBufCodedInputStreamTest.java | 25 +++++----- pulsar-discovery-service/pom.xml | 29 ++++++----- .../service/BrokerDiscoveryProvider.java | 25 +++++----- .../discovery/service/DiscoveryService.java | 25 +++++----- .../service/PulsarServerException.java | 25 +++++----- .../discovery/service/ServerConnection.java | 25 +++++----- .../service/ServiceChannelInitializer.java | 25 +++++----- .../server/DiscoveryServiceStarter.java | 25 +++++----- .../service/server/ServerManager.java | 25 +++++----- .../service/server/ServiceConfig.java | 25 +++++----- .../service/web/DiscoveryServiceServlet.java | 25 +++++----- .../discovery/service/web/RestException.java | 25 +++++----- .../service/web/ZookeeperCacheLoader.java | 25 +++++----- .../service/BaseDiscoveryTestSetup.java | 25 +++++----- .../service/DiscoveryServiceTest.java | 25 +++++----- .../server/DiscoveryServiceWebTest.java | 25 +++++----- .../service/web/BaseZKStarterTest.java | 25 +++++----- .../service/web/DiscoveryServiceWebTest.java | 25 +++++----- .../service/web/ZookeeperCacheLoaderTest.java | 25 +++++----- .../service/BaseDiscoveryTestSetup.java | 25 +++++----- .../service/DiscoveryServiceTest.java | 25 +++++----- .../server/DiscoveryServiceWebTest.java | 25 +++++----- .../service/web/BaseZKStarterTest.java | 25 +++++----- .../service/web/DiscoveryServiceWebTest.java | 25 +++++----- .../service/web/ZookeeperCacheLoaderTest.java | 25 +++++----- pulsar-spark/pom.xml | 29 ++++++----- .../spark/SparkStreamingPulsarReceiver.java | 26 +++++----- .../SparkStreamingPulsarReceiverTest.java | 25 +++++----- .../SparkStreamingPulsarReceiverExample.java | 26 +++++----- pulsar-storm/pom.xml | 29 ++++++----- .../pulsar/storm/MessageToValuesMapper.java | 25 +++++----- .../com/yahoo/pulsar/storm/PulsarBolt.java | 25 +++++----- .../pulsar/storm/PulsarBoltConfiguration.java | 25 +++++----- .../com/yahoo/pulsar/storm/PulsarSpout.java | 25 +++++----- .../storm/PulsarSpoutConfiguration.java | 25 +++++----- .../storm/PulsarStormConfiguration.java | 25 +++++----- .../pulsar/storm/SharedPulsarClient.java | 25 +++++----- .../pulsar/storm/TupleToMessageMapper.java | 25 +++++----- pulsar-storm/src/main/javadoc/overview.html | 25 +++++----- .../pulsar/storm/MockOutputCollector.java | 25 +++++----- .../storm/MockSpoutOutputCollector.java | 25 +++++----- .../yahoo/pulsar/storm/PulsarBoltTest.java | 25 +++++----- .../yahoo/pulsar/storm/PulsarSpoutTest.java | 25 +++++----- .../java/com/yahoo/pulsar/storm/TestUtil.java | 25 +++++----- .../pulsar/storm/example/StormExample.java | 25 +++++----- pulsar-testclient/pom.xml | 25 +++++----- .../client/MockAuthenticationProvider.java | 25 +++++----- .../socket/client/PaddingDecimalFormat.java | 25 +++++----- .../socket/client/PerformanceClient.java | 25 +++++----- .../client/SimpleTestProducerSocket.java | 25 +++++----- .../pulsar/testclient/BrokerMonitor.java | 25 +++++----- .../testclient/LoadSimulationClient.java | 25 +++++----- .../testclient/LoadSimulationController.java | 25 +++++----- .../testclient/PerformanceConsumer.java | 25 +++++----- .../testclient/PerformanceProducer.java | 25 +++++----- .../pulsar/testclient/PerformanceReader.java | 25 +++++----- .../utils/FixedColumnLengthTableMaker.java | 25 +++++----- .../utils/PaddingDecimalFormat.java | 25 +++++----- pulsar-websocket/pom.xml | 29 ++++++----- .../websocket/AbstractWebSocketHandler.java | 25 +++++----- .../pulsar/websocket/ConsumerHandler.java | 26 +++++----- .../pulsar/websocket/ProducerHandler.java | 25 +++++----- .../websocket/WebSocketConsumerServlet.java | 25 +++++----- .../pulsar/websocket/WebSocketError.java | 25 +++++----- .../websocket/WebSocketProducerServlet.java | 25 +++++----- .../pulsar/websocket/WebSocketService.java | 25 +++++----- .../pulsar/websocket/admin/RestException.java | 25 +++++----- .../websocket/admin/WebSocketProxyStats.java | 25 +++++----- .../websocket/admin/WebSocketWebResource.java | 25 +++++----- .../pulsar/websocket/data/ConsumerAck.java | 25 +++++----- .../websocket/data/ConsumerMessage.java | 25 +++++----- .../pulsar/websocket/data/ProducerAck.java | 25 +++++----- .../websocket/data/ProducerMessage.java | 25 +++++----- .../pulsar/websocket/service/ProxyServer.java | 25 +++++----- .../service/WebSocketProxyConfiguration.java | 25 +++++----- .../service/WebSocketServiceStarter.java | 25 +++++----- .../pulsar/websocket/stats/JvmMetrics.java | 25 +++++----- .../pulsar/websocket/stats/ProxyStats.java | 25 +++++----- .../websocket/stats/ProxyTopicStat.java | 25 +++++----- .../pulsar/websocket/stats/StatsBuckets.java | 25 +++++----- .../AuthenticationServiceTest.java | 25 +++++----- .../pulsar/websocket/LookupProtocolTest.java | 25 +++++----- pulsar-zookeeper-utils/pom.xml | 29 ++++++----- .../yahoo/pulsar/zookeeper/BookieInfo.java | 25 +++++----- .../yahoo/pulsar/zookeeper/Deserializers.java | 25 +++++----- .../zookeeper/GlobalZooKeeperCache.java | 25 +++++----- .../zookeeper/LocalBookkeeperEnsemble.java | 25 +++++----- .../pulsar/zookeeper/LocalZooKeeperCache.java | 25 +++++----- .../LocalZooKeeperConnectionService.java | 25 +++++----- .../ZkBookieRackAffinityMapping.java | 25 +++++----- ...IsolatedBookieEnsemblePlacementPolicy.java | 25 +++++----- .../pulsar/zookeeper/ZooKeeperCache.java | 25 +++++----- .../zookeeper/ZooKeeperCacheListener.java | 25 +++++----- .../zookeeper/ZooKeeperCacheWatcher.java | 25 +++++----- .../zookeeper/ZooKeeperChildrenCache.java | 25 +++++----- .../zookeeper/ZooKeeperClientFactory.java | 25 +++++----- .../pulsar/zookeeper/ZooKeeperDataCache.java | 25 +++++----- .../zookeeper/ZooKeeperSessionWatcher.java | 25 +++++----- .../zookeeper/ZookeeperClientFactoryImpl.java | 25 +++++----- .../pulsar/zookeeper/DeserializersTest.java | 25 +++++----- .../LocalBookkeeperEnsembleTest.java | 25 +++++----- .../LocalZooKeeperConnectionServiceTest.java | 25 +++++----- .../MockedZooKeeperClientFactoryImpl.java | 25 +++++----- .../ZkBookieRackAffinityMappingTest.java | 25 +++++----- ...atedBookieEnsemblePlacementPolicyTest.java | 25 +++++----- .../ZooKeeperSessionWatcherTest.java | 25 +++++----- .../pulsar/zookeeper/ZookeeperCacheTest.java | 25 +++++----- .../ZookeeperClientFactoryImplTest.java | 25 +++++----- .../pulsar/zookeeper/ZookeeperServerTest.java | 25 +++++----- pulsar-zookeeper/pom.xml | 25 +++++----- .../FinalRequestProcessorAspect.java | 25 +++++----- .../zookeeper/ZooKeeperServerAspect.java | 25 +++++----- .../pulsar/zookeeper/ZooKeeperStarter.java | 25 +++++----- src/findbugs-exclude.xml | 25 +++++----- src/formatter.xml | 25 +++++----- src/license-header.txt | 25 +++++----- 898 files changed, 12630 insertions(+), 10127 deletions(-) diff --git a/.travis/settings.xml b/.travis/settings.xml index 3dfbbb73bf058..ba36a8752f464 100644 --- a/.travis/settings.xml +++ b/.travis/settings.xml @@ -1,18 +1,21 @@ diff --git a/NOTICE b/NOTICE index 7425b031ac8ed..13b74d7f31712 100644 --- a/NOTICE +++ b/NOTICE @@ -1,19 +1,22 @@ Pulsar -Copyright 2016 Yahoo Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. This product contains modified portions of software developed at diff --git a/README.md b/README.md index feaa9290bc652..0c3402c8dcf0c 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,4 @@ flexible messaging model and an intuitive client API. ## License -Copyright 2016 Yahoo Inc. - Licensed under the Apache License, Version 2.0: [http://www.apache.org/licenses/LICENSE-2.0]() diff --git a/all/pom.xml b/all/pom.xml index 6499e3bdb465b..454e997b0c516 100644 --- a/all/pom.xml +++ b/all/pom.xml @@ -1,18 +1,21 @@ (, )+ diff --git a/conf/log4j.shell.properties b/conf/log4j.shell.properties index aa9c8673292c7..146d153fcac0c 100644 --- a/conf/log4j.shell.properties +++ b/conf/log4j.shell.properties @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # # diff --git a/conf/pulsar_env.sh b/conf/pulsar_env.sh index 011e89030e534..1330584689605 100644 --- a/conf/pulsar_env.sh +++ b/conf/pulsar_env.sh @@ -1,19 +1,22 @@ #!/usr/bin/env bash # -# Copyright 2016 Yahoo Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# # Set JAVA_HOME here to override the environment setting # JAVA_HOME= diff --git a/conf/pulsar_tools_env.sh b/conf/pulsar_tools_env.sh index 5d1f0ad8fbb3b..0186db7d50fe8 100755 --- a/conf/pulsar_tools_env.sh +++ b/conf/pulsar_tools_env.sh @@ -1,19 +1,22 @@ #!/usr/bin/env bash # -# Copyright 2016 Yahoo Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# # Set JAVA_HOME here to override the environment setting # JAVA_HOME= diff --git a/conf/standalone.conf b/conf/standalone.conf index ab5bea679b43b..c3d73f81d68bb 100644 --- a/conf/standalone.conf +++ b/conf/standalone.conf @@ -1,18 +1,21 @@ # -# Copyright 2016 Yahoo Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ### --- General broker settings --- ### diff --git a/conf/websocket.conf b/conf/websocket.conf index dfed3ad50aa9a..bb8ffbbd7ec4f 100644 --- a/conf/websocket.conf +++ b/conf/websocket.conf @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # ### --- Web Socket proxy settings --- ### diff --git a/conf/zookeeper.conf b/conf/zookeeper.conf index 3477c2c3c642c..ee13fe51da6e5 100644 --- a/conf/zookeeper.conf +++ b/conf/zookeeper.conf @@ -1,18 +1,21 @@ # -# Copyright 2016 Yahoo Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# # The number of milliseconds of each tick tickTime=2000 diff --git a/dashboard/Dockerfile b/dashboard/Dockerfile index 62d5da7ba2f01..a224790fbdb62 100644 --- a/dashboard/Dockerfile +++ b/dashboard/Dockerfile @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # FROM python:2.7 diff --git a/dashboard/conf/nginx-app.conf b/dashboard/conf/nginx-app.conf index 33688a2382cf3..6f57c1019c6cb 100644 --- a/dashboard/conf/nginx-app.conf +++ b/dashboard/conf/nginx-app.conf @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # upstream django { diff --git a/dashboard/conf/postgresql.conf b/dashboard/conf/postgresql.conf index 51e227ccb517e..d35dffa4c25d9 100644 --- a/dashboard/conf/postgresql.conf +++ b/dashboard/conf/postgresql.conf @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # # Relax durability to increase write throughput diff --git a/dashboard/conf/supervisor-app.conf b/dashboard/conf/supervisor-app.conf index 219c4b0d49ec0..30ff208717220 100644 --- a/dashboard/conf/supervisor-app.conf +++ b/dashboard/conf/supervisor-app.conf @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # [program:postgres] diff --git a/dashboard/conf/uwsgi.ini b/dashboard/conf/uwsgi.ini index f099723f3b1be..f027436aad8f9 100644 --- a/dashboard/conf/uwsgi.ini +++ b/dashboard/conf/uwsgi.ini @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # # django.ini file diff --git a/dashboard/django/collector.py b/dashboard/django/collector.py index d4588efd01181..76c0646df9c2d 100755 --- a/dashboard/django/collector.py +++ b/dashboard/django/collector.py @@ -1,18 +1,21 @@ #!/usr/bin/env python # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/dashboard/django/collector.sh b/dashboard/django/collector.sh index ccfa183eae87a..1c1f4d3fa1451 100755 --- a/dashboard/django/collector.sh +++ b/dashboard/django/collector.sh @@ -1,18 +1,21 @@ #!/bin/bash # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/dashboard/django/dashboard/__init__.py b/dashboard/django/dashboard/__init__.py index 1f42a3d5d7898..d8a500d9d8d41 100644 --- a/dashboard/django/dashboard/__init__.py +++ b/dashboard/django/dashboard/__init__.py @@ -1,16 +1,19 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/dashboard/django/dashboard/settings.py b/dashboard/django/dashboard/settings.py index 05eb47df899f5..37e8c2cf0623f 100644 --- a/dashboard/django/dashboard/settings.py +++ b/dashboard/django/dashboard/settings.py @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # """ diff --git a/dashboard/django/dashboard/urls.py b/dashboard/django/dashboard/urls.py index b68e270b16579..71b1f1177ebbf 100644 --- a/dashboard/django/dashboard/urls.py +++ b/dashboard/django/dashboard/urls.py @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # """dashboard URL Configuration diff --git a/dashboard/django/dashboard/wsgi.py b/dashboard/django/dashboard/wsgi.py index 0d90bfe7b84e6..9bdcc640255bb 100644 --- a/dashboard/django/dashboard/wsgi.py +++ b/dashboard/django/dashboard/wsgi.py @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # """ diff --git a/dashboard/django/manage.py b/dashboard/django/manage.py index 4d0fe68c01666..44022a4ebecaa 100755 --- a/dashboard/django/manage.py +++ b/dashboard/django/manage.py @@ -1,18 +1,21 @@ #!/usr/bin/env python # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # import os diff --git a/dashboard/django/stats/__init__.py b/dashboard/django/stats/__init__.py index 1f42a3d5d7898..d8a500d9d8d41 100644 --- a/dashboard/django/stats/__init__.py +++ b/dashboard/django/stats/__init__.py @@ -1,16 +1,19 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/dashboard/django/stats/admin.py b/dashboard/django/stats/admin.py index 66d26febaf504..b1bb3607998ba 100644 --- a/dashboard/django/stats/admin.py +++ b/dashboard/django/stats/admin.py @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # from django.contrib import admin diff --git a/dashboard/django/stats/apps.py b/dashboard/django/stats/apps.py index 000a3ab3261e0..5941cbeb72909 100644 --- a/dashboard/django/stats/apps.py +++ b/dashboard/django/stats/apps.py @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # from __future__ import unicode_literals diff --git a/dashboard/django/stats/migrations/__init__.py b/dashboard/django/stats/migrations/__init__.py index 1f42a3d5d7898..5fb255256df6d 100644 --- a/dashboard/django/stats/migrations/__init__.py +++ b/dashboard/django/stats/migrations/__init__.py @@ -1,16 +1,18 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# \ No newline at end of file diff --git a/dashboard/django/stats/models.py b/dashboard/django/stats/models.py index b680f8c010219..11bd23d334290 100644 --- a/dashboard/django/stats/models.py +++ b/dashboard/django/stats/models.py @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # from __future__ import unicode_literals diff --git a/dashboard/django/stats/templates/stats/base.html b/dashboard/django/stats/templates/stats/base.html index efff9201eeca6..1e5843f9c1e56 100644 --- a/dashboard/django/stats/templates/stats/base.html +++ b/dashboard/django/stats/templates/stats/base.html @@ -1,18 +1,21 @@ {% load static %} diff --git a/dashboard/django/stats/templates/stats/broker.html b/dashboard/django/stats/templates/stats/broker.html index bee15cfc365f9..38f68a9bf10f4 100644 --- a/dashboard/django/stats/templates/stats/broker.html +++ b/dashboard/django/stats/templates/stats/broker.html @@ -1,37 +1,21 @@ - - - {% extends "stats/base.html" %} diff --git a/dashboard/django/stats/templates/stats/brokers.html b/dashboard/django/stats/templates/stats/brokers.html index b1074b985394c..b022a878aa3d7 100644 --- a/dashboard/django/stats/templates/stats/brokers.html +++ b/dashboard/django/stats/templates/stats/brokers.html @@ -1,18 +1,21 @@ {% extends "stats/base.html" %} diff --git a/dashboard/django/stats/templates/stats/clusters.html b/dashboard/django/stats/templates/stats/clusters.html index 502b3c8f9e952..afcf22ed933b0 100644 --- a/dashboard/django/stats/templates/stats/clusters.html +++ b/dashboard/django/stats/templates/stats/clusters.html @@ -1,18 +1,21 @@ {% extends "stats/base.html" %} diff --git a/dashboard/django/stats/templates/stats/home.html b/dashboard/django/stats/templates/stats/home.html index 0ccecd6b6c3c9..828bfaed39063 100644 --- a/dashboard/django/stats/templates/stats/home.html +++ b/dashboard/django/stats/templates/stats/home.html @@ -1,18 +1,21 @@ {% extends "stats/base.html" %} diff --git a/dashboard/django/stats/templates/stats/namespace.html b/dashboard/django/stats/templates/stats/namespace.html index 7e8fe1d286785..8af1c5fbbf2ef 100644 --- a/dashboard/django/stats/templates/stats/namespace.html +++ b/dashboard/django/stats/templates/stats/namespace.html @@ -1,18 +1,21 @@ {% extends "stats/base.html" %} diff --git a/dashboard/django/stats/templates/stats/property.html b/dashboard/django/stats/templates/stats/property.html index a73e3c06970ba..7958919bc3c7f 100644 --- a/dashboard/django/stats/templates/stats/property.html +++ b/dashboard/django/stats/templates/stats/property.html @@ -1,18 +1,21 @@ {% extends "stats/base.html" %} diff --git a/dashboard/django/stats/templates/stats/topic.html b/dashboard/django/stats/templates/stats/topic.html index 64e0abb46f315..467b5a7b4595e 100644 --- a/dashboard/django/stats/templates/stats/topic.html +++ b/dashboard/django/stats/templates/stats/topic.html @@ -1,18 +1,21 @@ {% extends "stats/base.html" %} diff --git a/dashboard/django/stats/templates/stats/topics.html b/dashboard/django/stats/templates/stats/topics.html index 5563367336fdf..021443cc98b8c 100644 --- a/dashboard/django/stats/templates/stats/topics.html +++ b/dashboard/django/stats/templates/stats/topics.html @@ -1,18 +1,21 @@ {% extends "stats/base.html" %} diff --git a/dashboard/django/stats/templatetags/__init__.py b/dashboard/django/stats/templatetags/__init__.py index 1f42a3d5d7898..d8a500d9d8d41 100644 --- a/dashboard/django/stats/templatetags/__init__.py +++ b/dashboard/django/stats/templatetags/__init__.py @@ -1,16 +1,19 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/dashboard/django/stats/templatetags/stats_extras.py b/dashboard/django/stats/templatetags/stats_extras.py index 08a34285f2e2e..78f74275eb898 100644 --- a/dashboard/django/stats/templatetags/stats_extras.py +++ b/dashboard/django/stats/templatetags/stats_extras.py @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/dashboard/django/stats/templatetags/table.py b/dashboard/django/stats/templatetags/table.py index b27ece56e4a93..2613092c268a3 100644 --- a/dashboard/django/stats/templatetags/table.py +++ b/dashboard/django/stats/templatetags/table.py @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/dashboard/django/stats/tests.py b/dashboard/django/stats/tests.py index 4875f67571f19..8cdbd9cdae9ba 100644 --- a/dashboard/django/stats/tests.py +++ b/dashboard/django/stats/tests.py @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # from django.test import TestCase diff --git a/dashboard/django/stats/urls.py b/dashboard/django/stats/urls.py index da65149f16c6b..0c488bd3e9de2 100644 --- a/dashboard/django/stats/urls.py +++ b/dashboard/django/stats/urls.py @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # from django.conf.urls import url diff --git a/dashboard/django/stats/views.py b/dashboard/django/stats/views.py index f971a42bc64c7..426e9b1b6e381 100644 --- a/dashboard/django/stats/views.py +++ b/dashboard/django/stats/views.py @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # from django.shortcuts import render, get_object_or_404 diff --git a/docker/Dockerfile b/docker/Dockerfile index 19830c7f6888b..cea54926bc57f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # FROM openjdk:8-jdk diff --git a/docker/build.sh b/docker/build.sh index 4da33f81d3fa4..afc03debbad43 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -1,18 +1,21 @@ #!/bin/bash # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # # Get the project version from Maven diff --git a/docker/grafana/Dockerfile b/docker/grafana/Dockerfile index a8b8a2da4f509..e35b57b237041 100644 --- a/docker/grafana/Dockerfile +++ b/docker/grafana/Dockerfile @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # FROM grafana/grafana:4.3.1 diff --git a/docker/grafana/grafana.ini b/docker/grafana/grafana.ini index ab4ac09e5e4f9..2572dcbe04057 100644 --- a/docker/grafana/grafana.ini +++ b/docker/grafana/grafana.ini @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # [users] diff --git a/docker/grafana/start.sh b/docker/grafana/start.sh index 718c0320efbff..ce35f714f3e06 100755 --- a/docker/grafana/start.sh +++ b/docker/grafana/start.sh @@ -1,18 +1,21 @@ #!/bin/bash # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/docker/scripts/apply-config-from-env.py b/docker/scripts/apply-config-from-env.py index 4d3fe0f34a60e..ae16268be6d78 100755 --- a/docker/scripts/apply-config-from-env.py +++ b/docker/scripts/apply-config-from-env.py @@ -1,18 +1,21 @@ #!/usr/bin/env python # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # ## diff --git a/docker/scripts/generate-zookeeper-config.sh b/docker/scripts/generate-zookeeper-config.sh index 54c64999dd8dc..b53e6a3a59bac 100755 --- a/docker/scripts/generate-zookeeper-config.sh +++ b/docker/scripts/generate-zookeeper-config.sh @@ -1,18 +1,21 @@ #!/bin/bash # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # # Apply env variables to config file and start the regular command diff --git a/docker/scripts/pulsar-zookeeper-ruok.sh b/docker/scripts/pulsar-zookeeper-ruok.sh index 90a6a809bc293..f408850308763 100755 --- a/docker/scripts/pulsar-zookeeper-ruok.sh +++ b/docker/scripts/pulsar-zookeeper-ruok.sh @@ -1,18 +1,21 @@ #!/bin/bash # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # # Check ZK server status diff --git a/docs/locale/ja/README.md b/docs/locale/ja/README.md index 3ab898452bfc1..6806d7e0025ac 100644 --- a/docs/locale/ja/README.md +++ b/docs/locale/ja/README.md @@ -39,6 +39,4 @@ Pulsarは、非常に柔軟なメッセージングモデルと直感的なク ## ライセンス -Copyright 2016 Yahoo Inc. - Apache License Version 2.0に基づいて使用許諾されます: http://www.apache.org/licenses/LICENSE-2.0 diff --git a/kubernetes/generic/bookie.yaml b/kubernetes/generic/bookie.yaml index a26620c40aed9..c2bbfd1f1142b 100644 --- a/kubernetes/generic/bookie.yaml +++ b/kubernetes/generic/bookie.yaml @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/kubernetes/generic/broker.yaml b/kubernetes/generic/broker.yaml index f90aa0e98644c..ab36c624f38f0 100644 --- a/kubernetes/generic/broker.yaml +++ b/kubernetes/generic/broker.yaml @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/kubernetes/generic/monitoring.yaml b/kubernetes/generic/monitoring.yaml index a9e8c80464cb7..53fa3af58909f 100644 --- a/kubernetes/generic/monitoring.yaml +++ b/kubernetes/generic/monitoring.yaml @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # apiVersion: v1 diff --git a/kubernetes/generic/zookeeper.yaml b/kubernetes/generic/zookeeper.yaml index a9603ed7bda3a..4b055fdcf0585 100644 --- a/kubernetes/generic/zookeeper.yaml +++ b/kubernetes/generic/zookeeper.yaml @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/kubernetes/google-container-engine/bookie.yaml b/kubernetes/google-container-engine/bookie.yaml index a8e2ea567b2e9..51104473a0b17 100644 --- a/kubernetes/google-container-engine/bookie.yaml +++ b/kubernetes/google-container-engine/bookie.yaml @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/kubernetes/google-container-engine/broker.yaml b/kubernetes/google-container-engine/broker.yaml index 668502833b383..291d269057f95 100644 --- a/kubernetes/google-container-engine/broker.yaml +++ b/kubernetes/google-container-engine/broker.yaml @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/kubernetes/google-container-engine/monitoring.yaml b/kubernetes/google-container-engine/monitoring.yaml index 0d8c23952125d..0a0a8ff2f0ebd 100644 --- a/kubernetes/google-container-engine/monitoring.yaml +++ b/kubernetes/google-container-engine/monitoring.yaml @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # apiVersion: v1 diff --git a/kubernetes/google-container-engine/zookeeper.yaml b/kubernetes/google-container-engine/zookeeper.yaml index 725e4e2bac3e0..927fbe3487ca8 100644 --- a/kubernetes/google-container-engine/zookeeper.yaml +++ b/kubernetes/google-container-engine/zookeeper.yaml @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/managed-ledger/pom.xml b/managed-ledger/pom.xml index 9c76c95cc498f..5028f7545ecb8 100644 --- a/managed-ledger/pom.xml +++ b/managed-ledger/pom.xml @@ -1,18 +1,21 @@ diff --git a/pulsar-checksum/src/main/java/com/yahoo/pulsar/checksum/utils/Crc32cChecksum.java b/pulsar-checksum/src/main/java/com/yahoo/pulsar/checksum/utils/Crc32cChecksum.java index 3dd8213390641..0507816fddb08 100644 --- a/pulsar-checksum/src/main/java/com/yahoo/pulsar/checksum/utils/Crc32cChecksum.java +++ b/pulsar-checksum/src/main/java/com/yahoo/pulsar/checksum/utils/Crc32cChecksum.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.checksum.utils; diff --git a/pulsar-checksum/src/main/java/com/yahoo/pulsar/checksum/utils/Crc32cSse42Provider.java b/pulsar-checksum/src/main/java/com/yahoo/pulsar/checksum/utils/Crc32cSse42Provider.java index 003a0f7d9e0f9..67354b20206ca 100644 --- a/pulsar-checksum/src/main/java/com/yahoo/pulsar/checksum/utils/Crc32cSse42Provider.java +++ b/pulsar-checksum/src/main/java/com/yahoo/pulsar/checksum/utils/Crc32cSse42Provider.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.checksum.utils; diff --git a/pulsar-checksum/src/main/java/com/yahoo/pulsar/checksum/utils/NativeUtils.java b/pulsar-checksum/src/main/java/com/yahoo/pulsar/checksum/utils/NativeUtils.java index e104d3b607878..9a032bf7d9b75 100644 --- a/pulsar-checksum/src/main/java/com/yahoo/pulsar/checksum/utils/NativeUtils.java +++ b/pulsar-checksum/src/main/java/com/yahoo/pulsar/checksum/utils/NativeUtils.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.checksum.utils; diff --git a/pulsar-checksum/src/test/java/com/yahoo/pulsar/checksum/utils/Crc32cChecksumTest.java b/pulsar-checksum/src/test/java/com/yahoo/pulsar/checksum/utils/Crc32cChecksumTest.java index 3f69838853156..584aa7acb9859 100644 --- a/pulsar-checksum/src/test/java/com/yahoo/pulsar/checksum/utils/Crc32cChecksumTest.java +++ b/pulsar-checksum/src/test/java/com/yahoo/pulsar/checksum/utils/Crc32cChecksumTest.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.checksum.utils; diff --git a/pulsar-checksum/src/test/java/com/yahoo/pulsar/checksum/utils/NativeUtilsTests.java b/pulsar-checksum/src/test/java/com/yahoo/pulsar/checksum/utils/NativeUtilsTests.java index 8a886dc6fa823..c00394dc9b0ce 100644 --- a/pulsar-checksum/src/test/java/com/yahoo/pulsar/checksum/utils/NativeUtilsTests.java +++ b/pulsar-checksum/src/test/java/com/yahoo/pulsar/checksum/utils/NativeUtilsTests.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.checksum.utils; diff --git a/pulsar-client-admin/pom.xml b/pulsar-client-admin/pom.xml index e0278782094d1..3ed4c13b15b8c 100644 --- a/pulsar-client-admin/pom.xml +++ b/pulsar-client-admin/pom.xml @@ -1,19 +1,22 @@ - - diff --git a/pulsar-client-cpp/examples/CMakeLists.txt b/pulsar-client-cpp/examples/CMakeLists.txt index b5f36b5eab001..fe5eb6ec0429c 100644 --- a/pulsar-client-cpp/examples/CMakeLists.txt +++ b/pulsar-client-cpp/examples/CMakeLists.txt @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # set(SAMPLE_ASYNC_PRODUCER_SOURCES diff --git a/pulsar-client-cpp/examples/SampleAsyncProducer.cc b/pulsar-client-cpp/examples/SampleAsyncProducer.cc index 0b1db9e5631ce..3633c07066138 100644 --- a/pulsar-client-cpp/examples/SampleAsyncProducer.cc +++ b/pulsar-client-cpp/examples/SampleAsyncProducer.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/examples/SampleConsumer.cc b/pulsar-client-cpp/examples/SampleConsumer.cc index e9ac27e0d8550..0124a3d46f9e7 100644 --- a/pulsar-client-cpp/examples/SampleConsumer.cc +++ b/pulsar-client-cpp/examples/SampleConsumer.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/examples/SampleConsumerListener.cc b/pulsar-client-cpp/examples/SampleConsumerListener.cc index 2353031b0f5a7..5d60ccd12c26f 100644 --- a/pulsar-client-cpp/examples/SampleConsumerListener.cc +++ b/pulsar-client-cpp/examples/SampleConsumerListener.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/examples/SampleProducer.cc b/pulsar-client-cpp/examples/SampleProducer.cc index c0ff35029a404..0ee7ae5e216fa 100644 --- a/pulsar-client-cpp/examples/SampleProducer.cc +++ b/pulsar-client-cpp/examples/SampleProducer.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/generate_protobuf.sh b/pulsar-client-cpp/generate_protobuf.sh index e565196d78f7c..cf553670cd080 100755 --- a/pulsar-client-cpp/generate_protobuf.sh +++ b/pulsar-client-cpp/generate_protobuf.sh @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # PROTO_PATH=../pulsar-common/src/main/proto/ diff --git a/pulsar-client-cpp/include/pulsar/Authentication.h b/pulsar-client-cpp/include/pulsar/Authentication.h index 2456e6d55eb71..7def5f289f53b 100644 --- a/pulsar-client-cpp/include/pulsar/Authentication.h +++ b/pulsar-client-cpp/include/pulsar/Authentication.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_AUTHENTICATION_H_ #define PULSAR_AUTHENTICATION_H_ diff --git a/pulsar-client-cpp/include/pulsar/BatchMessageId.h b/pulsar-client-cpp/include/pulsar/BatchMessageId.h index a0ee550f6efd5..9efb8691cc998 100644 --- a/pulsar-client-cpp/include/pulsar/BatchMessageId.h +++ b/pulsar-client-cpp/include/pulsar/BatchMessageId.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_BATCHMESSAGEID_H_ #define LIB_BATCHMESSAGEID_H_ diff --git a/pulsar-client-cpp/include/pulsar/BrokerConsumerStats.h b/pulsar-client-cpp/include/pulsar/BrokerConsumerStats.h index ebf8c22963b07..78cff0acd7c9e 100644 --- a/pulsar-client-cpp/include/pulsar/BrokerConsumerStats.h +++ b/pulsar-client-cpp/include/pulsar/BrokerConsumerStats.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_CPP_BROKERCONSUMERSTATS_H #define PULSAR_CPP_BROKERCONSUMERSTATS_H diff --git a/pulsar-client-cpp/include/pulsar/Client.h b/pulsar-client-cpp/include/pulsar/Client.h index ae947c2b1759c..d2853a436a828 100644 --- a/pulsar-client-cpp/include/pulsar/Client.h +++ b/pulsar-client-cpp/include/pulsar/Client.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_CLIENT_HPP_ #define PULSAR_CLIENT_HPP_ diff --git a/pulsar-client-cpp/include/pulsar/ClientConfiguration.h b/pulsar-client-cpp/include/pulsar/ClientConfiguration.h index a70b4d44d2076..b385dcbdbd3f6 100644 --- a/pulsar-client-cpp/include/pulsar/ClientConfiguration.h +++ b/pulsar-client-cpp/include/pulsar/ClientConfiguration.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_CLIENTCONFIGURATION_H_ #define PULSAR_CLIENTCONFIGURATION_H_ diff --git a/pulsar-client-cpp/include/pulsar/CompressionType.h b/pulsar-client-cpp/include/pulsar/CompressionType.h index 824a13b695291..6028418766afd 100644 --- a/pulsar-client-cpp/include/pulsar/CompressionType.h +++ b/pulsar-client-cpp/include/pulsar/CompressionType.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_COMPRESSIONTYPE_H_ #define PULSAR_COMPRESSIONTYPE_H_ #pragma GCC visibility push(default) diff --git a/pulsar-client-cpp/include/pulsar/Consumer.h b/pulsar-client-cpp/include/pulsar/Consumer.h index fae35ddb375ce..c02c2604a44ea 100644 --- a/pulsar-client-cpp/include/pulsar/Consumer.h +++ b/pulsar-client-cpp/include/pulsar/Consumer.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef CONSUMER_HPP_ #define CONSUMER_HPP_ diff --git a/pulsar-client-cpp/include/pulsar/ConsumerConfiguration.h b/pulsar-client-cpp/include/pulsar/ConsumerConfiguration.h index 8ad12adca8b9f..9f600a432be00 100644 --- a/pulsar-client-cpp/include/pulsar/ConsumerConfiguration.h +++ b/pulsar-client-cpp/include/pulsar/ConsumerConfiguration.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_CONSUMERCONFIGURATION_H_ #define PULSAR_CONSUMERCONFIGURATION_H_ diff --git a/pulsar-client-cpp/include/pulsar/ConsumerType.h b/pulsar-client-cpp/include/pulsar/ConsumerType.h index 1ab4b28d800f8..ead4462e3ec98 100644 --- a/pulsar-client-cpp/include/pulsar/ConsumerType.h +++ b/pulsar-client-cpp/include/pulsar/ConsumerType.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_CPP_CONSUMERTYPE_H #define PULSAR_CPP_CONSUMERTYPE_H diff --git a/pulsar-client-cpp/include/pulsar/Message.h b/pulsar-client-cpp/include/pulsar/Message.h index 5e92c7b7394d3..5fd8cd49abfd1 100644 --- a/pulsar-client-cpp/include/pulsar/Message.h +++ b/pulsar-client-cpp/include/pulsar/Message.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef MESSAGE_HPP_ #define MESSAGE_HPP_ diff --git a/pulsar-client-cpp/include/pulsar/MessageBuilder.h b/pulsar-client-cpp/include/pulsar/MessageBuilder.h index b465908d82b47..e315692735969 100644 --- a/pulsar-client-cpp/include/pulsar/MessageBuilder.h +++ b/pulsar-client-cpp/include/pulsar/MessageBuilder.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef MESSAGE_BUILDER_H #define MESSAGE_BUILDER_H diff --git a/pulsar-client-cpp/include/pulsar/MessageId.h b/pulsar-client-cpp/include/pulsar/MessageId.h index db8239edc1c72..72ff5b7844e9a 100644 --- a/pulsar-client-cpp/include/pulsar/MessageId.h +++ b/pulsar-client-cpp/include/pulsar/MessageId.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef MESSAGE_ID_H #define MESSAGE_ID_H diff --git a/pulsar-client-cpp/include/pulsar/MessageRoutingPolicy.h b/pulsar-client-cpp/include/pulsar/MessageRoutingPolicy.h index 3c93cc339e13d..ad6ca37003758 100644 --- a/pulsar-client-cpp/include/pulsar/MessageRoutingPolicy.h +++ b/pulsar-client-cpp/include/pulsar/MessageRoutingPolicy.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_MESSAGE_ROUTING_POLICY_HEADER_ #define PULSAR_MESSAGE_ROUTING_POLICY_HEADER_ #include "Message.h" diff --git a/pulsar-client-cpp/include/pulsar/Producer.h b/pulsar-client-cpp/include/pulsar/Producer.h index 5795447cc9846..6029224e66580 100644 --- a/pulsar-client-cpp/include/pulsar/Producer.h +++ b/pulsar-client-cpp/include/pulsar/Producer.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PRODUCER_HPP_ #define PRODUCER_HPP_ diff --git a/pulsar-client-cpp/include/pulsar/ProducerConfiguration.h b/pulsar-client-cpp/include/pulsar/ProducerConfiguration.h index c10dc9b6a4013..296b5f79ebac9 100644 --- a/pulsar-client-cpp/include/pulsar/ProducerConfiguration.h +++ b/pulsar-client-cpp/include/pulsar/ProducerConfiguration.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_PRODUCERCONFIGURATION_H_ #define PULSAR_PRODUCERCONFIGURATION_H_ #include diff --git a/pulsar-client-cpp/include/pulsar/Result.h b/pulsar-client-cpp/include/pulsar/Result.h index ef5f02ca5ffe0..2334b359497ba 100644 --- a/pulsar-client-cpp/include/pulsar/Result.h +++ b/pulsar-client-cpp/include/pulsar/Result.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef ERROR_HPP_ #define ERROR_HPP_ diff --git a/pulsar-client-cpp/lib/Authentication.cc b/pulsar-client-cpp/lib/Authentication.cc index ec17ec4a45445..a65365ef7c30d 100644 --- a/pulsar-client-cpp/lib/Authentication.cc +++ b/pulsar-client-cpp/lib/Authentication.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/lib/Backoff.cc b/pulsar-client-cpp/lib/Backoff.cc index 20fbcb632a37d..746f9d54f6c5a 100644 --- a/pulsar-client-cpp/lib/Backoff.cc +++ b/pulsar-client-cpp/lib/Backoff.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "Backoff.h" #include diff --git a/pulsar-client-cpp/lib/Backoff.h b/pulsar-client-cpp/lib/Backoff.h index acacfcb30aa24..670d4df51f261 100644 --- a/pulsar-client-cpp/lib/Backoff.h +++ b/pulsar-client-cpp/lib/Backoff.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef _PULSAR_BACKOFF_HEADER_ #define _PULSAR_BACKOFF_HEADER_ #include diff --git a/pulsar-client-cpp/lib/BatchAcknowledgementTracker.cc b/pulsar-client-cpp/lib/BatchAcknowledgementTracker.cc index efec2b7403789..938c7a71647db 100644 --- a/pulsar-client-cpp/lib/BatchAcknowledgementTracker.cc +++ b/pulsar-client-cpp/lib/BatchAcknowledgementTracker.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "BatchAcknowledgementTracker.h" namespace pulsar { diff --git a/pulsar-client-cpp/lib/BatchAcknowledgementTracker.h b/pulsar-client-cpp/lib/BatchAcknowledgementTracker.h index b8033fa7fbb4f..142b793fcba3f 100644 --- a/pulsar-client-cpp/lib/BatchAcknowledgementTracker.h +++ b/pulsar-client-cpp/lib/BatchAcknowledgementTracker.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_BATCHACKNOWLEDGEMENTTRACKER_H_ #define LIB_BATCHACKNOWLEDGEMENTTRACKER_H_ diff --git a/pulsar-client-cpp/lib/BatchMessageContainer.cc b/pulsar-client-cpp/lib/BatchMessageContainer.cc index 9dd38eba12b15..ed108e93c8ee0 100644 --- a/pulsar-client-cpp/lib/BatchMessageContainer.cc +++ b/pulsar-client-cpp/lib/BatchMessageContainer.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "BatchMessageContainer.h" namespace pulsar { diff --git a/pulsar-client-cpp/lib/BatchMessageContainer.h b/pulsar-client-cpp/lib/BatchMessageContainer.h index 19996328870cc..bf7a6aace7c84 100644 --- a/pulsar-client-cpp/lib/BatchMessageContainer.h +++ b/pulsar-client-cpp/lib/BatchMessageContainer.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - /* * \class BatchMessageContainer * diff --git a/pulsar-client-cpp/lib/BinaryProtoLookupService.cc b/pulsar-client-cpp/lib/BinaryProtoLookupService.cc index 2434dd95d12b3..156c65b7026f8 100644 --- a/pulsar-client-cpp/lib/BinaryProtoLookupService.cc +++ b/pulsar-client-cpp/lib/BinaryProtoLookupService.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "DestinationName.h" #include "BinaryProtoLookupService.h" #include "SharedBuffer.h" diff --git a/pulsar-client-cpp/lib/BinaryProtoLookupService.h b/pulsar-client-cpp/lib/BinaryProtoLookupService.h index f81684de06bed..ebcb12143ec83 100644 --- a/pulsar-client-cpp/lib/BinaryProtoLookupService.h +++ b/pulsar-client-cpp/lib/BinaryProtoLookupService.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef _PULSAR_BINARY_LOOKUP_SERVICE_HEADER_ #define _PULSAR_BINARY_LOOKUP_SERVICE_HEADER_ diff --git a/pulsar-client-cpp/lib/BlockingQueue.h b/pulsar-client-cpp/lib/BlockingQueue.h index 2af38866c203a..d084dd2ef8d0e 100644 --- a/pulsar-client-cpp/lib/BlockingQueue.h +++ b/pulsar-client-cpp/lib/BlockingQueue.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_BLOCKINGQUEUE_H_ #define LIB_BLOCKINGQUEUE_H_ diff --git a/pulsar-client-cpp/lib/BrokerConsumerStats.cc b/pulsar-client-cpp/lib/BrokerConsumerStats.cc index 9fb155bd66f21..f11a85715ef66 100644 --- a/pulsar-client-cpp/lib/BrokerConsumerStats.cc +++ b/pulsar-client-cpp/lib/BrokerConsumerStats.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/lib/BrokerConsumerStatsImpl.cc b/pulsar-client-cpp/lib/BrokerConsumerStatsImpl.cc index e6251e918d032..c9c4e426a12c0 100644 --- a/pulsar-client-cpp/lib/BrokerConsumerStatsImpl.cc +++ b/pulsar-client-cpp/lib/BrokerConsumerStatsImpl.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/lib/BrokerConsumerStatsImpl.h b/pulsar-client-cpp/lib/BrokerConsumerStatsImpl.h index 21aabed1c02d1..f68029486c906 100644 --- a/pulsar-client-cpp/lib/BrokerConsumerStatsImpl.h +++ b/pulsar-client-cpp/lib/BrokerConsumerStatsImpl.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_CPP_BROKERCONSUMERSTATSIMPL_H #define PULSAR_CPP_BROKERCONSUMERSTATSIMPL_H diff --git a/pulsar-client-cpp/lib/BrokerConsumerStatsImplBase.h b/pulsar-client-cpp/lib/BrokerConsumerStatsImplBase.h index bbdfca4f21863..e09d80fb24cef 100644 --- a/pulsar-client-cpp/lib/BrokerConsumerStatsImplBase.h +++ b/pulsar-client-cpp/lib/BrokerConsumerStatsImplBase.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_CPP_BROKERCONSUMERSTATSIMPLBASE_H #define PULSAR_CPP_BROKERCONSUMERSTATSIMPLBASE_H diff --git a/pulsar-client-cpp/lib/CMakeLists.txt b/pulsar-client-cpp/lib/CMakeLists.txt index e46222fea0a86..16bf1cbfbdc68 100644 --- a/pulsar-client-cpp/lib/CMakeLists.txt +++ b/pulsar-client-cpp/lib/CMakeLists.txt @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # file(GLOB PULSAR_SOURCES *.cc lz4/*.c checksum/*.cc) diff --git a/pulsar-client-cpp/lib/Client.cc b/pulsar-client-cpp/lib/Client.cc index c8284aca9719d..764a2a580b230 100644 --- a/pulsar-client-cpp/lib/Client.cc +++ b/pulsar-client-cpp/lib/Client.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include #include diff --git a/pulsar-client-cpp/lib/ClientConfiguration.cc b/pulsar-client-cpp/lib/ClientConfiguration.cc index c47294f14a94f..ba91ffc25e224 100644 --- a/pulsar-client-cpp/lib/ClientConfiguration.cc +++ b/pulsar-client-cpp/lib/ClientConfiguration.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include namespace pulsar { diff --git a/pulsar-client-cpp/lib/ClientConfigurationImpl.h b/pulsar-client-cpp/lib/ClientConfigurationImpl.h index a0eacc579c226..46f028402cdf6 100644 --- a/pulsar-client-cpp/lib/ClientConfigurationImpl.h +++ b/pulsar-client-cpp/lib/ClientConfigurationImpl.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_CLIENTCONFIGURATIONIMPL_H_ #define LIB_CLIENTCONFIGURATIONIMPL_H_ diff --git a/pulsar-client-cpp/lib/ClientConnection.cc b/pulsar-client-cpp/lib/ClientConnection.cc index 45929e4d7743e..aac6abf4dbf0e 100644 --- a/pulsar-client-cpp/lib/ClientConnection.cc +++ b/pulsar-client-cpp/lib/ClientConnection.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "ClientConnection.h" #include "PulsarApi.pb.h" diff --git a/pulsar-client-cpp/lib/ClientConnection.h b/pulsar-client-cpp/lib/ClientConnection.h index 0976faa5a460d..ab1758a65cfd7 100644 --- a/pulsar-client-cpp/lib/ClientConnection.h +++ b/pulsar-client-cpp/lib/ClientConnection.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef _PULSAR_CLIENT_CONNECTION_HEADER_ #define _PULSAR_CLIENT_CONNECTION_HEADER_ diff --git a/pulsar-client-cpp/lib/ClientImpl.cc b/pulsar-client-cpp/lib/ClientImpl.cc index 186c168139af1..34c608bbc7223 100644 --- a/pulsar-client-cpp/lib/ClientImpl.cc +++ b/pulsar-client-cpp/lib/ClientImpl.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "ClientImpl.h" #include "LogUtils.h" diff --git a/pulsar-client-cpp/lib/ClientImpl.h b/pulsar-client-cpp/lib/ClientImpl.h index 1fa03ce647483..2f07254487915 100644 --- a/pulsar-client-cpp/lib/ClientImpl.h +++ b/pulsar-client-cpp/lib/ClientImpl.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_CLIENTIMPL_H_ #define LIB_CLIENTIMPL_H_ diff --git a/pulsar-client-cpp/lib/Commands.cc b/pulsar-client-cpp/lib/Commands.cc index 071195ab8e0d6..7b04f64733793 100644 --- a/pulsar-client-cpp/lib/Commands.cc +++ b/pulsar-client-cpp/lib/Commands.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "Commands.h" #include "MessageImpl.h" #include "Version.h" diff --git a/pulsar-client-cpp/lib/Commands.h b/pulsar-client-cpp/lib/Commands.h index 2daf97c0580c6..21d3ae313f9f3 100644 --- a/pulsar-client-cpp/lib/Commands.h +++ b/pulsar-client-cpp/lib/Commands.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_COMMANDS_H_ #define LIB_COMMANDS_H_ diff --git a/pulsar-client-cpp/lib/CompressionCodec.cc b/pulsar-client-cpp/lib/CompressionCodec.cc index 51174303d01c0..38635fb6c438e 100644 --- a/pulsar-client-cpp/lib/CompressionCodec.cc +++ b/pulsar-client-cpp/lib/CompressionCodec.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "CompressionCodec.h" #include "CompressionCodecLZ4.h" #include "CompressionCodecZLib.h" diff --git a/pulsar-client-cpp/lib/CompressionCodec.h b/pulsar-client-cpp/lib/CompressionCodec.h index df10c97012b57..1716c247508f4 100644 --- a/pulsar-client-cpp/lib/CompressionCodec.h +++ b/pulsar-client-cpp/lib/CompressionCodec.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_COMPRESSIONCODEC_H_ #define LIB_COMPRESSIONCODEC_H_ diff --git a/pulsar-client-cpp/lib/CompressionCodecLZ4.cc b/pulsar-client-cpp/lib/CompressionCodecLZ4.cc index 7fbc3fd729329..470c2279e442f 100644 --- a/pulsar-client-cpp/lib/CompressionCodecLZ4.cc +++ b/pulsar-client-cpp/lib/CompressionCodecLZ4.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "CompressionCodecLZ4.h" #include "lz4/lz4.h" diff --git a/pulsar-client-cpp/lib/CompressionCodecLZ4.h b/pulsar-client-cpp/lib/CompressionCodecLZ4.h index 9fd2aaf66fe40..a7fe76c5f5546 100644 --- a/pulsar-client-cpp/lib/CompressionCodecLZ4.h +++ b/pulsar-client-cpp/lib/CompressionCodecLZ4.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_COMPRESSIONCODECLZ4_H_ #define LIB_COMPRESSIONCODECLZ4_H_ diff --git a/pulsar-client-cpp/lib/CompressionCodecZLib.cc b/pulsar-client-cpp/lib/CompressionCodecZLib.cc index 649bd7245f892..bc3dc48c4cc56 100644 --- a/pulsar-client-cpp/lib/CompressionCodecZLib.cc +++ b/pulsar-client-cpp/lib/CompressionCodecZLib.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "CompressionCodecZLib.h" #include diff --git a/pulsar-client-cpp/lib/CompressionCodecZLib.h b/pulsar-client-cpp/lib/CompressionCodecZLib.h index eeb78a0cf682e..94952019e90b3 100644 --- a/pulsar-client-cpp/lib/CompressionCodecZLib.h +++ b/pulsar-client-cpp/lib/CompressionCodecZLib.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_COMPRESSIONCODECZLIB_H_ #define LIB_COMPRESSIONCODECZLIB_H_ diff --git a/pulsar-client-cpp/lib/ConnectionPool.cc b/pulsar-client-cpp/lib/ConnectionPool.cc index 1fd07d0fb57b2..076b1773b14c5 100644 --- a/pulsar-client-cpp/lib/ConnectionPool.cc +++ b/pulsar-client-cpp/lib/ConnectionPool.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "ConnectionPool.h" #include "LogUtils.h" diff --git a/pulsar-client-cpp/lib/ConnectionPool.h b/pulsar-client-cpp/lib/ConnectionPool.h index f469b54c890f3..af67474184239 100644 --- a/pulsar-client-cpp/lib/ConnectionPool.h +++ b/pulsar-client-cpp/lib/ConnectionPool.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef _PULSAR_CONNECTION_POOL_HEADER_ #define _PULSAR_CONNECTION_POOL_HEADER_ diff --git a/pulsar-client-cpp/lib/Consumer.cc b/pulsar-client-cpp/lib/Consumer.cc index 561c89943a8b8..50fb55944ed87 100644 --- a/pulsar-client-cpp/lib/Consumer.cc +++ b/pulsar-client-cpp/lib/Consumer.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include #include "ConsumerImpl.h" diff --git a/pulsar-client-cpp/lib/ConsumerConfiguration.cc b/pulsar-client-cpp/lib/ConsumerConfiguration.cc index bf2a0b3a1d216..35d75b70e0714 100644 --- a/pulsar-client-cpp/lib/ConsumerConfiguration.cc +++ b/pulsar-client-cpp/lib/ConsumerConfiguration.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include namespace pulsar { diff --git a/pulsar-client-cpp/lib/ConsumerConfigurationImpl.h b/pulsar-client-cpp/lib/ConsumerConfigurationImpl.h index f1885fbec650a..9f03e0260b606 100644 --- a/pulsar-client-cpp/lib/ConsumerConfigurationImpl.h +++ b/pulsar-client-cpp/lib/ConsumerConfigurationImpl.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_CONSUMERCONFIGURATIONIMPL_H_ #define LIB_CONSUMERCONFIGURATIONIMPL_H_ diff --git a/pulsar-client-cpp/lib/ConsumerImpl.cc b/pulsar-client-cpp/lib/ConsumerImpl.cc index 47bd72621f99e..f174a71bb4885 100644 --- a/pulsar-client-cpp/lib/ConsumerImpl.cc +++ b/pulsar-client-cpp/lib/ConsumerImpl.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "ConsumerImpl.h" #include "MessageImpl.h" #include "Commands.h" diff --git a/pulsar-client-cpp/lib/ConsumerImpl.h b/pulsar-client-cpp/lib/ConsumerImpl.h index 237aebc19816a..76869d94acd31 100644 --- a/pulsar-client-cpp/lib/ConsumerImpl.h +++ b/pulsar-client-cpp/lib/ConsumerImpl.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_CONSUMERIMPL_H_ #define LIB_CONSUMERIMPL_H_ diff --git a/pulsar-client-cpp/lib/ConsumerImplBase.h b/pulsar-client-cpp/lib/ConsumerImplBase.h index c7ee712af570f..7ca4602f1cb3f 100644 --- a/pulsar-client-cpp/lib/ConsumerImplBase.h +++ b/pulsar-client-cpp/lib/ConsumerImplBase.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_CONSUMER_IMPL_BASE_HEADER #define PULSAR_CONSUMER_IMPL_BASE_HEADER #include diff --git a/pulsar-client-cpp/lib/DestinationName.cc b/pulsar-client-cpp/lib/DestinationName.cc index e3eeb7d5ee463..77dd7276f6cd1 100644 --- a/pulsar-client-cpp/lib/DestinationName.cc +++ b/pulsar-client-cpp/lib/DestinationName.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "DestinationName.h" #include "NamedEntity.h" #include "LogUtils.h" diff --git a/pulsar-client-cpp/lib/DestinationName.h b/pulsar-client-cpp/lib/DestinationName.h index 154e94166ff7a..afc65112e7753 100644 --- a/pulsar-client-cpp/lib/DestinationName.h +++ b/pulsar-client-cpp/lib/DestinationName.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef _PULSAR_DESTINATION_NAME_HEADER_ #define _PULSAR_DESTINATION_NAME_HEADER_ diff --git a/pulsar-client-cpp/lib/ExecutorService.cc b/pulsar-client-cpp/lib/ExecutorService.cc index c92af9d0a8a66..5ad9e5fd1ae93 100644 --- a/pulsar-client-cpp/lib/ExecutorService.cc +++ b/pulsar-client-cpp/lib/ExecutorService.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "ExecutorService.h" #include diff --git a/pulsar-client-cpp/lib/ExecutorService.h b/pulsar-client-cpp/lib/ExecutorService.h index 086673ece2932..2bce04665e731 100644 --- a/pulsar-client-cpp/lib/ExecutorService.h +++ b/pulsar-client-cpp/lib/ExecutorService.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef _PULSAR_EXECUTOR_SERVICE_HEADER_ #define _PULSAR_EXECUTOR_SERVICE_HEADER_ diff --git a/pulsar-client-cpp/lib/Future.h b/pulsar-client-cpp/lib/Future.h index faba32bbb65be..7992275e3fc55 100644 --- a/pulsar-client-cpp/lib/Future.h +++ b/pulsar-client-cpp/lib/Future.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_FUTURE_H_ #define LIB_FUTURE_H_ diff --git a/pulsar-client-cpp/lib/HTTPLookupService.cc b/pulsar-client-cpp/lib/HTTPLookupService.cc index 7d980be46a1ac..bbc0a053a4b91 100644 --- a/pulsar-client-cpp/lib/HTTPLookupService.cc +++ b/pulsar-client-cpp/lib/HTTPLookupService.cc @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ #include diff --git a/pulsar-client-cpp/lib/HTTPLookupService.h b/pulsar-client-cpp/lib/HTTPLookupService.h index 1474908f27dd0..5270d6d9bd32d 100644 --- a/pulsar-client-cpp/lib/HTTPLookupService.h +++ b/pulsar-client-cpp/lib/HTTPLookupService.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_CPP_HTTPLOOKUPSERVICE_H #define PULSAR_CPP_HTTPLOOKUPSERVICE_H diff --git a/pulsar-client-cpp/lib/HandlerBase.cc b/pulsar-client-cpp/lib/HandlerBase.cc index bfeeeb5d56012..b8559e28d8437 100644 --- a/pulsar-client-cpp/lib/HandlerBase.cc +++ b/pulsar-client-cpp/lib/HandlerBase.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "HandlerBase.h" #include diff --git a/pulsar-client-cpp/lib/HandlerBase.h b/pulsar-client-cpp/lib/HandlerBase.h index 357c69694ae75..40cda0bc4a18b 100644 --- a/pulsar-client-cpp/lib/HandlerBase.h +++ b/pulsar-client-cpp/lib/HandlerBase.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef _PULSAR_HANDLER_BASE_HEADER_ #define _PULSAR_HANDLER_BASE_HEADER_ #include "Backoff.h" diff --git a/pulsar-client-cpp/lib/Latch.cc b/pulsar-client-cpp/lib/Latch.cc index 7f555185d35cd..f183d1ad251f2 100644 --- a/pulsar-client-cpp/lib/Latch.cc +++ b/pulsar-client-cpp/lib/Latch.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "Latch.h" #include diff --git a/pulsar-client-cpp/lib/Latch.h b/pulsar-client-cpp/lib/Latch.h index c2685f6b09cd5..b80a1226abc82 100644 --- a/pulsar-client-cpp/lib/Latch.h +++ b/pulsar-client-cpp/lib/Latch.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_LATCH_H_ #define LIB_LATCH_H_ diff --git a/pulsar-client-cpp/lib/LogUtils.cc b/pulsar-client-cpp/lib/LogUtils.cc index dcee65d213253..6500ff7c9c146 100644 --- a/pulsar-client-cpp/lib/LogUtils.cc +++ b/pulsar-client-cpp/lib/LogUtils.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "LogUtils.h" #include diff --git a/pulsar-client-cpp/lib/LogUtils.h b/pulsar-client-cpp/lib/LogUtils.h index 861927e97c1f8..3ca59fc30be6c 100644 --- a/pulsar-client-cpp/lib/LogUtils.h +++ b/pulsar-client-cpp/lib/LogUtils.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LOG_UTIL_H #define LOG_UTIL_H diff --git a/pulsar-client-cpp/lib/LookupDataResult.h b/pulsar-client-cpp/lib/LookupDataResult.h index 838ffb6a4d2c4..ed43af977baa5 100644 --- a/pulsar-client-cpp/lib/LookupDataResult.h +++ b/pulsar-client-cpp/lib/LookupDataResult.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef _PULSAR_LOOKUP_DATA_RESULT_HEADER_ #define _PULSAR_LOOKUP_DATA_RESULT_HEADER_ #include diff --git a/pulsar-client-cpp/lib/LookupService.h b/pulsar-client-cpp/lib/LookupService.h index 4c5a395af98ca..cbcd723582fb2 100644 --- a/pulsar-client-cpp/lib/LookupService.h +++ b/pulsar-client-cpp/lib/LookupService.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_CPP_LOOKUPSERVICE_H #define PULSAR_CPP_LOOKUPSERVICE_H diff --git a/pulsar-client-cpp/lib/Message.cc b/pulsar-client-cpp/lib/Message.cc index 71953d9cade17..1af8c090a3b40 100644 --- a/pulsar-client-cpp/lib/Message.cc +++ b/pulsar-client-cpp/lib/Message.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/lib/MessageBuilder.cc b/pulsar-client-cpp/lib/MessageBuilder.cc index e79742285b021..6c894eef2e577 100644 --- a/pulsar-client-cpp/lib/MessageBuilder.cc +++ b/pulsar-client-cpp/lib/MessageBuilder.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/lib/MessageId.cc b/pulsar-client-cpp/lib/MessageId.cc index 39227125b0a09..913010385fec7 100644 --- a/pulsar-client-cpp/lib/MessageId.cc +++ b/pulsar-client-cpp/lib/MessageId.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/lib/MessageImpl.cc b/pulsar-client-cpp/lib/MessageImpl.cc index e96de11afda52..c2f2a78df642a 100644 --- a/pulsar-client-cpp/lib/MessageImpl.cc +++ b/pulsar-client-cpp/lib/MessageImpl.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "MessageImpl.h" namespace pulsar { diff --git a/pulsar-client-cpp/lib/MessageImpl.h b/pulsar-client-cpp/lib/MessageImpl.h index a6681de4a802f..3309a08f34cc9 100644 --- a/pulsar-client-cpp/lib/MessageImpl.h +++ b/pulsar-client-cpp/lib/MessageImpl.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_MESSAGEIMPL_H_ #define LIB_MESSAGEIMPL_H_ diff --git a/pulsar-client-cpp/lib/NamedEntity.cc b/pulsar-client-cpp/lib/NamedEntity.cc index e7e8a4e1d1cda..cd68e5898eda9 100644 --- a/pulsar-client-cpp/lib/NamedEntity.cc +++ b/pulsar-client-cpp/lib/NamedEntity.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "NamedEntity.h" const boost::regex NamedEntity::pattern = boost::regex("^[-=:.\\w]*$"); diff --git a/pulsar-client-cpp/lib/NamedEntity.h b/pulsar-client-cpp/lib/NamedEntity.h index 589a3a88c5798..4f78cb058598a 100644 --- a/pulsar-client-cpp/lib/NamedEntity.h +++ b/pulsar-client-cpp/lib/NamedEntity.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef _PULSAR_NAMED_ENTITY_HEADER_ #define _PULSAR_NAMED_ENTITY_HEADER_ diff --git a/pulsar-client-cpp/lib/NamespaceName.cc b/pulsar-client-cpp/lib/NamespaceName.cc index 82986a54325c0..5f0631ac8ddf0 100644 --- a/pulsar-client-cpp/lib/NamespaceName.cc +++ b/pulsar-client-cpp/lib/NamespaceName.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "NamespaceName.h" #include "NamedEntity.h" #include "LogUtils.h" diff --git a/pulsar-client-cpp/lib/NamespaceName.h b/pulsar-client-cpp/lib/NamespaceName.h index 7fa6c7ea0a57f..8c231d6231878 100644 --- a/pulsar-client-cpp/lib/NamespaceName.h +++ b/pulsar-client-cpp/lib/NamespaceName.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef _PULSAR_NAMESPACE_NAME_HEADER_ #define _PULSAR_NAMESPACE_NAME_HEADER_ diff --git a/pulsar-client-cpp/lib/ObjectPool.h b/pulsar-client-cpp/lib/ObjectPool.h index fa6ec98e4aaa6..834838c6ed2d6 100644 --- a/pulsar-client-cpp/lib/ObjectPool.h +++ b/pulsar-client-cpp/lib/ObjectPool.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_OBJECTPOOL_H_ #define LIB_OBJECTPOOL_H_ diff --git a/pulsar-client-cpp/lib/PartitionedBrokerConsumerStatsImpl.cc b/pulsar-client-cpp/lib/PartitionedBrokerConsumerStatsImpl.cc index 080fbb0956e0d..54da934f03fdd 100644 --- a/pulsar-client-cpp/lib/PartitionedBrokerConsumerStatsImpl.cc +++ b/pulsar-client-cpp/lib/PartitionedBrokerConsumerStatsImpl.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include #include diff --git a/pulsar-client-cpp/lib/PartitionedBrokerConsumerStatsImpl.h b/pulsar-client-cpp/lib/PartitionedBrokerConsumerStatsImpl.h index 802714e7c1ec2..321bc698ef964 100644 --- a/pulsar-client-cpp/lib/PartitionedBrokerConsumerStatsImpl.h +++ b/pulsar-client-cpp/lib/PartitionedBrokerConsumerStatsImpl.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_CPP_PARTITIONEDBROKERCONSUMERSTATSIMPL_H #define PULSAR_CPP_PARTITIONEDBROKERCONSUMERSTATSIMPL_H diff --git a/pulsar-client-cpp/lib/PartitionedConsumerImpl.cc b/pulsar-client-cpp/lib/PartitionedConsumerImpl.cc index cf71dda0bbc2a..c8c3084b873bb 100644 --- a/pulsar-client-cpp/lib/PartitionedConsumerImpl.cc +++ b/pulsar-client-cpp/lib/PartitionedConsumerImpl.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "PartitionedConsumerImpl.h" DECLARE_LOG_OBJECT() diff --git a/pulsar-client-cpp/lib/PartitionedConsumerImpl.h b/pulsar-client-cpp/lib/PartitionedConsumerImpl.h index cb5e034c7674c..9270039b8f01d 100644 --- a/pulsar-client-cpp/lib/PartitionedConsumerImpl.h +++ b/pulsar-client-cpp/lib/PartitionedConsumerImpl.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_PARTITIONED_CONSUMER_HEADER #define PULSAR_PARTITIONED_CONSUMER_HEADER #include "ConsumerImpl.h" diff --git a/pulsar-client-cpp/lib/PartitionedProducerImpl.cc b/pulsar-client-cpp/lib/PartitionedProducerImpl.cc index d1fd106518066..5a02b4afb27c7 100644 --- a/pulsar-client-cpp/lib/PartitionedProducerImpl.cc +++ b/pulsar-client-cpp/lib/PartitionedProducerImpl.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "PartitionedProducerImpl.h" #include "LogUtils.h" #include diff --git a/pulsar-client-cpp/lib/PartitionedProducerImpl.h b/pulsar-client-cpp/lib/PartitionedProducerImpl.h index c3d995b42b5f2..a2e1158351f36 100644 --- a/pulsar-client-cpp/lib/PartitionedProducerImpl.h +++ b/pulsar-client-cpp/lib/PartitionedProducerImpl.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "ProducerImpl.h" #include "ClientImpl.h" #include "DestinationName.h" diff --git a/pulsar-client-cpp/lib/Producer.cc b/pulsar-client-cpp/lib/Producer.cc index 957c12c93223e..21eedc202a92d 100644 --- a/pulsar-client-cpp/lib/Producer.cc +++ b/pulsar-client-cpp/lib/Producer.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include "SharedBuffer.h" #include diff --git a/pulsar-client-cpp/lib/ProducerConfiguration.cc b/pulsar-client-cpp/lib/ProducerConfiguration.cc index fa5d846ebe400..aead635e1c58a 100644 --- a/pulsar-client-cpp/lib/ProducerConfiguration.cc +++ b/pulsar-client-cpp/lib/ProducerConfiguration.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include diff --git a/pulsar-client-cpp/lib/ProducerConfigurationImpl.h b/pulsar-client-cpp/lib/ProducerConfigurationImpl.h index 5eef65cb66ba2..a45d371eea1f3 100644 --- a/pulsar-client-cpp/lib/ProducerConfigurationImpl.h +++ b/pulsar-client-cpp/lib/ProducerConfigurationImpl.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_PRODUCERCONFIGURATIONIMPL_H_ #define LIB_PRODUCERCONFIGURATIONIMPL_H_ diff --git a/pulsar-client-cpp/lib/ProducerImpl.cc b/pulsar-client-cpp/lib/ProducerImpl.cc index 02868cf8786ee..5f0d1550e6194 100644 --- a/pulsar-client-cpp/lib/ProducerImpl.cc +++ b/pulsar-client-cpp/lib/ProducerImpl.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "ProducerImpl.h" #include "LogUtils.h" #include "MessageImpl.h" diff --git a/pulsar-client-cpp/lib/ProducerImpl.h b/pulsar-client-cpp/lib/ProducerImpl.h index cfc1883b6e982..89edae49b9f65 100644 --- a/pulsar-client-cpp/lib/ProducerImpl.h +++ b/pulsar-client-cpp/lib/ProducerImpl.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_PRODUCERIMPL_H_ #define LIB_PRODUCERIMPL_H_ diff --git a/pulsar-client-cpp/lib/ProducerImplBase.h b/pulsar-client-cpp/lib/ProducerImplBase.h index 7521620fc252e..42fc310ed3795 100644 --- a/pulsar-client-cpp/lib/ProducerImplBase.h +++ b/pulsar-client-cpp/lib/ProducerImplBase.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_PRODUCER_IMPL_BASE_HEADER #define PULSAR_PRODUCER_IMPL_BASE_HEADER #include diff --git a/pulsar-client-cpp/lib/Result.cc b/pulsar-client-cpp/lib/Result.cc index b407d0dc48b18..416d7102cda4f 100644 --- a/pulsar-client-cpp/lib/Result.cc +++ b/pulsar-client-cpp/lib/Result.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/lib/RoundRobinMessageRouter.cc b/pulsar-client-cpp/lib/RoundRobinMessageRouter.cc index ba46350572f8f..4a31c2b9d2d16 100644 --- a/pulsar-client-cpp/lib/RoundRobinMessageRouter.cc +++ b/pulsar-client-cpp/lib/RoundRobinMessageRouter.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "RoundRobinMessageRouter.h" #include diff --git a/pulsar-client-cpp/lib/RoundRobinMessageRouter.h b/pulsar-client-cpp/lib/RoundRobinMessageRouter.h index 44d910846b6e8..996f207200f4f 100644 --- a/pulsar-client-cpp/lib/RoundRobinMessageRouter.h +++ b/pulsar-client-cpp/lib/RoundRobinMessageRouter.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_RR_MESSAGE_ROUTER_HEADER_ #define PULSAR_RR_MESSAGE_ROUTER_HEADER_ diff --git a/pulsar-client-cpp/lib/ServiceUnitId.h b/pulsar-client-cpp/lib/ServiceUnitId.h index 4efb3265c458f..760b8b07dcd1f 100644 --- a/pulsar-client-cpp/lib/ServiceUnitId.h +++ b/pulsar-client-cpp/lib/ServiceUnitId.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef _PULSAR_SERVICE_UNIT_ID_HEADER_ #define _PULSAR_SERVICE_UNIT_ID_HEADER_ diff --git a/pulsar-client-cpp/lib/SharedBuffer.h b/pulsar-client-cpp/lib/SharedBuffer.h index b296499a88342..898ec38f100a7 100644 --- a/pulsar-client-cpp/lib/SharedBuffer.h +++ b/pulsar-client-cpp/lib/SharedBuffer.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_SHARED_BUFFER_H_ #define LIB_SHARED_BUFFER_H_ diff --git a/pulsar-client-cpp/lib/SinglePartitionMessageRouter.cc b/pulsar-client-cpp/lib/SinglePartitionMessageRouter.cc index 6d8cd393bce2f..5529b2f9783f0 100644 --- a/pulsar-client-cpp/lib/SinglePartitionMessageRouter.cc +++ b/pulsar-client-cpp/lib/SinglePartitionMessageRouter.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "SinglePartitionMessageRouter.h" #include // rand() #include diff --git a/pulsar-client-cpp/lib/SinglePartitionMessageRouter.h b/pulsar-client-cpp/lib/SinglePartitionMessageRouter.h index c634b368590d7..f38e81fb1f3b0 100644 --- a/pulsar-client-cpp/lib/SinglePartitionMessageRouter.h +++ b/pulsar-client-cpp/lib/SinglePartitionMessageRouter.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_SINGLE_PARTITION_MESSAGE_ROUTER_HEADER_ #define PULSAR_SINGLE_PARTITION_MESSAGE_ROUTER_HEADER_ diff --git a/pulsar-client-cpp/lib/UnAckedMessageTrackerDisabled.h b/pulsar-client-cpp/lib/UnAckedMessageTrackerDisabled.h index 217217609abdc..90bef0e71ca60 100644 --- a/pulsar-client-cpp/lib/UnAckedMessageTrackerDisabled.h +++ b/pulsar-client-cpp/lib/UnAckedMessageTrackerDisabled.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_UNACKEDMESSAGETRACKERDISABLED_H_ #define LIB_UNACKEDMESSAGETRACKERDISABLED_H_ #include "lib/UnAckedMessageTrackerInterface.h" diff --git a/pulsar-client-cpp/lib/UnAckedMessageTrackerEnabled.cc b/pulsar-client-cpp/lib/UnAckedMessageTrackerEnabled.cc index 912ce634b80db..1495535a1c2fa 100644 --- a/pulsar-client-cpp/lib/UnAckedMessageTrackerEnabled.cc +++ b/pulsar-client-cpp/lib/UnAckedMessageTrackerEnabled.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "UnAckedMessageTrackerEnabled.h" DECLARE_LOG_OBJECT(); diff --git a/pulsar-client-cpp/lib/UnAckedMessageTrackerEnabled.h b/pulsar-client-cpp/lib/UnAckedMessageTrackerEnabled.h index 47a0ab263bfdc..ec6b747586942 100644 --- a/pulsar-client-cpp/lib/UnAckedMessageTrackerEnabled.h +++ b/pulsar-client-cpp/lib/UnAckedMessageTrackerEnabled.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_UNACKEDMESSAGETRACKERENABLED_H_ #define LIB_UNACKEDMESSAGETRACKERENABLED_H_ #include "lib/UnAckedMessageTrackerInterface.h" diff --git a/pulsar-client-cpp/lib/UnAckedMessageTrackerInterface.h b/pulsar-client-cpp/lib/UnAckedMessageTrackerInterface.h index 73b70d3f73cd5..f5d735aa1ac1b 100644 --- a/pulsar-client-cpp/lib/UnAckedMessageTrackerInterface.h +++ b/pulsar-client-cpp/lib/UnAckedMessageTrackerInterface.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_UNACKEDMESSAGETRACKERINTERFACE_H_ #define LIB_UNACKEDMESSAGETRACKERINTERFACE_H_ #include diff --git a/pulsar-client-cpp/lib/UnboundedBlockingQueue.h b/pulsar-client-cpp/lib/UnboundedBlockingQueue.h index 4a598fce636e7..955b0426f0915 100644 --- a/pulsar-client-cpp/lib/UnboundedBlockingQueue.h +++ b/pulsar-client-cpp/lib/UnboundedBlockingQueue.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_UNBOUNDEDBLOCKINGQUEUE_H_ #define LIB_UNBOUNDEDBLOCKINGQUEUE_H_ diff --git a/pulsar-client-cpp/lib/Url.cc b/pulsar-client-cpp/lib/Url.cc index f28dce09df55b..7c662723ccccf 100644 --- a/pulsar-client-cpp/lib/Url.cc +++ b/pulsar-client-cpp/lib/Url.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "Url.h" #include diff --git a/pulsar-client-cpp/lib/Url.h b/pulsar-client-cpp/lib/Url.h index f695d4c38a231..676681c8f3f28 100644 --- a/pulsar-client-cpp/lib/Url.h +++ b/pulsar-client-cpp/lib/Url.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_URL_H_ #define LIB_URL_H_ diff --git a/pulsar-client-cpp/lib/UtilAllocator.h b/pulsar-client-cpp/lib/UtilAllocator.h index 5d21e851305a4..706b6f19355c5 100644 --- a/pulsar-client-cpp/lib/UtilAllocator.h +++ b/pulsar-client-cpp/lib/UtilAllocator.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_UTILALLOCATOR_H_ #define LIB_UTILALLOCATOR_H_ diff --git a/pulsar-client-cpp/lib/Utils.h b/pulsar-client-cpp/lib/Utils.h index 3ef3074d2a367..b0fe2ab3039db 100644 --- a/pulsar-client-cpp/lib/Utils.h +++ b/pulsar-client-cpp/lib/Utils.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef UTILS_HPP_ #define UTILS_HPP_ diff --git a/pulsar-client-cpp/lib/Version.h b/pulsar-client-cpp/lib/Version.h index 9dfbb76947461..a274f47bb8888 100644 --- a/pulsar-client-cpp/lib/Version.h +++ b/pulsar-client-cpp/lib/Version.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef LIB_VERSION_H_ #define LIB_VERSION_H_ diff --git a/pulsar-client-cpp/lib/auth/AuthTls.cc b/pulsar-client-cpp/lib/auth/AuthTls.cc index a1daabc20e1b1..c330ec2144f57 100644 --- a/pulsar-client-cpp/lib/auth/AuthTls.cc +++ b/pulsar-client-cpp/lib/auth/AuthTls.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include namespace pulsar { diff --git a/pulsar-client-cpp/lib/auth/AuthTls.h b/pulsar-client-cpp/lib/auth/AuthTls.h index d5bbc09f8595a..58ffb9fdb55ef 100644 --- a/pulsar-client-cpp/lib/auth/AuthTls.h +++ b/pulsar-client-cpp/lib/auth/AuthTls.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PULSAR_AUTH_TLS_H_ #define PULSAR_AUTH_TLS_H_ diff --git a/pulsar-client-cpp/lib/checksum/ChecksumProvider.cc b/pulsar-client-cpp/lib/checksum/ChecksumProvider.cc index ed80c3130e10c..1e588bd13a736 100644 --- a/pulsar-client-cpp/lib/checksum/ChecksumProvider.cc +++ b/pulsar-client-cpp/lib/checksum/ChecksumProvider.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "ChecksumProvider.h" #include diff --git a/pulsar-client-cpp/lib/checksum/ChecksumProvider.h b/pulsar-client-cpp/lib/checksum/ChecksumProvider.h index 1937a5ea2af0a..ce59598c811d4 100644 --- a/pulsar-client-cpp/lib/checksum/ChecksumProvider.h +++ b/pulsar-client-cpp/lib/checksum/ChecksumProvider.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef _CHECKSUM_PROVIDER_H_ #define _CHECKSUM_PROVIDER_H_ diff --git a/pulsar-client-cpp/log4cxx.conf b/pulsar-client-cpp/log4cxx.conf index ae26da2d9e96d..9d01a067641c4 100644 --- a/pulsar-client-cpp/log4cxx.conf +++ b/pulsar-client-cpp/log4cxx.conf @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # # Set root logger level to INFO and its only appender to A1. diff --git a/pulsar-client-cpp/perf/CMakeLists.txt b/pulsar-client-cpp/perf/CMakeLists.txt index bad8e8f0eeab0..a622a4917f5d1 100644 --- a/pulsar-client-cpp/perf/CMakeLists.txt +++ b/pulsar-client-cpp/perf/CMakeLists.txt @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # # Test tools diff --git a/pulsar-client-cpp/perf/PerfConsumer.cc b/pulsar-client-cpp/perf/PerfConsumer.cc index 7d7e1b029e034..0ddef60d33cde 100644 --- a/pulsar-client-cpp/perf/PerfConsumer.cc +++ b/pulsar-client-cpp/perf/PerfConsumer.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include DECLARE_LOG_OBJECT() diff --git a/pulsar-client-cpp/perf/PerfProducer.cc b/pulsar-client-cpp/perf/PerfProducer.cc index 96fdd3bbfa00c..d6cea4cf1c6e1 100644 --- a/pulsar-client-cpp/perf/PerfProducer.cc +++ b/pulsar-client-cpp/perf/PerfProducer.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include DECLARE_LOG_OBJECT() diff --git a/pulsar-client-cpp/perf/RateLimiter.h b/pulsar-client-cpp/perf/RateLimiter.h index 5dfed3daf5292..90aeb0f53f801 100644 --- a/pulsar-client-cpp/perf/RateLimiter.h +++ b/pulsar-client-cpp/perf/RateLimiter.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef PERF_RATELIMITER_H_ #define PERF_RATELIMITER_H_ diff --git a/pulsar-client-cpp/python/CMakeLists.txt b/pulsar-client-cpp/python/CMakeLists.txt index 4c94edc70266f..1b0a6f8ff1019 100644 --- a/pulsar-client-cpp/python/CMakeLists.txt +++ b/pulsar-client-cpp/python/CMakeLists.txt @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # INCLUDE_DIRECTORIES("${Boost_INCLUDE_DIRS}" "${PYTHON_INCLUDE_DIRS}") diff --git a/pulsar-client-cpp/python/pulsar.py b/pulsar-client-cpp/python/pulsar.py index 7a0e1f71b83f7..77ae54c8a0a53 100644 --- a/pulsar-client-cpp/python/pulsar.py +++ b/pulsar-client-cpp/python/pulsar.py @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # """ diff --git a/pulsar-client-cpp/python/pulsar_test.py b/pulsar-client-cpp/python/pulsar_test.py index 9797f859b7be4..b5c52f609ff6d 100755 --- a/pulsar-client-cpp/python/pulsar_test.py +++ b/pulsar-client-cpp/python/pulsar_test.py @@ -1,18 +1,21 @@ #!/usr/bin/env python # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/pulsar-client-cpp/python/setup.py b/pulsar-client-cpp/python/setup.py index 57cbbc3020f58..6c4c6a94c4d1b 100644 --- a/pulsar-client-cpp/python/setup.py +++ b/pulsar-client-cpp/python/setup.py @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # from setuptools import setup diff --git a/pulsar-client-cpp/python/src/authentication.cc b/pulsar-client-cpp/python/src/authentication.cc index 047b8d6c8985e..813022821c53a 100644 --- a/pulsar-client-cpp/python/src/authentication.cc +++ b/pulsar-client-cpp/python/src/authentication.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "utils.h" AuthenticationWrapper::AuthenticationWrapper(const std::string& dynamicLibPath, diff --git a/pulsar-client-cpp/python/src/client.cc b/pulsar-client-cpp/python/src/client.cc index 3d1fc1d92f13d..8bc191370ba72 100644 --- a/pulsar-client-cpp/python/src/client.cc +++ b/pulsar-client-cpp/python/src/client.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "utils.h" Producer Client_createProducer(Client& client, const std::string& topic, const ProducerConfiguration& conf) { diff --git a/pulsar-client-cpp/python/src/config.cc b/pulsar-client-cpp/python/src/config.cc index 5dd5a93be8e33..bdbd325ac2e8e 100644 --- a/pulsar-client-cpp/python/src/config.cc +++ b/pulsar-client-cpp/python/src/config.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "utils.h" struct Consumer_MessageListener { diff --git a/pulsar-client-cpp/python/src/consumer.cc b/pulsar-client-cpp/python/src/consumer.cc index 74b0cba987534..668d91ebc54cd 100644 --- a/pulsar-client-cpp/python/src/consumer.cc +++ b/pulsar-client-cpp/python/src/consumer.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "utils.h" void Consumer_unsubscribe(Consumer& consumer) { diff --git a/pulsar-client-cpp/python/src/enums.cc b/pulsar-client-cpp/python/src/enums.cc index d33d96dfa8bcf..7f0921ad98a33 100644 --- a/pulsar-client-cpp/python/src/enums.cc +++ b/pulsar-client-cpp/python/src/enums.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "utils.h" diff --git a/pulsar-client-cpp/python/src/message.cc b/pulsar-client-cpp/python/src/message.cc index 1c9b8f7be0f14..ff4d964acb6b2 100644 --- a/pulsar-client-cpp/python/src/message.cc +++ b/pulsar-client-cpp/python/src/message.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "utils.h" #include diff --git a/pulsar-client-cpp/python/src/producer.cc b/pulsar-client-cpp/python/src/producer.cc index 8aa1652be7127..e22764283cbfb 100644 --- a/pulsar-client-cpp/python/src/producer.cc +++ b/pulsar-client-cpp/python/src/producer.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "utils.h" void Producer_send(Producer& producer, const Message& message) { diff --git a/pulsar-client-cpp/python/src/pulsar.cc b/pulsar-client-cpp/python/src/pulsar.cc index 352699380a888..273eb8df4ea34 100644 --- a/pulsar-client-cpp/python/src/pulsar.cc +++ b/pulsar-client-cpp/python/src/pulsar.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "utils.h" void export_client(); diff --git a/pulsar-client-cpp/python/src/utils.h b/pulsar-client-cpp/python/src/utils.h index 7b43a1e87b827..66ad852390302 100644 --- a/pulsar-client-cpp/python/src/utils.h +++ b/pulsar-client-cpp/python/src/utils.h @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ #include diff --git a/pulsar-client-cpp/python/test_consumer.py b/pulsar-client-cpp/python/test_consumer.py index 4b9235ef1a5b7..3f99706991e09 100755 --- a/pulsar-client-cpp/python/test_consumer.py +++ b/pulsar-client-cpp/python/test_consumer.py @@ -1,18 +1,21 @@ #!/usr/bin/env python # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/pulsar-client-cpp/python/test_producer.py b/pulsar-client-cpp/python/test_producer.py index 87c326b633fcd..24a2c58a95a0b 100755 --- a/pulsar-client-cpp/python/test_producer.py +++ b/pulsar-client-cpp/python/test_producer.py @@ -1,18 +1,21 @@ #!/usr/bin/env python # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # import pulsar diff --git a/pulsar-client-cpp/tests/AuthPluginTest.cc b/pulsar-client-cpp/tests/AuthPluginTest.cc index 568f06cb84888..f5f5768adf056 100644 --- a/pulsar-client-cpp/tests/AuthPluginTest.cc +++ b/pulsar-client-cpp/tests/AuthPluginTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "pulsar/Authentication.h" #include #include diff --git a/pulsar-client-cpp/tests/BackoffTest.cc b/pulsar-client-cpp/tests/BackoffTest.cc index 80f669c2412bc..003dcd50bb4ae 100644 --- a/pulsar-client-cpp/tests/BackoffTest.cc +++ b/pulsar-client-cpp/tests/BackoffTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include "Backoff.h" diff --git a/pulsar-client-cpp/tests/BasicEndToEndTest.cc b/pulsar-client-cpp/tests/BasicEndToEndTest.cc index fa71f8a49c026..7993ca86db8d9 100644 --- a/pulsar-client-cpp/tests/BasicEndToEndTest.cc +++ b/pulsar-client-cpp/tests/BasicEndToEndTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include #include diff --git a/pulsar-client-cpp/tests/BatchMessageTest.cc b/pulsar-client-cpp/tests/BatchMessageTest.cc index 4dfa290493239..81e3bc1172ec1 100644 --- a/pulsar-client-cpp/tests/BatchMessageTest.cc +++ b/pulsar-client-cpp/tests/BatchMessageTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include #include diff --git a/pulsar-client-cpp/tests/BinaryLookupServiceTest.cc b/pulsar-client-cpp/tests/BinaryLookupServiceTest.cc index f944be68e77f6..ff42a38c5d125 100644 --- a/pulsar-client-cpp/tests/BinaryLookupServiceTest.cc +++ b/pulsar-client-cpp/tests/BinaryLookupServiceTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/tests/BlockingQueueTest.cc b/pulsar-client-cpp/tests/BlockingQueueTest.cc index 5653cad4d419e..840bc785e5e8c 100644 --- a/pulsar-client-cpp/tests/BlockingQueueTest.cc +++ b/pulsar-client-cpp/tests/BlockingQueueTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/tests/CMakeLists.txt b/pulsar-client-cpp/tests/CMakeLists.txt index b2b542540b5e5..84a80394be23b 100644 --- a/pulsar-client-cpp/tests/CMakeLists.txt +++ b/pulsar-client-cpp/tests/CMakeLists.txt @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # find_library(GTEST_LIBRARY_PATH gtest) diff --git a/pulsar-client-cpp/tests/ClientTest.cc b/pulsar-client-cpp/tests/ClientTest.cc index 71c5c14c8b97f..461a8a7411422 100644 --- a/pulsar-client-cpp/tests/ClientTest.cc +++ b/pulsar-client-cpp/tests/ClientTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/tests/ConsumerStatsTest.cc b/pulsar-client-cpp/tests/ConsumerStatsTest.cc index 9d4bdc5dad2ca..e173dcd220980 100644 --- a/pulsar-client-cpp/tests/ConsumerStatsTest.cc +++ b/pulsar-client-cpp/tests/ConsumerStatsTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include #include diff --git a/pulsar-client-cpp/tests/ConsumerTest.cc b/pulsar-client-cpp/tests/ConsumerTest.cc index bb384f923274d..af9c577cf6e2f 100644 --- a/pulsar-client-cpp/tests/ConsumerTest.cc +++ b/pulsar-client-cpp/tests/ConsumerTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/tests/ConsumerTest.h b/pulsar-client-cpp/tests/ConsumerTest.h index 50299871ff156..b01513a85ae2e 100644 --- a/pulsar-client-cpp/tests/ConsumerTest.h +++ b/pulsar-client-cpp/tests/ConsumerTest.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "lib/ConsumerImpl.h" #include diff --git a/pulsar-client-cpp/tests/CustomRoutingPolicy.h b/pulsar-client-cpp/tests/CustomRoutingPolicy.h index 135481cf74b37..9e8608877c43f 100644 --- a/pulsar-client-cpp/tests/CustomRoutingPolicy.h +++ b/pulsar-client-cpp/tests/CustomRoutingPolicy.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef CUSTOM_ROUTER_POLICY_HEADER_ #define CUSTOM_ROUTER_POLICY_HEADER_ diff --git a/pulsar-client-cpp/tests/DestinationNameTest.cc b/pulsar-client-cpp/tests/DestinationNameTest.cc index 262cc00e122dd..37664807990a7 100644 --- a/pulsar-client-cpp/tests/DestinationNameTest.cc +++ b/pulsar-client-cpp/tests/DestinationNameTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/tests/HttpHelper.cc b/pulsar-client-cpp/tests/HttpHelper.cc index 7a2062a42a2e8..129315b00dde0 100644 --- a/pulsar-client-cpp/tests/HttpHelper.cc +++ b/pulsar-client-cpp/tests/HttpHelper.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "HttpHelper.h" #include diff --git a/pulsar-client-cpp/tests/HttpHelper.h b/pulsar-client-cpp/tests/HttpHelper.h index 79db65892bfc6..d30be304ed58f 100644 --- a/pulsar-client-cpp/tests/HttpHelper.h +++ b/pulsar-client-cpp/tests/HttpHelper.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #ifndef HTTP_HELPER #define HTTP_HELPER diff --git a/pulsar-client-cpp/tests/LatchTest.cc b/pulsar-client-cpp/tests/LatchTest.cc index 04aa9e347263d..8f6b1dddf6792 100644 --- a/pulsar-client-cpp/tests/LatchTest.cc +++ b/pulsar-client-cpp/tests/LatchTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include #include diff --git a/pulsar-client-cpp/tests/LoggerTest.cc b/pulsar-client-cpp/tests/LoggerTest.cc index 413728fe68964..d26ccc6b0e22b 100644 --- a/pulsar-client-cpp/tests/LoggerTest.cc +++ b/pulsar-client-cpp/tests/LoggerTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "LogUtils.h" #include diff --git a/pulsar-client-cpp/tests/MessageTest.cc b/pulsar-client-cpp/tests/MessageTest.cc index 368e3ecb747fc..d669c7be6cfbb 100644 --- a/pulsar-client-cpp/tests/MessageTest.cc +++ b/pulsar-client-cpp/tests/MessageTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include #include diff --git a/pulsar-client-cpp/tests/NamespaceNameTest.cc b/pulsar-client-cpp/tests/NamespaceNameTest.cc index d42acb31ab992..b429144296a40 100644 --- a/pulsar-client-cpp/tests/NamespaceNameTest.cc +++ b/pulsar-client-cpp/tests/NamespaceNameTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/tests/ProducerTest.cc b/pulsar-client-cpp/tests/ProducerTest.cc index 635316b30cea2..d0ddbc87957e3 100644 --- a/pulsar-client-cpp/tests/ProducerTest.cc +++ b/pulsar-client-cpp/tests/ProducerTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/tests/PulsarFriend.h b/pulsar-client-cpp/tests/PulsarFriend.h index c2e0b57f7995e..3f87b07f81edf 100644 --- a/pulsar-client-cpp/tests/PulsarFriend.h +++ b/pulsar-client-cpp/tests/PulsarFriend.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/tests/UrlTest.cc b/pulsar-client-cpp/tests/UrlTest.cc index a272e2a94bb70..365659c980d37 100644 --- a/pulsar-client-cpp/tests/UrlTest.cc +++ b/pulsar-client-cpp/tests/UrlTest.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include "Url.h" #include diff --git a/pulsar-client-cpp/tests/authentication.conf b/pulsar-client-cpp/tests/authentication.conf index 2e8203f60263d..097f7b48ef351 100644 --- a/pulsar-client-cpp/tests/authentication.conf +++ b/pulsar-client-cpp/tests/authentication.conf @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # ### --- General broker settings --- ### diff --git a/pulsar-client-cpp/tests/client.conf b/pulsar-client-cpp/tests/client.conf index e7cf06b07d9b3..6bcd7e5d3b26f 100644 --- a/pulsar-client-cpp/tests/client.conf +++ b/pulsar-client-cpp/tests/client.conf @@ -1,17 +1,20 @@ # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # # Pulsar Client configuration diff --git a/pulsar-client-cpp/tests/main.cc b/pulsar-client-cpp/tests/main.cc index d49b70dd1f7d1..3aa455410893f 100644 --- a/pulsar-client-cpp/tests/main.cc +++ b/pulsar-client-cpp/tests/main.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include diff --git a/pulsar-client-cpp/tests/standalone.conf b/pulsar-client-cpp/tests/standalone.conf index 05e587ebacbb4..630de70d5c8eb 100644 --- a/pulsar-client-cpp/tests/standalone.conf +++ b/pulsar-client-cpp/tests/standalone.conf @@ -1,18 +1,21 @@ # -# Copyright 2016 Yahoo Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ### --- General broker settings --- ### diff --git a/pulsar-client-cpp/travis-build.sh b/pulsar-client-cpp/travis-build.sh index ea43e24f9be1d..c76f3fc639358 100755 --- a/pulsar-client-cpp/travis-build.sh +++ b/pulsar-client-cpp/travis-build.sh @@ -1,18 +1,21 @@ #!/bin/bash # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # function usage() { diff --git a/pulsar-client-cpp/wireshark/moduleinfo.h b/pulsar-client-cpp/wireshark/moduleinfo.h index 20ba425f11967..f5b6eb6be22cf 100644 --- a/pulsar-client-cpp/wireshark/moduleinfo.h +++ b/pulsar-client-cpp/wireshark/moduleinfo.h @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - /* Included *after* config.h, in order to re-define these macros */ #ifdef PACKAGE diff --git a/pulsar-client-cpp/wireshark/pulsarDissector.cc b/pulsar-client-cpp/wireshark/pulsarDissector.cc index 6541278d9648c..6a14264be3108 100644 --- a/pulsar-client-cpp/wireshark/pulsarDissector.cc +++ b/pulsar-client-cpp/wireshark/pulsarDissector.cc @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - #include #include "moduleinfo.h" #include diff --git a/pulsar-client-tools/pom.xml b/pulsar-client-tools/pom.xml index 99910a7e148d9..ef85bf9390e48 100644 --- a/pulsar-client-tools/pom.xml +++ b/pulsar-client-tools/pom.xml @@ -1,18 +1,21 @@ diff --git a/pulsar-client/src/test/java/com/yahoo/pulsar/client/api/ConsumerIdTest.java b/pulsar-client/src/test/java/com/yahoo/pulsar/client/api/ConsumerIdTest.java index b58c551d58595..70ab35fc84b48 100644 --- a/pulsar-client/src/test/java/com/yahoo/pulsar/client/api/ConsumerIdTest.java +++ b/pulsar-client/src/test/java/com/yahoo/pulsar/client/api/ConsumerIdTest.java @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - package com.yahoo.pulsar.client.api; import org.testng.annotations.Test; diff --git a/pulsar-client/src/test/java/com/yahoo/pulsar/client/api/MessageIdTest.java b/pulsar-client/src/test/java/com/yahoo/pulsar/client/api/MessageIdTest.java index 9060e749f4ca7..45adeb0c4c8be 100644 --- a/pulsar-client/src/test/java/com/yahoo/pulsar/client/api/MessageIdTest.java +++ b/pulsar-client/src/test/java/com/yahoo/pulsar/client/api/MessageIdTest.java @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - package com.yahoo.pulsar.client.api; import org.testng.annotations.Test; diff --git a/pulsar-client/src/test/java/com/yahoo/pulsar/client/impl/BackoffTest.java b/pulsar-client/src/test/java/com/yahoo/pulsar/client/impl/BackoffTest.java index 1fdbf1c71d018..9500f90b8cf07 100644 --- a/pulsar-client/src/test/java/com/yahoo/pulsar/client/impl/BackoffTest.java +++ b/pulsar-client/src/test/java/com/yahoo/pulsar/client/impl/BackoffTest.java @@ -1,19 +1,21 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ - package com.yahoo.pulsar.client.impl; import java.util.concurrent.TimeUnit; diff --git a/pulsar-client/src/test/java/com/yahoo/pulsar/client/impl/BatchMessageIdImplTest.java b/pulsar-client/src/test/java/com/yahoo/pulsar/client/impl/BatchMessageIdImplTest.java index fe3e345cea38c..8a2e2e600c3a3 100644 --- a/pulsar-client/src/test/java/com/yahoo/pulsar/client/impl/BatchMessageIdImplTest.java +++ b/pulsar-client/src/test/java/com/yahoo/pulsar/client/impl/BatchMessageIdImplTest.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.client.impl; diff --git a/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/ContinuousAsyncProducer.java b/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/ContinuousAsyncProducer.java index 035b5c8986321..d20a1804a8aee 100644 --- a/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/ContinuousAsyncProducer.java +++ b/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/ContinuousAsyncProducer.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.client.tutorial; diff --git a/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/ContinuousProducer.java b/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/ContinuousProducer.java index 1de2c28061441..013c77e49d686 100644 --- a/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/ContinuousProducer.java +++ b/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/ContinuousProducer.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.client.tutorial; diff --git a/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleAsyncProducer.java b/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleAsyncProducer.java index 83951b054608b..f388fbfbb8034 100644 --- a/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleAsyncProducer.java +++ b/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleAsyncProducer.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.client.tutorial; diff --git a/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleConsumer.java b/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleConsumer.java index 75d563543ae9f..892581c10730f 100644 --- a/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleConsumer.java +++ b/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleConsumer.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.client.tutorial; diff --git a/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleConsumerListener.java b/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleConsumerListener.java index 5e1b1e52570ec..dcc31a45332fd 100644 --- a/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleConsumerListener.java +++ b/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleConsumerListener.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.client.tutorial; diff --git a/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleProducer.java b/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleProducer.java index 07d0444338852..793f2b7b60bba 100644 --- a/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleProducer.java +++ b/pulsar-client/src/test/java/com/yahoo/pulsar/client/tutorial/SampleProducer.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.client.tutorial; diff --git a/pulsar-common/generate_protobuf.sh b/pulsar-common/generate_protobuf.sh index a32384b22d797..a1b224600942c 100755 --- a/pulsar-common/generate_protobuf.sh +++ b/pulsar-common/generate_protobuf.sh @@ -1,18 +1,21 @@ #!/bin/bash # -# Copyright 2016 Yahoo Inc. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 # -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # diff --git a/pulsar-common/pom.xml b/pulsar-common/pom.xml index ab3b908e9a304..db22d657c1295 100644 --- a/pulsar-common/pom.xml +++ b/pulsar-common/pom.xml @@ -1,19 +1,22 @@ diff --git a/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/MockOutputCollector.java b/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/MockOutputCollector.java index 71f50a682b3e7..8a1629de66e1f 100644 --- a/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/MockOutputCollector.java +++ b/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/MockOutputCollector.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.storm; diff --git a/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/MockSpoutOutputCollector.java b/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/MockSpoutOutputCollector.java index a2076c61a0e66..b204504c3e39d 100644 --- a/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/MockSpoutOutputCollector.java +++ b/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/MockSpoutOutputCollector.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.storm; diff --git a/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/PulsarBoltTest.java b/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/PulsarBoltTest.java index 3008c8614636d..04b838e8bd5bb 100644 --- a/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/PulsarBoltTest.java +++ b/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/PulsarBoltTest.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.storm; diff --git a/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/PulsarSpoutTest.java b/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/PulsarSpoutTest.java index 47a9fc6d400ae..2429c5499b5de 100644 --- a/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/PulsarSpoutTest.java +++ b/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/PulsarSpoutTest.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.storm; diff --git a/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/TestUtil.java b/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/TestUtil.java index 5eae0f83ff659..beddf61f7d1b6 100644 --- a/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/TestUtil.java +++ b/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/TestUtil.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.storm; diff --git a/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/example/StormExample.java b/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/example/StormExample.java index 7c137b77601b8..7786d61dd2d4d 100644 --- a/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/example/StormExample.java +++ b/pulsar-storm/src/test/java/com/yahoo/pulsar/storm/example/StormExample.java @@ -1,17 +1,20 @@ /** - * Copyright 2016 Yahoo Inc. + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. */ package com.yahoo.pulsar.storm.example; diff --git a/pulsar-testclient/pom.xml b/pulsar-testclient/pom.xml index 706950191369b..61627a508451e 100644 --- a/pulsar-testclient/pom.xml +++ b/pulsar-testclient/pom.xml @@ -1,19 +1,22 @@ diff --git a/src/license-header.txt b/src/license-header.txt index 7a279e9d90678..60b675e310161 100644 --- a/src/license-header.txt +++ b/src/license-header.txt @@ -1,13 +1,16 @@ -Copyright ${project.inceptionYear} Yahoo Inc. +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at + http://www.apache.org/licenses/LICENSE-2.0 - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License.