View | Details | Raw Unified | Return to bug 37856
Collapse All | Expand All

(-)a/api/v1/swagger/definitions/erm_usage_data_provider.yaml (+5 lines)
Lines 73-78 properties: Link Here
73
    type: 
73
    type: 
74
    - string
74
    - string
75
    - "null"
75
    - "null"
76
  service_platform:
77
    description: service platform of the harvester
78
    type:
79
    - string
80
    - "null"
76
  metric_type:
81
  metric_type:
77
    description: metric type of the harvester when reporting
82
    description: metric type of the harvester when reporting
78
    type: 
83
    type: 
(-)a/installer/data/mysql/kohastructure.sql (+1 lines)
Lines 3215-3220 CREATE TABLE `erm_usage_data_providers` ( Link Here
3215
  `requestor_name` varchar(80) DEFAULT NULL COMMENT 'requestor name',
3215
  `requestor_name` varchar(80) DEFAULT NULL COMMENT 'requestor name',
3216
  `requestor_email` varchar(80) DEFAULT NULL COMMENT 'requestor email',
3216
  `requestor_email` varchar(80) DEFAULT NULL COMMENT 'requestor email',
3217
  `report_types` varchar(255) DEFAULT NULL COMMENT 'report types provided by the harvester',
3217
  `report_types` varchar(255) DEFAULT NULL COMMENT 'report types provided by the harvester',
3218
  `service_platform` varchar(80) DEFAULT NULL COMMENT 'platform if provider requires it',
3218
  PRIMARY KEY (`erm_usage_data_provider_id`)
3219
  PRIMARY KEY (`erm_usage_data_provider_id`)
3219
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
3220
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
3220
/*!40101 SET character_set_client = @saved_cs_client */;
3221
/*!40101 SET character_set_client = @saved_cs_client */;
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProviderDetails.vue (+6 lines)
Lines 32-37 Link Here
32
                    {{ usage_data_provider.report_types }}
32
                    {{ usage_data_provider.report_types }}
33
                </span>
33
                </span>
34
            </li>
34
            </li>
35
            <li>
36
                <label>{{ $__("Service platform") }}:</label>
37
                <span id="service_platform">
38
                    {{ usage_data_provider.service_platform }}
39
                </span>
40
            </li>
35
        </ol>
41
        </ol>
36
    </fieldset>
42
    </fieldset>
37
    <legend>{{ $__("SUSHI credentials") }}</legend>
43
    <legend>{{ $__("SUSHI credentials") }}</legend>
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/UsageStatisticsDataProvidersFormAdd.vue (-1 / +9 lines)
Lines 118-123 Link Here
118
                                :disabled="!selected_provider && !manual_form"
118
                                :disabled="!selected_provider && !manual_form"
119
                            />
119
                            />
120
                        </li>
120
                        </li>
121
                        <li>
122
                            <label for="usage_data_provider_service_platform"
123
                                >{{ $__("Service platform") }}:
124
                            </label>
125
                            <input
126
                                id="usage_data_provider_service_platform"
127
                                v-model="usage_data_provider.service_platform"
128
                            />
129
                        </li>
121
                        <li>
130
                        <li>
122
                            <label
131
                            <label
123
                                class="required"
132
                                class="required"
124
- 

Return to bug 37856