Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
b1099dff
Commit
b1099dff
authored
Jun 12, 2015
by
DarshanKumar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
API Changes
API changes
parent
ee3af4a5
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
26 deletions
+9
-26
gruntfile.js
dashboard/v2/gruntfile.js
+1
-1
detailsResource.js
dashboard/v2/public/modules/details/detailsResource.js
+1
-19
lineageController.js
dashboard/v2/public/modules/lineage/lineageController.js
+2
-2
lineageResource.js
dashboard/v2/public/modules/lineage/lineageResource.js
+1
-1
navigationResource.js
dashboard/v2/public/modules/navigation/navigationResource.js
+1
-1
searchController.js
dashboard/v2/public/modules/search/searchController.js
+1
-1
searchResource.js
dashboard/v2/public/modules/search/searchResource.js
+1
-1
server.js
dashboard/v2/server.js
+1
-0
No files found.
dashboard/v2/gruntfile.js
View file @
b1099dff
...
@@ -152,7 +152,7 @@ module.exports = function(grunt) {
...
@@ -152,7 +152,7 @@ module.exports = function(grunt) {
'hostnames'
:
[
'*'
],
'hostnames'
:
[
'*'
],
'routes'
:
{
'routes'
:
{
'/'
:
'dist'
,
'/'
:
'dist'
,
'/api'
:
'http://162.249.6.
39
:21000/api'
'/api'
:
'http://162.249.6.
50
:21000/api'
}
}
}]
}]
}
}
...
...
dashboard/v2/public/modules/details/detailsResource.js
View file @
b1099dff
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
'use strict'
;
'use strict'
;
angular
.
module
(
'dgc.details'
).
factory
(
'DetailsResource'
,
[
'$resource'
,
function
(
$resource
)
{
angular
.
module
(
'dgc.details'
).
factory
(
'DetailsResource'
,
[
'$resource'
,
function
(
$resource
)
{
return
$resource
(
'/api/
metadata
/entities/:id'
,
{},
{
return
$resource
(
'/api/
atlas
/entities/:id'
,
{},
{
get
:
{
get
:
{
method
:
'GET'
,
method
:
'GET'
,
transformResponse
:
function
(
data
)
{
transformResponse
:
function
(
data
)
{
...
@@ -31,22 +31,4 @@ angular.module('dgc.details').factory('DetailsResource', ['$resource', function(
...
@@ -31,22 +31,4 @@ angular.module('dgc.details').factory('DetailsResource', ['$resource', function(
}
}
});
});
//$scope.getSchema= function (tableName) {
//
// $http.get('/api/metadata/lineage/hive/table/'+tableName +'/schema')
// .success(function (data) {
// $scope.iserror1=false;
// $scope.schema= angular.fromJson(data.results.rows);
// // console.log(tableName);
//
//
// })
// .error(function () {
// // alert("Sorry No response");
//
//
//
// });
//}
}]);
}]);
dashboard/v2/public/modules/lineage/lineageController.js
View file @
b1099dff
...
@@ -110,9 +110,9 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco
...
@@ -110,9 +110,9 @@ angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco
var
margin
=
{
var
margin
=
{
top
:
100
,
top
:
100
,
right
:
7
0
,
right
:
8
0
,
bottom
:
30
,
bottom
:
30
,
left
:
7
0
left
:
8
0
};
};
width
=
width
-
margin
.
right
-
margin
.
left
;
width
=
width
-
margin
.
right
-
margin
.
left
;
height
=
height
-
margin
.
top
-
margin
.
bottom
;
height
=
height
-
margin
.
top
-
margin
.
bottom
;
...
...
dashboard/v2/public/modules/lineage/lineageResource.js
View file @
b1099dff
...
@@ -19,5 +19,5 @@
...
@@ -19,5 +19,5 @@
'use strict'
;
'use strict'
;
angular
.
module
(
'dgc.lineage'
).
factory
(
'LineageResource'
,
[
'$resource'
,
function
(
$resource
)
{
angular
.
module
(
'dgc.lineage'
).
factory
(
'LineageResource'
,
[
'$resource'
,
function
(
$resource
)
{
return
$resource
(
'/api/
metadata
/lineage/hive/table/:tableName/:type/graph'
,
{});
return
$resource
(
'/api/
atlas
/lineage/hive/table/:tableName/:type/graph'
,
{});
}]);
}]);
dashboard/v2/public/modules/navigation/navigationResource.js
View file @
b1099dff
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
'use strict'
;
'use strict'
;
angular
.
module
(
'dgc.navigation'
).
factory
(
'NavigationResource'
,
[
'$resource'
,
function
(
$resource
)
{
angular
.
module
(
'dgc.navigation'
).
factory
(
'NavigationResource'
,
[
'$resource'
,
function
(
$resource
)
{
return
$resource
(
'api/
metadata
/types?type=TRAIT'
,
{},
{
return
$resource
(
'api/
atlas
/types?type=TRAIT'
,
{},
{
get
:
{
get
:
{
'method'
:
'GET'
,
'method'
:
'GET'
,
'responseType'
:
'json'
,
'responseType'
:
'json'
,
...
...
dashboard/v2/public/modules/search/searchController.js
View file @
b1099dff
...
@@ -67,7 +67,7 @@ angular.module('dgc.search').controller('SearchController', ['$scope', '$locatio
...
@@ -67,7 +67,7 @@ angular.module('dgc.search').controller('SearchController', ['$scope', '$locatio
$scope
.
$watch
(
'currentPage + itemsPerPage'
,
function
()
{
$scope
.
$watch
(
'currentPage + itemsPerPage'
,
function
()
{
var
begin
=
((
$scope
.
currentPage
-
1
)
*
$scope
.
itemsPerPage
),
var
begin
=
((
$scope
.
currentPage
-
1
)
*
$scope
.
itemsPerPage
),
end
=
begin
+
$scope
.
itemsPerPage
;
end
=
begin
+
$scope
.
itemsPerPage
;
if
(
$scope
.
transformedResults
)
$scope
.
filteredResults
=
$scope
.
transformedResults
.
slice
(
begin
,
end
);
if
(
$scope
.
transformedResults
)
$scope
.
filteredResults
=
$scope
.
transformedResults
.
slice
(
begin
,
end
);
$scope
.
pageCount
=
function
()
{
$scope
.
pageCount
=
function
()
{
return
Math
.
ceil
(
$scope
.
resultCount
/
$scope
.
itemsPerPage
);
return
Math
.
ceil
(
$scope
.
resultCount
/
$scope
.
itemsPerPage
);
};
};
...
...
dashboard/v2/public/modules/search/searchResource.js
View file @
b1099dff
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
'use strict'
;
'use strict'
;
angular
.
module
(
'dgc.search'
).
factory
(
'SearchResource'
,
[
'$resource'
,
function
(
$resource
)
{
angular
.
module
(
'dgc.search'
).
factory
(
'SearchResource'
,
[
'$resource'
,
function
(
$resource
)
{
return
$resource
(
'/api/
metadata
/discovery/search/'
,
{},
{
return
$resource
(
'/api/
atlas
/discovery/search/'
,
{},
{
search
:
{
search
:
{
'method'
:
'GET'
,
'method'
:
'GET'
,
'responseType'
:
'json'
,
'responseType'
:
'json'
,
...
...
dashboard/v2/server.js
View file @
b1099dff
#!/usr/bin/env node
#!/usr/bin/env node
/*
/*
* Licensed to the Apache Software Foundation (ASF) under one
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* or more contributor license agreements. See the NOTICE file
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment