API Version backward compat
[aaf/authz.git] / cadi / aaf / src / main / java / org / onap / aaf / cadi / aaf / Defaults.java
1 /**
2  * ============LICENSE_START====================================================
3  * org.onap.aaf
4  * ===========================================================================
5  * Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
6  * ===========================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END====================================================
19  *
20  */
21 package org.onap.aaf.cadi.aaf;
22
23 public interface Defaults {
24     public final static String AAF_VERSION = "2.1";
25     public final static String AAF_NS = "AAF_NS";
26     public final static String AAF_ROOT =  "https://AAF_LOCATE_URL/" + AAF_NS;
27     public final static String AAF_URL = AAF_ROOT + ".service:" + AAF_VERSION;
28     public final static String GUI_URL = AAF_ROOT + ".gui:" + AAF_VERSION;
29     public final static String CM_URL = AAF_ROOT + ".cm:" + AAF_VERSION;
30     public final static String FS_URL = AAF_ROOT + ".fs:" + AAF_VERSION;
31     public final static String HELLO_URL = AAF_ROOT + ".hello:" + AAF_VERSION;
32     public final static String OAUTH2_TOKEN_URL = AAF_ROOT  + ".token:" + AAF_VERSION;
33     public final static String OAUTH2_INTROSPECT_URL = AAF_ROOT + ".introspect:" + AAF_VERSION;
34 }