added a retry to the insertion of the uni to the data store, since this test is unsta...
[unimgr.git] / impl / src / main / java / org / opendaylight / unimgr / mef / nrp / common / FixedServiceNaming.java
1 /*
2  * Copyright (c) 2016 Cisco Systems Inc and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.unimgr.mef.nrp.common;
10
11 /**
12  * This is a placeholder class for implementing service naming when activating and deactivating MEF services.
13  * TODO: Implement a more robust naming provider.
14  */
15 public class FixedServiceNaming implements ServiceNaming {
16
17     @Override
18     public String getOuterName(String id) {
19         return "EUR16-" + id;
20     }
21
22     @Override
23     public String getInnerName(String id) {
24         return "EUR16-p2p-" + id;
25     }
26
27 }