Skip to content

Commit

Permalink
default the service impl type to REST
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittmann committed Nov 2, 2015
1 parent 0eceed9 commit d8e99cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Expand Up @@ -59,7 +59,7 @@
</select>
</div>

<div class="">
<div class="" style="margin-top:10px;">
<span class="clearfix"
apiman-i18n-key="api-security-label">API Security:</span>
<select apiman-select-picker=""
Expand All @@ -75,15 +75,15 @@
</select>
</div>

<div class=""
<div class="" style="margin-top:10px;"
ng-show="apiSecurity.type == 'mtls'">
<div class="alert alert-info">
<span class="pficon pficon-info"></span>
<span apiman-i18n-key="service-impl.mtsl-info">When using MTLS/Two-Way-SSL you must configure the relevant settings globally in the apiman.properties file. Please refer to the apiman Installation Guide for details.</span>
</div>
</div>

<div class="panel panel-default"
<div class="panel panel-default" style="margin-top:10px;"
ng-show="apiSecurity.type == 'basic'">
<div class="panel-body">
<table width="100%"
Expand Down
Expand Up @@ -144,6 +144,9 @@ module Apiman {
});

$scope.reset = function() {
if (!$scope.version.endpointType) {
$scope.version.endpointType = 'rest';
}
$scope.apiSecurity = toApiSecurity($scope.version);
$scope.updatedService.endpoint = $scope.version.endpoint;
$scope.updatedService.endpointType = $scope.version.endpointType;
Expand Down

0 comments on commit d8e99cf

Please sign in to comment.