Skip to content

Commit

Permalink
HPCC-20458 Allow File Access keys to be defined in the environment
Browse files Browse the repository at this point in the history
Add new CLI envmod for processing modification templates to modify
environment files.
Update modification template support.
Add unit tests for new features.

Signed-off-by: Ken Rowland <kenneth.rowland@lexisnexisrisk.com>
  • Loading branch information
kenrowland committed Jan 14, 2019
1 parent 665506d commit 18247a1
Show file tree
Hide file tree
Showing 56 changed files with 2,315 additions and 628 deletions.
3 changes: 2 additions & 1 deletion configuration/CMakeLists.txt
@@ -1,5 +1,5 @@
################################################################################
# HPCC SYSTEMS software Copyright (C) 2016 HPCC Systems.
# HPCC SYSTEMS software Copyright (C) 2018 HPCC Systems.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,3 +15,4 @@
################################################################################

HPCC_ADD_SUBDIRECTORY (configmgr)
HPCC_ADD_SUBDIRECTORY (cli)
17 changes: 17 additions & 0 deletions configuration/cli/CMakeLists.txt
@@ -0,0 +1,17 @@
################################################################################
# HPCC SYSTEMS software Copyright (C) 2018 HPCC Systems.
#
# 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.
################################################################################

HPCC_ADD_SUBDIRECTORY (envmod)
34 changes: 34 additions & 0 deletions configuration/cli/envmod/CMakeLists.txt
@@ -0,0 +1,34 @@
################################################################################
# HPCC SYSTEMS software Copyright (C) 2018 HPCC Systems.
#
# 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.
################################################################################

project ( envmod )

SET (SRC_FILES
envmod.cpp
)

INCLUDE_DIRECTORIES(
${CMAKE_BINARY_DIR}
${HPCC_SOURCE_DIR}/system/include
${HPCC_SOURCE_DIR}/configuration/configmgr/configmgrlib
${HPCC_SOURCE_DIR}/configuration/configmgr/RapidJSON/include
)

HPCC_ADD_EXECUTABLE ( envmod ${SRC_FILES} )

INSTALL ( TARGETS envmod RUNTIME DESTINATION ${EXEC_DIR} )

TARGET_LINK_LIBRARIES(envmod configmgr)

0 comments on commit 18247a1

Please sign in to comment.