View Javadoc
1   /**
2    * Copyright 2004-2014 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.common.aws.cloudfront;
17  
18  import java.util.Arrays;
19  import java.util.List;
20  
21  import com.amazonaws.services.s3.model.CannedAccessControlList;
22  
23  public abstract class CloudFrontConstants {
24  
25  	public static final String DATE_DISPLAY_FORMAT = "EEE, dd MMM yyyy HH:mm:ss z";
26  	public static final String DATE_DISPLAY_TIMEZONE = "UTC";
27  	public static final String ENCODING = "UTF-8";
28  	public static final String DEFAULT_CACHE_CONTROL = "max-age=3600, must-revalidate";
29  	public static final CannedAccessControlList DEFAULT_ACL = CannedAccessControlList.PublicRead;
30  	public static final String DEFAULT_BROWSE_KEY = "browse.html";
31  	public static final List<String> DEFAULT_WELCOME_FILES = Arrays.asList("index.html", "welcome.html", "portal.html");
32  
33  	// These are all Kuali specific. Should move them elsewhere
34  	public static final String DEFAULT_FILE_IMAGE = "http://s3browse.ks.kuali.org/images/page_white.png";
35  	public static final String DEFAULT_DIR_IMAGE = "http://s3browse.ks.kuali.org/images/folder.png";
36  	public static final String DEFAULT_CSS = "http://s3browse.ks.kuali.org/css/style.css";
37  	public static final String GOOGLE_ANALYTICS_ACCOUNT = "UA-16781661-1";
38  	public static final String GOOGLE_ANALYTICS_DOMAIN_NAME = ".kuali.org";
39  }