mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Change the entity name from [Interpreter Group].[Interpreter Name] to [Interpreter Name]
This commit is contained in:
parent
f188b40d5b
commit
16f70e8a4f
6 changed files with 5 additions and 6 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 155 KiB |
|
|
@ -37,8 +37,7 @@ You can add new credentials in the dropdown menu for your data source which can
|
|||
|
||||
<img class="img-responsive" src="{{BASE_PATH}}/assets/themes/zeppelin/img/docs-img/credential_tab.png" width="180px"/>
|
||||
|
||||
**Entity** can be the key that distinguishes each credential sets.(We suggest that the convention of the **Entity** is `[Interpreter Group].[Interpreter Name]`.)
|
||||
Please see [what is interpreter group](../../usage/interpreter/overview.html#what-is-interpreter-group) for the detailed information.
|
||||
**Entity** can be the key that distinguishes each credential sets.(We suggest that the convention of the **Entity** is `Interpreter Name`.)
|
||||
|
||||
Type **Username & Password** for your own credentials. ex) Mysql user & password of the JDBC Interpreter.
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
(input)="onEntityInput($event)"
|
||||
formControlName="entity"
|
||||
nz-input
|
||||
placeholder="[Group].[Name]"/>
|
||||
placeholder="Interpreter Name"/>
|
||||
<nz-autocomplete nzBackfill #auto>
|
||||
<nz-auto-option *ngFor="let option of interpreterFilteredNames" [nzValue]="option">
|
||||
{{ option }}
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ export class CredentialComponent implements OnInit {
|
|||
|
||||
getInterpreterNames() {
|
||||
this.interpreterService.getInterpretersSetting().subscribe(data => {
|
||||
this.interpreterNames = data.map(e => `${e.group}.${e.name}`);
|
||||
this.interpreterNames = data.map(e => `${e.name}`);
|
||||
this.interpreterFilteredNames = this.interpreterNames.slice(0, 10);
|
||||
this.cdr.markForCheck();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ function CredentialController($scope, $rootScope, $http, baseUrlSrv, ngToast) {
|
|||
.success(function(data, status, headers, config) {
|
||||
for (let setting = 0; setting < data.body.length; setting++) {
|
||||
$scope.availableInterpreters.push(
|
||||
data.body[setting].group + '.' + data.body[setting].name);
|
||||
data.body[setting].name);
|
||||
}
|
||||
angular.element('#entityname').autocomplete({
|
||||
source: $scope.availableInterpreters,
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ limitations under the License.
|
|||
</thead>
|
||||
<tr>
|
||||
<td>
|
||||
<input id="entityname" ng-model="entity" placeholder="[Interpreter Group].[Interpreter Name]"/>
|
||||
<input id="entityname" ng-model="entity" placeholder="Interpreter Name"/>
|
||||
</td>
|
||||
<td>
|
||||
<textarea msd-elastic ng-model="username"></textarea>
|
||||
|
|
|
|||
Loading…
Reference in a new issue