Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Select Git revision
  • ac638b52becfd2a23cae65e76bbd06dbfb92f3eb
  • development default
  • bugfix/EDELIVERY-14172-domismp-accepts-requests-with-wrong-domain-header-value
  • EDELIVERY-15372-upgrade-libraries-and-plugins-and-update-httpclient-to-httpclient5
  • EDELIVERY-15377-migrate-to-angular-20
  • feature/EDELIVERY-15382-rest-api-jwt-authentication-for-dynamic-discovery-client
  • bugfix/EDELIVERY-14196-select-domain-select-resource-dropdown-should-be-order-alphabetically
  • feature/EDELIVERY-12753-sml-integration-migration-to-different-smp
  • feature/EDELIVERY-13757-extend-session-dialog-should-have-an-active-counter
  • EDELIVERY-15144-sql-update
  • bugfix/EDELIVERY-14326-ui-edit-resource-filters
  • feature/EDELIVERY-15144-domismp-system-notification-generalize-time-expiration-alerts
  • bugfix/EDELIVERY-15102-alert-is-not-appearing-when-adding-duplicated-certificate
  • bugfix/EDELIVERY-15203-small-left-grid-shows-no-data-found-for-1-2-seconds-before-loading-the-data
  • EDELIVERY-15219-search-filter-with-understore-char-does-not-work
  • bugfix/EDELIVERY-15226-certificates-error-when-trying-to-delete-certificates
  • bugfix/EDELIVERY-15224-error-when-trying-to-update-info-from-profile-page
  • bugfix/EDELIVERY-15225-emails-are-not-sent-in-domismp
  • release/5.1.x
  • feature/EDELIVERY-12746-external-secret-sharing-services-as-vaults
  • EDELIVERY-15229-upgrade-libraries-and-plugins
  • 5.1.1
  • 5.1
  • 5.1-TEST
  • 5.1-RC1
  • 5.0.1
  • 5.0
  • 5.0-RC1
  • 4.2
  • 4.2-RC1
  • 4.1.2
  • 4.1.1
  • 4.1.0
  • 4.1.0-RC1
  • 4.0.0
  • 4.0.0-RC1
  • 3.0.2
  • 3.0.1
  • 3.0.0
39 results

subresource-document-wizard.component.html

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    subresource-document-wizard.component.html 5.58 KiB
    <h2 mat-dialog-title>Service Metadata Wizard</h2>
    
    <mat-dialog-content class="flex-dialog-content">
      <form [formGroup]="dialogForm">
    
            <div class="panel">
    
              <!-- Process -->
              <mat-form-field style="width:58%">
                <mat-label>Process identifier</mat-label>
                <input matInput name="processidentifier" id="processidentifier_id" matTooltip = "The value part of the identifier of the process."
                       maxlength="255"
                       [formControl]="dialogForm.controls['processIdentifier']"
                       required>
                <div
                  *ngIf="dialogForm.controls['processIdentifier'].touched &&  dialogForm.controls['processIdentifier'].hasError('required')"
                  style="color:red; font-size: 70%">Process identifier is required!
                </div>
              </mat-form-field>
              <mat-form-field style="width:38%">
                <mat-label>Process scheme</mat-label>
                <input matInput name="processSchema" id="processSchema_id" matTooltip = "The scheme part of the identifier of the process."
                       maxlength="255"
                       [formControl]="dialogForm.controls['processScheme']"
                       >
              </mat-form-field>
    
              <mat-form-field style="width:58%">
                <mat-label>Access point URL</mat-label>
                <input matInput name="endpointUrl" id="endpointUrl_id" matTooltip="The address of an endpoint, as a URL."
                       maxlength="255"
                       [formControl]="dialogForm.controls['endpointUrl']"
                       type="url"
                       required>
                <div
                  *ngIf="dialogForm.controls['endpointUrl'].touched &&  dialogForm.controls['endpointUrl'].hasError('required')"
                  style="color:red; font-size: 70%">Access point URL is required!
                </div>
              </mat-form-field>
    
    <!-- transport -->
              <mat-form-field style="width:38%">
                <mat-label>Transport profile</mat-label>
                <input matInput name="transportProfile" id="transportProfiler_id"
                       matTooltip="Indicates the type of transport method that is being used between access points for message exchange. See the message exchange network technical specifications for correct values."
                        maxlength="255"
                       [formControl]="dialogForm.controls['transportProfile']"
                       required>
                <div
                  *ngIf="dialogForm.controls['transportProfile'].touched &&  dialogForm.controls['transportProfile'].hasError('required')"
                  style="color:red; font-size: 70%">Transport profile  (as example: bdxr-transport-ebms3-as4-v1p0) is required!
                </div>
              </mat-form-field>
    
              <div style="display: block;" style="border:1px; solid: #999999;margin:5px 0; padding:3px;">
                <label class="custom-file-upload">
                  <input #fileInput type="file" style="display: inline-block;cursor: pointer; display: none;"
                         id="certificate-file-upload" accept=".cer,.crt,.pem,.der"
                         (change)="uploadCertificate($event)">
                  <button id="uploadCertificateButton" mat-flat-button color="primary"
                          (click)="fileInput.click()" >Upload certificate</button>
                </label>
                <div *ngIf="certificateValidationMessage"
                     [ngClass]="{ 'alert-message': certificateValidationMessage, 'alert-message-success': !certificateValidationMessage, 'alert-message-error':!!certificateValidationMessage }"
                     id="alertmessage_id">
                  <span class="alert-message-close-button" (click)="clearAlert()">&times;</span>
                  {{certificateValidationMessage}}
                </div>
                <textarea matInput style="width:100%;border: #03A9F4 1px solid" cols="2" rows="10"
                          resizeable="false"
                          id="metadatacertificate_id"
                          placeholder="Upload a certificate or paste the value inside the field" name="certificate"
                          [formControl]="dialogForm.controls['endpointCertificate']" required></textarea>
                </div>
              <div
                *ngIf="dialogForm.controls['endpointCertificate'].touched &&  dialogForm.controls['endpointCertificate'].hasError('required')"
                style="color:red; font-size: 70%">Valid x509 Certificate is required!
              </div>
    
    <!-- ServiceDescription -->
              <mat-form-field style="width:100%">
                <mat-label>Service description</mat-label>
                <input matInput name="serviceDescription" id="serviceDescription_id" matTooltip="Service description"
                       [formControl]="dialogForm.controls['serviceDescription']" maxlength="255" >
              </mat-form-field>
              <mat-form-field style="width:100%">
                <mat-label>Technical Contact Url</mat-label>
                <input matInput name="technicalContactUrl" id="technicalContactUrl_id"  matTooltip="Technical contact for the service"
                       [formControl]="dialogForm.controls['technicalContactUrl']" maxlength="255" type="url" >
              </mat-form-field>
            </div>
      </form>
    </mat-dialog-content>
    
    <div class="required-fields">* required fields</div>
    <mat-dialog-actions>
        <button id="generateSubresourceButton" mat-raised-button color="primary" [mat-dialog-close]="true"
                [disabled]="!dialogForm.valid">
          <mat-icon>check_circle</mat-icon>
          <span>OK</span>
        </button>
    
        <button id="closeDialogButton" mat-raised-button color="primary" mat-dialog-close>
          <mat-icon>cancel</mat-icon>
          <span>Cancel</span>
        </button>
    </mat-dialog-actions>