X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.repo%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Frepo%2FRepoConstants.java;h=4358e9865017ebd99db230f6c6ba554bc98c8086;hb=d7c9180e5ad639b141ecc51f36e7fd65f19403f9;hp=6a02828285b9092555f08aedbad2b4348e6a4867;hpb=0f05a24d55e92b847d2c72ff116ecd281a60adf8;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/RepoConstants.java b/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/RepoConstants.java index 6a0282828..4358e9865 100644 --- a/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/RepoConstants.java +++ b/runtime/org.argeo.slc.repo/src/main/java/org/argeo/slc/repo/RepoConstants.java @@ -1,7 +1,37 @@ +/* + * Copyright (C) 2007-2012 Argeo GmbH + * + * 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.argeo.slc.repo; /** SLC repository constants */ public interface RepoConstants { - public final static String ARTIFACTS_BASE_PATH = "/repo"; - public final static String PROXIED_REPOSITORIES = "/slc/repo/sources"; + public final static String DEFAULT_JAVA_REPOSITORY_ALIAS = "java"; + public final static String DEFAULT_JAVA_REPOSITORY_LABEL = "Internal Java Repository"; + + public final static String DEFAULT_ARTIFACTS_BASE_PATH = "/"; + public final static String REPO_BASEPATH = "/slc:repo"; + public final static String PROXIED_REPOSITORIES = REPO_BASEPATH + + "/slc:sources"; + public final static String DISTRIBUTIONS_BASE_PATH = REPO_BASEPATH + + "/slc:distributions"; + public final static String REPOSITORIES_BASE_PATH = REPO_BASEPATH + + "/slc:repositories"; + public final static String BINARIES_ARTIFACT_ID = "binaries"; + public final static String SOURCES_ARTIFACT_ID = "sources"; + public final static String SDK_ARTIFACT_ID = "sdk"; + + // TODO might exists somewhere else + public final static String SLC_GROUP_ID = "SLC-GroupId"; }