/*
 * European Variation Archive (EVA) - Open-access database of all types of genetic
 * variation data from all species
 *
 * Copyright 2019 EMBL - European Bioinformatics Institute
 *
 * 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 uk.ac.ebi.eva.server.ws.ga4gh.beaconv2;

import uk.ac.ebi.eva.commons.beacon.models.Beacon;
import uk.ac.ebi.eva.commons.beacon.models.BeaconDataset;
import uk.ac.ebi.eva.commons.beacon.models.BeaconOrganization;

import java.util.List;

public class BeaconImpl extends Beacon {

    static final String ID = "uk.ac.ebi.eva";

    static final String NAME = "European Variation Archive Beacon";

    static final String API_VERSION = "v1.0";

    static final String DESCRIPTION = "descriptionString";

    static final String VERSION = "v2";

    static final String WELCOME_URL = "welcomeUrlString";

    public BeaconImpl() {
        setId(ID);
        setName(NAME);
        setApiVersion(API_VERSION);
        setOrganization(new BeaconOrganizationImpl());
        setDescription(DESCRIPTION);
        setVersion(VERSION);
        setWelcomeUrl(WELCOME_URL);
    }
}
@@ -1231,125 +1231,203 @@
  = %22
-descriptionString%22;%0A%0A    static final String VERSION = %22v2%22;%0A%0A    static final String WELCOME_URL = %22welcomeUrlString
+Beacon for human variants in the European Variation Archive, an open-access %22 +%0A        %22database of all types of genetic variation data from all species.%22;%0A%0A    static final String VERSION = %22v2
 %22;%0A%0A
@@ -1663,39 +1663,78 @@
     
-set
+// 
 Welcome
-Url(WELCOME_URL);
+ URL is optional and there isn't one, so not set for now
 %0A    %7D%0A%7D
@@ -1733,8 +1733,9 @@
 %0A    %7D%0A%7D
+%0A

Set beacon description, removed welcome URL