git commit: TS-799 Have AdminClient.pm created from .in file

2014-01-20 Thread zwoop
Updated Branches:
  refs/heads/master 0fc0820b5 - 4db27ec47


TS-799 Have AdminClient.pm created from .in file


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/4db27ec4
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/4db27ec4
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/4db27ec4

Branch: refs/heads/master
Commit: 4db27ec47d90e9fe76ec65a1c42576ed8ac56100
Parents: 0fc0820
Author: Leif Hedstrom zw...@apache.org
Authored: Mon Jan 20 20:08:04 2014 +0100
Committer: Leif Hedstrom zw...@apache.org
Committed: Mon Jan 20 20:08:04 2014 +0100

--
 .gitignore   |   3 +
 CHANGES  |   2 +
 configure.ac |   1 +
 lib/perl/lib/Apache/TS/AdminClient.pm| 725 -
 lib/perl/lib/Apache/TS/AdminClient.pm.in | 728 ++
 5 files changed, 734 insertions(+), 725 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4db27ec4/.gitignore
--
diff --git a/.gitignore b/.gitignore
index a8bba97..57712e5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -62,6 +62,9 @@ lib/ts/test_atomic
 lib/ts/test_freelist
 lib/ts/test_Map
 lib/ts/test_Vec
+lib/perl/lib/Apache/TS/AdminClient.pm
+
+
 iocore/net/test_certlookup
 iocore/aio/test_AIO
 iocore/eventsystem/test_Buffer

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4db27ec4/CHANGES
--
diff --git a/CHANGES b/CHANGES
index 0e40a80..dbec535 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
  -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 4.2.0
 
+  *) [TS-799] Have AdminClient.pm created from .in file.
+
   *) [TS-2509] Add the const qualifier to pure HttpTunnel member functions.
 
   *) [TS-2508] Add a *highly* experimental escalation plugin.

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4db27ec4/configure.ac
--
diff --git a/configure.ac b/configure.ac
index a71f578..5552594 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1923,6 +1923,7 @@ AC_CONFIG_FILES([
   lib/atscppapi/examples/async_timer/Makefile
   lib/wccp/Makefile
   lib/perl/Makefile
+  lib/perl/lib/Apache/TS/AdminClient.pm
   mgmt/Makefile
   mgmt/api/Makefile
   mgmt/api/include/Makefile

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4db27ec4/lib/perl/lib/Apache/TS/AdminClient.pm
--
diff --git a/lib/perl/lib/Apache/TS/AdminClient.pm 
b/lib/perl/lib/Apache/TS/AdminClient.pm
deleted file mode 100644
index 37281ae..000
--- a/lib/perl/lib/Apache/TS/AdminClient.pm
+++ /dev/null
@@ -1,725 +0,0 @@
-#
-# 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.
-
-package Apache::TS::AdminClient;
-
-use warnings;
-use strict;
-
-require 5.006;
-
-use Carp;
-use IO::Socket::UNIX;
-use IO::Select;
-our $VERSION = 0.01;
-
-use constant {
-TS_FILE_READ= 0,
-TS_FILE_WRITE   = 1,
-TS_RECORD_SET   = 2,
-TS_RECORD_GET   = 3,
-TS_PROXY_STATE_GET  = 4,
-TS_PROXY_STATE_SET  = 5,
-TS_RECONFIGURE  = 6,
-TS_RESTART  = 7,
-TS_BOUNCE   = 8,
-TS_EVENT_RESOLVE= 9,
-TS_EVENT_GET_MLT= 10,
-TS_EVENT_ACTIVE = 11,
-TS_EVENT_REG_CALLBACK   = 12,
-TS_EVENT_UNREG_CALLBACK = 13,
-TS_EVENT_NOTIFY = 14,
-TS_SNAPSHOT_TAKE= 15,
-TS_SNAPSHOT_RESTORE = 16,
-TS_SNAPSHOT_REMOVE  = 17,
-TS_SNAPSHOT_GET_MLT = 18,
-TS_DIAGS= 19,
-TS_STATS_RESET  = 20
-};
-
-# We treat both REC_INT and REC_COUNTER the same here
-use constant {
-TS_REC_INT = 0,
-TS_REC_COUNTER = 0,
-TS_REC_FLOAT   = 2,
-TS_REC_STRING  = 3
-};
-
-use constant {
-

[49/50] git commit: TS-799 Have AdminClient.pm created from .in file

2014-01-20 Thread zwoop
TS-799 Have AdminClient.pm created from .in file


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/4db27ec4
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/4db27ec4
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/4db27ec4

Branch: refs/heads/5.0.x
Commit: 4db27ec47d90e9fe76ec65a1c42576ed8ac56100
Parents: 0fc0820
Author: Leif Hedstrom zw...@apache.org
Authored: Mon Jan 20 20:08:04 2014 +0100
Committer: Leif Hedstrom zw...@apache.org
Committed: Mon Jan 20 20:08:04 2014 +0100

--
 .gitignore   |   3 +
 CHANGES  |   2 +
 configure.ac |   1 +
 lib/perl/lib/Apache/TS/AdminClient.pm| 725 -
 lib/perl/lib/Apache/TS/AdminClient.pm.in | 728 ++
 5 files changed, 734 insertions(+), 725 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4db27ec4/.gitignore
--
diff --git a/.gitignore b/.gitignore
index a8bba97..57712e5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -62,6 +62,9 @@ lib/ts/test_atomic
 lib/ts/test_freelist
 lib/ts/test_Map
 lib/ts/test_Vec
+lib/perl/lib/Apache/TS/AdminClient.pm
+
+
 iocore/net/test_certlookup
 iocore/aio/test_AIO
 iocore/eventsystem/test_Buffer

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4db27ec4/CHANGES
--
diff --git a/CHANGES b/CHANGES
index 0e40a80..dbec535 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
  -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 4.2.0
 
+  *) [TS-799] Have AdminClient.pm created from .in file.
+
   *) [TS-2509] Add the const qualifier to pure HttpTunnel member functions.
 
   *) [TS-2508] Add a *highly* experimental escalation plugin.

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4db27ec4/configure.ac
--
diff --git a/configure.ac b/configure.ac
index a71f578..5552594 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1923,6 +1923,7 @@ AC_CONFIG_FILES([
   lib/atscppapi/examples/async_timer/Makefile
   lib/wccp/Makefile
   lib/perl/Makefile
+  lib/perl/lib/Apache/TS/AdminClient.pm
   mgmt/Makefile
   mgmt/api/Makefile
   mgmt/api/include/Makefile

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/4db27ec4/lib/perl/lib/Apache/TS/AdminClient.pm
--
diff --git a/lib/perl/lib/Apache/TS/AdminClient.pm 
b/lib/perl/lib/Apache/TS/AdminClient.pm
deleted file mode 100644
index 37281ae..000
--- a/lib/perl/lib/Apache/TS/AdminClient.pm
+++ /dev/null
@@ -1,725 +0,0 @@
-#
-# 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.
-
-package Apache::TS::AdminClient;
-
-use warnings;
-use strict;
-
-require 5.006;
-
-use Carp;
-use IO::Socket::UNIX;
-use IO::Select;
-our $VERSION = 0.01;
-
-use constant {
-TS_FILE_READ= 0,
-TS_FILE_WRITE   = 1,
-TS_RECORD_SET   = 2,
-TS_RECORD_GET   = 3,
-TS_PROXY_STATE_GET  = 4,
-TS_PROXY_STATE_SET  = 5,
-TS_RECONFIGURE  = 6,
-TS_RESTART  = 7,
-TS_BOUNCE   = 8,
-TS_EVENT_RESOLVE= 9,
-TS_EVENT_GET_MLT= 10,
-TS_EVENT_ACTIVE = 11,
-TS_EVENT_REG_CALLBACK   = 12,
-TS_EVENT_UNREG_CALLBACK = 13,
-TS_EVENT_NOTIFY = 14,
-TS_SNAPSHOT_TAKE= 15,
-TS_SNAPSHOT_RESTORE = 16,
-TS_SNAPSHOT_REMOVE  = 17,
-TS_SNAPSHOT_GET_MLT = 18,
-TS_DIAGS= 19,
-TS_STATS_RESET  = 20
-};
-
-# We treat both REC_INT and REC_COUNTER the same here
-use constant {
-TS_REC_INT = 0,
-TS_REC_COUNTER = 0,
-TS_REC_FLOAT   = 2,
-TS_REC_STRING  = 3
-};
-
-use constant {
-TS_ERR_OKAY= 0,
-TS_ERR_READ_FILE