You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2020/02/17 09:32:28 UTC

[incubator-streampipes] 01/03: Add some code improvements to avoid ts compiler warnings

This is an automated email from the ASF dual-hosted git repository.

riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git

commit fb5e6bb72e853f5475a3e30c60ead089f12308c3
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Sat Feb 15 21:48:09 2020 +0100

    Add some code improvements to avoid ts compiler warnings
---
 .../consul-configs-boolean.component.ts                   |  2 +-
 .../consul-configs-number.component.ts                    |  2 +-
 .../consul-configs-password.component.ts                  |  6 +++---
 .../consul-configs-text/consul-configs-text.component.ts  |  2 +-
 .../messaging-configuration.component.ts                  |  4 ++--
 .../adapter-export/adapter-export-dialog.component.ts     |  2 +-
 .../adapter-upload/adapter-upload-dialog.component.ts     |  2 +-
 ui/src/app/connect/format-component/format.component.ts   |  3 +--
 .../component/adapter-started-dialog.component.ts         |  2 +-
 .../event-property-list/event-property-list.component.ts  |  2 +-
 .../event-property-primitive.component.ts                 |  7 +++----
 .../event-property/event-property.component.ts            |  4 ++--
 .../schema-editor/event-schema/event-schema.component.ts  |  6 +++---
 .../app/connect/schema-editor/model/EventPropertyList.ts  |  3 ++-
 .../static-collection/static-collection.component.ts      |  2 +-
 .../static-color-picker/static-color-picker.component.ts  |  8 ++++----
 .../static-file-input/static-file-input.component.ts      | 15 +++++++--------
 .../static-free-input/static-free-input.component.ts      | 10 +++++-----
 .../static-mapping-nary/static-mapping-nary.component.ts  |  4 +---
 .../static-mapping-unary.component.ts                     |  4 ++--
 .../static-number-input/static-number-input.component.ts  | 10 +++++-----
 .../static-properties/static-property.component.ts        |  4 ++--
 .../static-secret-input/static-secret-input.component.ts  |  8 ++++----
 .../static-text-input/static-text-input.component.ts      | 11 ++++++-----
 .../static-url-input/static-url-input.component.ts        |  7 ++++---
 ui/src/app/data-explorer/explorer/explorer.component.html |  2 +-
 26 files changed, 65 insertions(+), 67 deletions(-)

diff --git a/ui/src/app/configuration/consul-configs-boolean/consul-configs-boolean.component.ts b/ui/src/app/configuration/consul-configs-boolean/consul-configs-boolean.component.ts
index 2065fa4..e32d3d3 100644
--- a/ui/src/app/configuration/consul-configs-boolean/consul-configs-boolean.component.ts
+++ b/ui/src/app/configuration/consul-configs-boolean/consul-configs-boolean.component.ts
@@ -28,7 +28,7 @@ import {ConfigurationService} from '../shared/configuration.service'
 })
 export class ConsulConfigsBooleanComponent {
     @Input() configuration: StreampipesPeContainerConifgs
-    constructor(private configService:ConfigurationService) {    
+    constructor(public configService:ConfigurationService) {
     }
 
 }
\ No newline at end of file
diff --git a/ui/src/app/configuration/consul-configs-number/consul-configs-number.component.ts b/ui/src/app/configuration/consul-configs-number/consul-configs-number.component.ts
index bb2bdbd..be26790 100644
--- a/ui/src/app/configuration/consul-configs-number/consul-configs-number.component.ts
+++ b/ui/src/app/configuration/consul-configs-number/consul-configs-number.component.ts
@@ -27,7 +27,7 @@ import {ConfigurationService} from '../shared/configuration.service';
 })
 export class ConsulConfigsNumberComponent {
     @Input() configuration: StreampipesPeContainerConifgs
-    constructor(private configService:ConfigurationService) {    
+    constructor(public configService:ConfigurationService) {
     }
 
 }
\ No newline at end of file
diff --git a/ui/src/app/configuration/consul-configs-password/consul-configs-password.component.ts b/ui/src/app/configuration/consul-configs-password/consul-configs-password.component.ts
index eb690b2..cb90c3b 100644
--- a/ui/src/app/configuration/consul-configs-password/consul-configs-password.component.ts
+++ b/ui/src/app/configuration/consul-configs-password/consul-configs-password.component.ts
@@ -34,11 +34,11 @@ export class ConsulConfigsPasswordComponent {
     @Input() configuration: StreampipesPeContainerConifgs;
 
     password: string; 
-    private show: Boolean;
-    private className: String;
+    show: Boolean;
+    className: String;
     private hide: Boolean;
     
-    constructor(private configService: ConfigurationService) { 
+    constructor(public configService: ConfigurationService) {
         this.password = hiddenPasswordString; 
         this.show = false;
         this.className  = "hideText";
diff --git a/ui/src/app/configuration/consul-configs-text/consul-configs-text.component.ts b/ui/src/app/configuration/consul-configs-text/consul-configs-text.component.ts
index 00da789..59e5f20 100644
--- a/ui/src/app/configuration/consul-configs-text/consul-configs-text.component.ts
+++ b/ui/src/app/configuration/consul-configs-text/consul-configs-text.component.ts
@@ -28,7 +28,7 @@ import {ConfigurationService} from '../shared/configuration.service'
 })
 export class ConsulConfigsTextComponent {
     @Input() configuration: StreampipesPeContainerConifgs
-    constructor(private configService: ConfigurationService) {    
+    constructor(public configService: ConfigurationService) {
     }
     
 }
\ No newline at end of file
diff --git a/ui/src/app/configuration/messaging-configuration/messaging-configuration.component.ts b/ui/src/app/configuration/messaging-configuration/messaging-configuration.component.ts
index 81f8581..d19825e 100644
--- a/ui/src/app/configuration/messaging-configuration/messaging-configuration.component.ts
+++ b/ui/src/app/configuration/messaging-configuration/messaging-configuration.component.ts
@@ -28,8 +28,8 @@ import {CdkDragDrop, moveItemInArray} from '@angular/cdk/drag-drop';
 })
 export class MessagingConfigurationComponent {
 
-    private messagingSettings: MessagingSettings;
-    private loadingCompleted: boolean = false;
+    messagingSettings: MessagingSettings;
+    loadingCompleted: boolean = false;
 
     constructor(private configurationService: ConfigurationService) {
 
diff --git a/ui/src/app/connect/data-marketplace/adapter-export/adapter-export-dialog.component.ts b/ui/src/app/connect/data-marketplace/adapter-export/adapter-export-dialog.component.ts
index 4abd07d..0cec183 100644
--- a/ui/src/app/connect/data-marketplace/adapter-export/adapter-export-dialog.component.ts
+++ b/ui/src/app/connect/data-marketplace/adapter-export/adapter-export-dialog.component.ts
@@ -29,7 +29,7 @@ import {TsonLdSerializerService} from '../../../platform-services/tsonld-seriali
 })
 export class AdapterExportDialog {
 
-    private adapterJsonLd;
+    adapterJsonLd;
 
     constructor(
         public dialogRef: MatDialogRef<AdapterExportDialog>,
diff --git a/ui/src/app/connect/data-marketplace/adapter-upload/adapter-upload-dialog.component.ts b/ui/src/app/connect/data-marketplace/adapter-upload/adapter-upload-dialog.component.ts
index 84ff608..061d5bf 100644
--- a/ui/src/app/connect/data-marketplace/adapter-upload/adapter-upload-dialog.component.ts
+++ b/ui/src/app/connect/data-marketplace/adapter-upload/adapter-upload-dialog.component.ts
@@ -31,7 +31,7 @@ import {AdapterDescription} from '../../model/connect/AdapterDescription';
 export class AdapterUploadDialog {
 
     private selectedUploadFile: File;
-    private uploaded: boolean;
+    uploaded: boolean;
 
     constructor(
         public dialogRef: MatDialogRef<AdapterUploadDialog>,
diff --git a/ui/src/app/connect/format-component/format.component.ts b/ui/src/app/connect/format-component/format.component.ts
index ab4b9da..3141a37 100644
--- a/ui/src/app/connect/format-component/format.component.ts
+++ b/ui/src/app/connect/format-component/format.component.ts
@@ -36,9 +36,8 @@ export class FormatComponent {
   editableEmitter = new EventEmitter();
   @Output()
   selectedFormatEmitter = new EventEmitter();
-  private hasConfig: Boolean;
-
 
+  hasConfig: Boolean;
 
   constructor(private ShepherdService: ShepherdService) {
     this.hasConfig = true;
diff --git a/ui/src/app/connect/new-adapter/component/adapter-started-dialog.component.ts b/ui/src/app/connect/new-adapter/component/adapter-started-dialog.component.ts
index 7d174da..8c6b392 100644
--- a/ui/src/app/connect/new-adapter/component/adapter-started-dialog.component.ts
+++ b/ui/src/app/connect/new-adapter/component/adapter-started-dialog.component.ts
@@ -35,7 +35,7 @@ import {MappingPropertyUnary} from '../../model/MappingPropertyUnary';
 })
 export class AdapterStartedDialog {
 
-    private adapterInstalled: boolean = false;
+    adapterInstalled: boolean = false;
     private adapterStatus: StatusMessage;
     private streamDescription: any;
     private pollingActive: boolean = false;
diff --git a/ui/src/app/connect/schema-editor/event-property-list/event-property-list.component.ts b/ui/src/app/connect/schema-editor/event-property-list/event-property-list.component.ts
index eee281c..19742ed 100644
--- a/ui/src/app/connect/schema-editor/event-property-list/event-property-list.component.ts
+++ b/ui/src/app/connect/schema-editor/event-property-list/event-property-list.component.ts
@@ -35,7 +35,7 @@ export class EventPropertyListComponent implements OnInit {
   @Input() property: EventPropertyList;
   @Input() index: number;
 
-  private runtimeDataTypes;
+  runtimeDataTypes;
 
   @Input() isEditable: boolean;
 
diff --git a/ui/src/app/connect/schema-editor/event-property-primitive/event-property-primitive.component.ts b/ui/src/app/connect/schema-editor/event-property-primitive/event-property-primitive.component.ts
index 43729cd..4562307 100644
--- a/ui/src/app/connect/schema-editor/event-property-primitive/event-property-primitive.component.ts
+++ b/ui/src/app/connect/schema-editor/event-property-primitive/event-property-primitive.component.ts
@@ -40,16 +40,15 @@ export class EventPropertyPrimitiveComponent implements OnInit, DoCheck {
   @Input() index: number;
 
   @Input() domainPropertyGuess: DomainPropertyProbabilityList;
-
   @Input() isEditable: boolean;
 
-
-  private propertyPrimitivForm: FormGroup;
-  private runtimeDataTypes;
   @Output() delete: EventEmitter<EventProperty> = new EventEmitter<EventProperty>();
   @Output() addPrimitive: EventEmitter<EventProperty> = new EventEmitter<EventProperty>();
   @Output() addNested: EventEmitter<any> = new EventEmitter<any>();
 
+  private propertyPrimitivForm: FormGroup;
+  runtimeDataTypes;
+
   private transformUnitEnable = false;
   private possibleUnitTransformations: UnitDescription[] = [];
   private selectUnit: UnitDescription;
diff --git a/ui/src/app/connect/schema-editor/event-property/event-property.component.ts b/ui/src/app/connect/schema-editor/event-property/event-property.component.ts
index 0c65950..24e1b0f 100644
--- a/ui/src/app/connect/schema-editor/event-property/event-property.component.ts
+++ b/ui/src/app/connect/schema-editor/event-property/event-property.component.ts
@@ -70,7 +70,7 @@ export class EventPropertyComponent implements OnInit {
         });
     }
 
-    private isEventPropertyPrimitive(instance: EventProperty): boolean {
+    isEventPropertyPrimitive(instance: EventProperty): boolean {
         return instance instanceof EventPropertyPrimitive;
     }
 
@@ -78,7 +78,7 @@ export class EventPropertyComponent implements OnInit {
         return instance instanceof EventPropertyNested;
     }
 
-    private isEventPropertyList(instance: EventProperty): boolean {
+    isEventPropertyList(instance: EventProperty): boolean {
         return instance instanceof EventPropertyList;
     }
 
diff --git a/ui/src/app/connect/schema-editor/event-schema/event-schema.component.ts b/ui/src/app/connect/schema-editor/event-schema/event-schema.component.ts
index a191fef..7c2f9bd 100644
--- a/ui/src/app/connect/schema-editor/event-schema/event-schema.component.ts
+++ b/ui/src/app/connect/schema-editor/event-schema/event-schema.component.ts
@@ -74,7 +74,7 @@ export class EventSchemaComponent implements OnChanges {
   };
 
 
-  private onUpdateData(treeComponent: TreeComponent): void {
+  public onUpdateData(treeComponent: TreeComponent): void {
     treeComponent.treeModel.expandAll();
   }
 
@@ -110,7 +110,7 @@ export class EventSchemaComponent implements OnChanges {
     this.tree.treeModel.update();
   }
 
-  public addNestedProperty(eventProperty): void {
+  public addNestedProperty(eventProperty?: EventPropertyNested): void {
     const uuid: string = UUID.UUID();
     if (eventProperty === undefined) {
       this.eventSchema.eventProperties.push(new EventPropertyNested(uuid, undefined));
@@ -121,7 +121,7 @@ export class EventSchemaComponent implements OnChanges {
   }
 
 
-  public removeSelectedProperties(eventProperties: any): void {
+  public removeSelectedProperties(eventProperties?: any): void {
     eventProperties = eventProperties || this.eventSchema.eventProperties;
     for (let i = eventProperties.length - 1; i >= 0; --i) {
       if (eventProperties[i].eventProperties) {
diff --git a/ui/src/app/connect/schema-editor/model/EventPropertyList.ts b/ui/src/app/connect/schema-editor/model/EventPropertyList.ts
index cd6a051..6fc4f09 100644
--- a/ui/src/app/connect/schema-editor/model/EventPropertyList.ts
+++ b/ui/src/app/connect/schema-editor/model/EventPropertyList.ts
@@ -19,13 +19,14 @@
 import {EventProperty} from './EventProperty';
 import {RdfsClass} from '../../../platform-services/tsonld/RdfsClass';
 import {RdfProperty} from '../../../platform-services/tsonld/RdfsProperty';
+import {EventPropertyPrimitive} from "./EventPropertyPrimitive";
 //  extends EventProperty
 
 @RdfsClass('sp:EventPropertyList')
 export class EventPropertyList extends EventProperty {
 
     @RdfProperty('sp:hasEventProperty')
-    eventProperty: EventProperty;
+    eventProperty: EventPropertyPrimitive;
 
     constructor(propertyID: string, parent: EventProperty) {
         super(propertyID, parent);
diff --git a/ui/src/app/connect/static-properties/static-collection/static-collection.component.ts b/ui/src/app/connect/static-properties/static-collection/static-collection.component.ts
index a447352..7334a53 100644
--- a/ui/src/app/connect/static-properties/static-collection/static-collection.component.ts
+++ b/ui/src/app/connect/static-properties/static-collection/static-collection.component.ts
@@ -31,7 +31,7 @@ import {StaticPropertyUtilService} from '../static-property-util.service';
 })
 export class StaticCollectionComponent {
 
-    @Input() staticProperty: StaticProperty;
+    @Input() staticProperty: CollectionStaticProperty;
     @Input() adapterId: string;
     @Input() eventSchema: EventSchema;
 
diff --git a/ui/src/app/connect/static-properties/static-color-picker/static-color-picker.component.ts b/ui/src/app/connect/static-properties/static-color-picker/static-color-picker.component.ts
index 597774d..7d6d726 100644
--- a/ui/src/app/connect/static-properties/static-color-picker/static-color-picker.component.ts
+++ b/ui/src/app/connect/static-properties/static-color-picker/static-color-picker.component.ts
@@ -11,7 +11,7 @@ import {FormControl, FormGroup, Validators} from "@angular/forms";
 })
 export class StaticColorPickerComponent implements OnInit {
 
-    constructor(private staticPropertyUtil: StaticPropertyUtilService){
+    constructor(public staticPropertyUtil: StaticPropertyUtilService){
 
     }
 
@@ -20,9 +20,9 @@ export class StaticColorPickerComponent implements OnInit {
     @Input() staticProperty: StaticProperty;
     @Output() inputEmitter: EventEmitter<any> = new EventEmitter<any>();
 
-    private inputValue: String;
-    private hasInput: Boolean;
-    private colorPickerForm: FormGroup;
+    inputValue: String;
+    hasInput: Boolean;
+    colorPickerForm: FormGroup;
 
     ngOnInit() {
         this.colorPickerForm = new FormGroup({
diff --git a/ui/src/app/connect/static-properties/static-file-input/static-file-input.component.ts b/ui/src/app/connect/static-properties/static-file-input/static-file-input.component.ts
index 807025a..d5ebb64 100644
--- a/ui/src/app/connect/static-properties/static-file-input/static-file-input.component.ts
+++ b/ui/src/app/connect/static-properties/static-file-input/static-file-input.component.ts
@@ -37,18 +37,17 @@ export class StaticFileInputComponent implements OnInit {
     @Input() adapterId: String;
     @Output() inputEmitter: EventEmitter<Boolean> = new EventEmitter<Boolean>();
 
-    private inputValue: String;
-    private fileName: String;
+    inputValue: String;
+    fileName: String;
 
+    selectedUploadFile: File;
 
-    private selectedUploadFile: File;
+    hasInput: Boolean;
+    errorMessage = "Please enter a value";
 
-    private hasInput: Boolean;
-    private errorMessage = "Please enter a value";
+    uploadStatus = 0;
 
-    private uploadStatus = 0;
-
-    constructor(private staticPropertyUtil: StaticPropertyUtilService, private staticFileRestService: StaticFileRestService){
+    constructor(public staticPropertyUtil: StaticPropertyUtilService, private staticFileRestService: StaticFileRestService){
 
     }
 
diff --git a/ui/src/app/connect/static-properties/static-free-input/static-free-input.component.ts b/ui/src/app/connect/static-properties/static-free-input/static-free-input.component.ts
index 9553848..74b2eba 100644
--- a/ui/src/app/connect/static-properties/static-free-input/static-free-input.component.ts
+++ b/ui/src/app/connect/static-properties/static-free-input/static-free-input.component.ts
@@ -35,12 +35,12 @@ export class StaticFreeInputComponent implements OnInit {
     @Output() inputEmitter: EventEmitter<Boolean> = new EventEmitter<Boolean>();
     @Output() updateEmitter: EventEmitter<ConfigurationInfo> = new EventEmitter();
     
-    private freeTextForm: FormGroup;
-    private inputValue: String;
-    private hasInput: Boolean;
-    private errorMessage = "Please enter a value";
+    freeTextForm: FormGroup;
+    inputValue: String;
+    hasInput: Boolean;
+    errorMessage = "Please enter a value";
 
-    constructor(private staticPropertyUtil: StaticPropertyUtilService){
+    constructor(public staticPropertyUtil: StaticPropertyUtilService){
 
     }
 
diff --git a/ui/src/app/connect/static-properties/static-mapping-nary/static-mapping-nary.component.ts b/ui/src/app/connect/static-properties/static-mapping-nary/static-mapping-nary.component.ts
index 6817b43..0329f43 100644
--- a/ui/src/app/connect/static-properties/static-mapping-nary/static-mapping-nary.component.ts
+++ b/ui/src/app/connect/static-properties/static-mapping-nary/static-mapping-nary.component.ts
@@ -40,7 +40,7 @@ export class StaticMappingNaryComponent extends StaticMappingComponent implement
 
     private inputValue: String;
     private hasInput: Boolean;
-    private availableProperties: Array<EventProperty>;
+    availableProperties: Array<EventProperty>;
 
     constructor(staticPropertyUtil: StaticPropertyUtilService,
                 PropertySelectorService: PropertySelectorService){
@@ -53,8 +53,6 @@ export class StaticMappingNaryComponent extends StaticMappingComponent implement
         if (!this.staticProperty.selectedProperties) {
             this.staticProperty.selectedProperties = [];
         }
-        console.log(this.eventSchema);
-        console.log(this.staticProperty);
     }
 
     selectOption(property: EventProperty, $event) {
diff --git a/ui/src/app/connect/static-properties/static-mapping-unary/static-mapping-unary.component.ts b/ui/src/app/connect/static-properties/static-mapping-unary/static-mapping-unary.component.ts
index 6b10140..7704ed0 100644
--- a/ui/src/app/connect/static-properties/static-mapping-unary/static-mapping-unary.component.ts
+++ b/ui/src/app/connect/static-properties/static-mapping-unary/static-mapping-unary.component.ts
@@ -39,11 +39,11 @@ export class StaticMappingUnaryComponent extends StaticMappingComponent implemen
     @Input() staticProperty: MappingPropertyUnary;
     @Input() eventSchema: EventSchema;
 
-    private unaryTextForm: FormGroup;
+    unaryTextForm: FormGroup;
     private inputValue: String;
     private hasInput: Boolean;
     private errorMessage = "Please enter a value";
-    private availableProperties: Array<EventProperty>;
+    availableProperties: Array<EventProperty>;
 
     constructor(staticPropertyUtil: StaticPropertyUtilService,
                 PropertySelectorService: PropertySelectorService){
diff --git a/ui/src/app/connect/static-properties/static-number-input/static-number-input.component.ts b/ui/src/app/connect/static-properties/static-number-input/static-number-input.component.ts
index f7002d7..04bd6d4 100644
--- a/ui/src/app/connect/static-properties/static-number-input/static-number-input.component.ts
+++ b/ui/src/app/connect/static-properties/static-number-input/static-number-input.component.ts
@@ -40,13 +40,13 @@ export class StaticNumberInputComponent implements OnInit {
 
 
 
-    private freeTextForm: FormGroup;
-    private inputValue: String;
-    private errorMessage = "Please enter a valid Number";
-    private hasInput: Boolean;
+    freeTextForm: FormGroup;
+    inputValue: String;
+    errorMessage = "Please enter a valid Number";
+    hasInput: Boolean;
 
 
-    constructor(private staticPropertyUtil: StaticPropertyUtilService){
+    constructor(public staticPropertyUtil: StaticPropertyUtilService){
 
     }
 
diff --git a/ui/src/app/connect/static-properties/static-property.component.ts b/ui/src/app/connect/static-properties/static-property.component.ts
index a8e9bd8..6839536 100644
--- a/ui/src/app/connect/static-properties/static-property.component.ts
+++ b/ui/src/app/connect/static-properties/static-property.component.ts
@@ -71,8 +71,8 @@ export class StaticPropertyComponent implements OnInit {
 
   constructor(
     private logger: Logger,
-    private xsService: xsService,
-    private staticPropertyUtil: StaticPropertyUtilService
+    public xsService: xsService,
+    public staticPropertyUtil: StaticPropertyUtilService
   ) {
     logger.log(this.staticProperty);
   }
diff --git a/ui/src/app/connect/static-properties/static-secret-input/static-secret-input.component.ts b/ui/src/app/connect/static-properties/static-secret-input/static-secret-input.component.ts
index b405916..dcaa31c 100644
--- a/ui/src/app/connect/static-properties/static-secret-input/static-secret-input.component.ts
+++ b/ui/src/app/connect/static-properties/static-secret-input/static-secret-input.component.ts
@@ -30,7 +30,7 @@ import {ConfigurationInfo} from "../../model/message/ConfigurationInfo";
 })
 export class StaticSecretInputComponent implements OnInit {
 
-    constructor(private staticPropertyUtil: StaticPropertyUtilService){
+    constructor(public staticPropertyUtil: StaticPropertyUtilService){
 
     }
 
@@ -39,9 +39,9 @@ export class StaticSecretInputComponent implements OnInit {
     @Input() staticProperty: StaticProperty;
     @Output() inputEmitter: EventEmitter<any> = new EventEmitter<any>();
 
-    private inputValue: String;
-    private hasInput: Boolean;
-    private secretForm: FormGroup;
+    inputValue: String;
+    hasInput: Boolean;
+    secretForm: FormGroup;
     private errorMessage = "Please enter a valid Text";
 
     ngOnInit() {
diff --git a/ui/src/app/connect/static-properties/static-text-input/static-text-input.component.ts b/ui/src/app/connect/static-properties/static-text-input/static-text-input.component.ts
index 7b44cba..4bc4770 100644
--- a/ui/src/app/connect/static-properties/static-text-input/static-text-input.component.ts
+++ b/ui/src/app/connect/static-properties/static-text-input/static-text-input.component.ts
@@ -30,7 +30,7 @@ import {ConfigurationInfo} from "../../model/message/ConfigurationInfo";
 })
 export class StaticTextInputComponent implements OnInit {
 
-    constructor(private staticPropertyUtil: StaticPropertyUtilService){
+    constructor(public staticPropertyUtil: StaticPropertyUtilService){
 
     }
 
@@ -39,10 +39,11 @@ export class StaticTextInputComponent implements OnInit {
     @Input() staticProperty: StaticProperty;
     @Output() inputEmitter: EventEmitter<any> = new EventEmitter<any>();
 
-    private freeTextForm: FormGroup;
-    private inputValue: String;
-    private hasInput: Boolean;
-    private errorMessage = "Please enter a valid Text";
+    freeTextForm: FormGroup;
+    inputValue: String;
+    hasInput: Boolean;
+    errorMessage = "Please enter a valid Text";
+
     ngOnInit() {
         this.freeTextForm = new FormGroup({
             'freeStaticTextString': new FormControl(this.inputValue, [
diff --git a/ui/src/app/connect/static-properties/static-url-input/static-url-input.component.ts b/ui/src/app/connect/static-properties/static-url-input/static-url-input.component.ts
index f4aa529..6ae4ae6 100644
--- a/ui/src/app/connect/static-properties/static-url-input/static-url-input.component.ts
+++ b/ui/src/app/connect/static-properties/static-url-input/static-url-input.component.ts
@@ -33,16 +33,17 @@ import {StaticPropertyUtilService} from '../static-property-util.service';
     styleUrls: ['./static-url-input.component.css']
 })
 export class StaticUrlInputComponent implements OnInit {
-    constructor(private staticPropertyUtil: StaticPropertyUtilService){
+
+    constructor(public staticPropertyUtil: StaticPropertyUtilService){
 
     }
 
     @Input() staticProperty: StaticProperty;
     @Output() inputEmitter: EventEmitter<Boolean> = new EventEmitter<Boolean>();
     
-    private freeTextForm: FormGroup;
+    freeTextForm: FormGroup;
     private inputValue: String;
-    private hasInput: Boolean;
+    hasInput: Boolean;
     private errorMessage = "Please enter a valid Url";
     ngOnInit() {
         this.freeTextForm = new FormGroup({
diff --git a/ui/src/app/data-explorer/explorer/explorer.component.html b/ui/src/app/data-explorer/explorer/explorer.component.html
index be20403..fef5927 100644
--- a/ui/src/app/data-explorer/explorer/explorer.component.html
+++ b/ui/src/app/data-explorer/explorer/explorer.component.html
@@ -31,7 +31,7 @@
                     </mat-autocomplete>
                 </mat-form-field>
             </div>
-            <div fxLayout="column" style="margin-top: 10px; margin-left: 5px" *ngIf="selectedInfoResult !== Undefined">
+            <div fxLayout="column" style="margin-top: 10px; margin-left: 5px" *ngIf="selectedInfoResult !== undefined">
                 <div fxLayout="row" fxLayoutAlign="start stretch">
                     <mat-form-field style="margin-right: 1px;top: -3px;height: 1px; width: 100px" appearance="outline"
                         *ngIf="dimensionProperties.length > 0">