// Path: src/main/java/org/trustedanalytics/servicebroker/hdfs/config/ExternalConfiguration.java
// @Configuration
// public class ExternalConfiguration {
// 
//   @Value("${store.user}")
//   @NotNull
//   @Getter @Setter
//   private String user;
// 
//   @Value("${store.password}")
//   @NotNull
//   @Getter @Setter
//   private String password;
// 
//   @Value("${hdfs.userspace.chroot}")
//   @NotNull
//   @Getter @Setter
//   private String userspaceChroot;
// 
//   @Value("${hdfs.provided.zip}")
//   @NotNull
//   @Getter @Setter
//   private String hdfsProvidedZip;
// 
//   @Value("${hdfs.superuser}")
//   @NotNull
//   @Getter @Setter
//   private String hdfsSuperuser;
// 
//   @Value("${hdfs.keytab}")
//   @NotNull
//   @Getter @Setter
//   private String hdfsSuperuserKeytab;
// 
// }


import java.io.File;
import java.io.IOException;
import java.net.URISyntaxException;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.FileUtil;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hdfs.MiniDFSCluster;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.trustedanalytics.servicebroker.hdfs.config.ExternalConfiguration;
/**
 * Copyright (c) 2015 Intel Corporation
 *
 * 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.
 */
package org.trustedanalytics.servicebroker.hdfs.integration.config;



@Configuration
@Profile("integration-test")
public class HdfsLocalConfiguration {

  @Autowired
// Path: src/main/java/org/trustedanalytics/servicebroker/hdfs/config/ExternalConfiguration.java
// @Configuration
// public class ExternalConfiguration {
// 
//   @Value("${store.user}")
//   @NotNull
//   @Getter @Setter
//   private String user;
// 
//   @Value("${store.password}")
//   @NotNull
//   @Getter @Setter
//   private String password;
// 
//   @Value("${hdfs.userspace.chroot}")
//   @NotNull
//   @Getter @Setter
//   private String userspaceChroot;
// 
//   @Value("${hdfs.provided.zip}")
//   @NotNull
//   @Getter @Setter
//   private String hdfsProvidedZip;
// 
//   @Value("${hdfs.superuser}")
//   @NotNull
//   @Getter @Setter
//   private String hdfsSuperuser;
// 
//   @Value("${hdfs.keytab}")
//   @NotNull
//   @Getter @Setter
//   private String hdfsSuperuserKeytab;
// 
// }


// Path: src/test/java/org/trustedanalytics/servicebroker/hdfs/integration/config/HdfsLocalConfiguration.java
import java.io.File;
import java.io.IOException;
import java.net.URISyntaxException;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.FileUtil;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hdfs.MiniDFSCluster;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.trustedanalytics.servicebroker.hdfs.config.ExternalConfiguration;

/**
 * Copyright (c) 2015 Intel Corporation
 *
 * 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.
 */
package org.trustedanalytics.servicebroker.hdfs.integration.config;



@Configuration
@Profile("integration-test")
public class HdfsLocalConfiguration {

  @Autowired
  private ExternalConfiguration externalConfiguration;