[ https://issues.apache.org/jira/browse/NIFIREG-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16154302#comment-16154302
]
ASF GitHub Bot commented on NIFIREG-13:
---------------------------------------
Github user scottyaslan commented on a diff in the pull request:
https://github.com/apache/nifi-registry/pull/8#discussion_r137112635
--- Diff: nifi-registry-web-ui/src/main/webapp/nf-registry.routes.js ---
@@ -0,0 +1,104 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+var ngRouter = require('@angular/router');
+var FdsDemo = require('nifi-registry/components/fluid-design-system/fds-demo.js');
+var NfPageNotFoundComponent = require('nifi-registry/components/page-not-found/nf-registry-page-not-found.js');
+var NfRegistryExplorer = require('nifi-registry/components/explorer/nf-registry-explorer.js');
+var NfRegistryExplorerGridListViewer = require('nifi-registry/components/explorer/grid-list/nf-registry-explorer-grid-list-viewer.js');
+var NfRegistryAdministration = require('nifi-registry/components/administration/nf-registry-administration.js');
+var NfRegistryGeneralAdministration = require('nifi-registry/components/administration/general/nf-registry-general-administration.js');
+var NfRegistryUsersAdministration = require('nifi-registry/components/administration/users/nf-registry-users-administration.js');
+var NfRegistryAddUser = require('nifi-registry/components/administration/users/add/nf-registry-add-user.js');
+var NfRegistryUserDetails = require('nifi-registry/components/administration/users/details/nf-registry-user-details.js');
+var NfRegistryUserPermissions = require('nifi-registry/components/administration/users/permissions/nf-registry-user-permissions.js');
+var NfRegistryBucketPermissions = require('nifi-registry/components/administration/workflow/buckets/permissions/nf-registry-bucket-permissions.js');
+var NfRegistryWorkflowAdministration = require('nifi-registry/components/administration/workflow/nf-registry-workflow-administration.js');
+var NfRegistryGridListViewer = require('nifi-registry/components/explorer/grid-list/registry/nf-registry-grid-list-viewer.js');
+var NfRegistryBucketGridListViewer = require('nifi-registry/components/explorer/grid-list/registry/bucket/nf-registry-bucket-grid-list-viewer.js');
+var NfRegistryDropletGridListViewer = require('nifi-registry/components/explorer/grid-list/registry/bucket/droplet/nf-registry-droplet-grid-list-viewer.js');
+
+var NfRegistryRoutes = new ngRouter.RouterModule.forRoot([{
+ path: 'nifi-registry/explorer',
+ component: NfRegistryExplorer,
+ children: [{
+ path: 'grid-list',
+ component: NfRegistryExplorerGridListViewer,
+ children: [{
+ path: ':registryId',
+ component: NfRegistryGridListViewer,
+ children: [{
+ path: ':bucketId',
+ component: NfRegistryBucketGridListViewer,
+ children: [{
+ path: ':dropletId',
+ component: NfRegistryDropletGridListViewer
+ }]
+ }]
+ }]
+ }]
+ // canActivate: [AuthGuard] //TODO: https://angular.io/api/router/CanActivate https://scotch.io/tutorials/routing-angular-2-single-page-apps-with-the-component-router
+}, {
+ path: 'nifi-registry/fluid-design-system',
--- End diff --
https://issues.apache.org/jira/projects/NIFIREG/issues/NIFIREG-14?filter=allopenissues
> Initial implementation for registry UI
> --------------------------------------
>
> Key: NIFIREG-13
> URL: https://issues.apache.org/jira/browse/NIFIREG-13
> Project: NiFi Registry
> Issue Type: Sub-task
> Reporter: Scott Aslan
> Assignee: Scott Aslan
>
> This ticket is to implement a production ready build for an SPA that will eventually
call the REST layer to request data. The SPA will:
> # Provide reuseable UI/UX components in the form (Fluid Design System NgModule)
> # Provide deep linking capabilities
> # Provide internationalization capability
> # Provide karma/Jasmine unit test harness (unit tests will be disabled be default)
> # Provide Protractor e2e test harness
> # Be theme-able (leveraging SASS and compiled at build time)
> # Use mock data instead of making actual REST calls
> # Be a rough draft of the UI/UX mocks provided in the parent ticket for this sub task.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
|