[
https://issues.apache.org/jira/browse/USERGRID-933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15090155#comment-15090155
]
ASF GitHub Bot commented on USERGRID-933:
-----------------------------------------
Github user mdunker commented on a diff in the pull request:
https://github.com/apache/usergrid/pull/459#discussion_r49250207
--- Diff:
stack/services/src/main/java/org/apache/usergrid/management/cassandra/OrganizationConfigPropsImpl.java
---
@@ -0,0 +1,109 @@
+/*
+ * 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 org.apache.usergrid.management.cassandra;
+
+
+import org.apache.usergrid.management.OrganizationConfigProps;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.util.*;
+
+import static org.apache.commons.lang.StringUtils.isBlank;
+
+
+public class OrganizationConfigPropsImpl implements
OrganizationConfigProps {
+ private static final Logger logger = LoggerFactory.getLogger(
OrganizationConfigPropsImpl.class );
+
+ private static final String DEFAULT_CONNECTION_PARAM_DEFAULTVALUE =
"all";
+ private static final String ADMIN_SYSADMIN_EMAIL_DEFAULTVALUE = null;
// null will fall back to system level admin
+ private static final String ADMIN_ACTIVATION_URL_DEFAULTVALUE = ""; //
should be configured in properties file
+ private static final String ADMIN_CONFIRMATION_URL_DEFAULTVALUE = "";
// should be configured in properties file
+ private static final String ADMIN_RESETPW_URL_DEFAULTVALUE = ""; //
should be configured in properties file
+
+ private static final Map<String, String> noConfigDefaults = new
HashMap<>();
+ static {
+ noConfigDefaults.put(PROPERTIES_DEFAULT_CONNECTION_PARAM,
DEFAULT_CONNECTION_PARAM_DEFAULTVALUE);
--- End diff --
move DEFAULTVALUE to front of name
> [SPIKE] Understand what remains and break up tasks for migrating properties
> from files on Tomcat to Org-level in the management app
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: USERGRID-933
> URL: https://issues.apache.org/jira/browse/USERGRID-933
> Project: Usergrid
> Issue Type: Story
> Reporter: Jeffrey
> Assignee: Mike Dunker
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)