<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (c) 2019 Eurotech and/or its affiliates

     All rights reserved. This program and the accompanying materials
     are made available under the terms of the Eclipse Public License v1.0
     which accompanies this distribution, and is available at
     http://www.eclipse.org/legal/epl-v10.html

    Contributors:
      Eurotech

-->
<MetaData xmlns="http://www.osgi.org/xmlns/metatype/v1.2.0" localization="en_us">
    <OCD id="org.eclipse.kura.http.server.manager.HttpService"
         name="HttpService" 
         description="This service allows the user to enable and configure the http and https connectors in Kura web server. Every change to this service will cause a restart of the web server and a possible temporary UI unavailability.">

        <AD id="http.enabled"
            name="HTTP Enabled"
            type="Boolean"
            cardinality="0"
            required="true"
            default="true"
            description="Specifies if the http service is enabled.">
        </AD>
        
        <AD id="http.port"  
            name="HTTP Port"
            type="Integer"
            cardinality="0" 
            required="true"
            default="80" 
            description="Allows to specify the port used by the http service for plain, unencrypted communication.">
        </AD>
        
        <AD id="https.enabled"
            name="HTTPS Enabled"
            type="Boolean"
            cardinality="0"
            required="true"
            default="false"
            description="Specifies if the https service is enabled.">
        </AD>
        
        <AD id="https.port"  
            name="HTTPS Port"
            type="Integer"
            cardinality="0" 
            required="true"
            default="443" 
            description="Allows to specify the port used by the https service for encrypted communication.">
        </AD>
        
        <AD id="https.keystore.path"  
            name="HTTPS Keystore Path"
            type="String"
            cardinality="0" <commit_msg>Set metatype limits for http service port range (#2937)<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (c) 2019 Eurotech and/or its affiliates

     All rights reserved. This program and the accompanying materials
     are made available under the terms of the Eclipse Public License v1.0
     which accompanies this distribution, and is available at
     http://www.eclipse.org/legal/epl-v10.html

    Contributors:
      Eurotech

-->
<MetaData xmlns="http://www.osgi.org/xmlns/metatype/v1.2.0" localization="en_us">
    <OCD id="org.eclipse.kura.http.server.manager.HttpService"
         name="HttpService" 
         description="This service allows the user to enable and configure the http and https connectors in Kura web server. Every change to this service will cause a restart of the web server and a possible temporary UI unavailability.">

        <AD id="http.enabled"
            name="HTTP Enabled"
            type="Boolean"
            cardinality="0"
            required="true"
            default="true"
            description="Specifies if the http service is enabled.">
        </AD>
        
        <AD id="http.port"  
            name="HTTP Port"
            type="Integer"
            cardinality="0" 
            required="true"
            default="80" 
            min = "1"
            max = "65535"
            description="Allows to specify the port used by the http service for plain, unencrypted communication.">
        </AD>
        
        <AD id="https.enabled"
            name="HTTPS Enabled"
            type="Boolean"
            cardinality="0"
            required="true"
            default="false"
            description="Specifies if the https service is enabled.">
        </AD>
        
        <AD id="https.port"  
            name="HTTPS Port"
            type="Integer"
            cardinality="0" 
            required="true"
            default="443" 
            min = "1"
            max = "65535"
            description="Allows to specify the port used by the https service for encrypted communication.">
        </AD>
        
        <AD id="https.keystore.path"  
            name="HTTPS Keystore Path"
            type="String"
            cardinality="0" 
{'fraction_non_alphanumeric': 0.09664830119375574, 'fraction_numerical': 0.014692378328741965, 'mean_word_length': 1.8759075907590759, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 2, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7156562', 'n_tokens_mistral': 1173, 'n_tokens_neox': 1112, 'n_words': 354}