4 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/gateway-version.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | export class GatewayVersion {
18 | version: string;
19 | hash: string;
20 | }
21 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/index.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | export * from './app.component';
18 | export * from './app.module';
19 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/main.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
18 |
19 | import {AppModule} from './app.module';
20 |
21 | platformBrowserDynamic().bootstrapModule(AppModule);
22 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/new-desc-wizard/new-desc-wizard.component.css:
--------------------------------------------------------------------------------
1 | td {
2 | border-collapse: collapse;
3 | padding: 8px;
4 | vertical-align: top;
5 | }
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/provider-config-selector/provider-config-selector.component.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-admin-ui/admin-ui/app/provider-config-selector/provider-config-selector.component.css
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/provider-config-wizard/provider-config-wizard.component.css:
--------------------------------------------------------------------------------
1 | td {
2 | border-collapse: collapse;
3 | padding: 8px;
4 | vertical-align: top;
5 | }
6 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/resource-detail/provider-config.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | export class ProviderConfig {
19 | name: string;
20 | role: string;
21 | enabled: string;
22 | params: Map;
23 | }
24 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/resource/resource.component.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-admin-ui/admin-ui/app/resource/resource.component.css
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/resource/service.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | export class Service {
19 | name: string;
20 | version: string;
21 | params: Object;
22 | urls: string[];
23 | }
24 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/resourcetypes/resourcetypes.component.css:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-admin-ui/admin-ui/app/resourcetypes/resourcetypes.component.css
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/resourcetypes/resourcetypes.component.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
Resource Types
6 |
7 |
8 |
9 |
14 |
{{type}}
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/service-definition/new-service-definition.component.css:
--------------------------------------------------------------------------------
1 | td {
2 | border-collapse: collapse;
3 | padding: 8px;
4 | vertical-align: top;
5 | }
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/service-definition/rewrite.rule.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | export class RewriteRule {
19 | dir: string;
20 | name: string;
21 | pattern: string;
22 | }
23 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/service-definition/rewrite.rules.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | import {RewriteRule} from './rewrite.rule';
18 |
19 | export class RewriteRules {
20 | rules: RewriteRule[];
21 | }
22 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/service-definition/service.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | export class Service {
19 | name: string;
20 | role: string;
21 | version: string;
22 | }
23 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/app/topology.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | export class Topology {
18 | timestamp: number;
19 | name: string;
20 | uri: string;
21 | href: string;
22 | content: string;
23 | }
24 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/assets/.gitkeep:
--------------------------------------------------------------------------------
1 | ##########################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ##########################################################################
18 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/assets/knox-logo-transparent.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-admin-ui/admin-ui/assets/knox-logo-transparent.gif
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/assets/new-service-definition-template.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/assets/sticky-footer.css:
--------------------------------------------------------------------------------
1 | /* Sticky footer styles
2 | -------------------------------------------------- */
3 | html {
4 | position: relative;
5 | min-height: 100%;
6 | }
7 |
8 | body {
9 | /* Margin bottom by footer height */
10 | margin-bottom: 60px;
11 | }
12 |
13 | .footer {
14 | position: absolute;
15 | bottom: 0;
16 | width: 100%;
17 | /* Set the fixed height of the footer here */
18 | height: 60px;
19 | background-color: #f5f5f5;
20 | }
21 |
22 | .jumbotron {
23 | padding: 0.5em 0.6em;
24 | }
25 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | export const environment = {
18 | production: true
19 | };
20 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-admin-ui/admin-ui/favicon.ico
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/styles.css:
--------------------------------------------------------------------------------
1 | /* You can add global styles to this file, and also import other style files */
2 |
3 | .navbar-static-top {
4 | min-height: 110px;
5 | }
6 |
7 | .clickable {
8 | cursor: pointer;
9 | }
10 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "baseUrl": "admin-ui",
4 | "declaration": false,
5 | "emitDecoratorMetadata": true,
6 | "experimentalDecorators": true,
7 | "lib": [
8 | "es2017",
9 | "dom"
10 | ],
11 | "mapRoot": "./",
12 | "module": "es6",
13 | "moduleResolution": "node",
14 | "outDir": "../dist/out-tsc",
15 | "sourceMap": true,
16 | "target": "es5",
17 | "typeRoots": [
18 | "../node_modules/@types"
19 | ]
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/gateway-admin-ui/admin-ui/typings.d.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | // Typings reference file, you can add your own global typings here
18 | // https://www.typescriptlang.org/docs/handbook/writing-declaration-files.html
19 |
--------------------------------------------------------------------------------
/gateway-admin-ui/npm:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | #
3 | # Licensed to the Apache Software Foundation (ASF) under one or more
4 | # contributor license agreements. See the NOTICE file distributed with
5 | # this work for additional information regarding copyright ownership.
6 | # The ASF licenses this file to You under the Apache License, Version 2.0
7 | # (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
19 | PATH="$DIR/target/node/":$PATH
20 | node "$DIR/target/node/node_modules/npm/bin/npm-cli.js" --prefix "$DIR" "$@"
21 |
--------------------------------------------------------------------------------
/gateway-admin-ui/proxy.conf.json:
--------------------------------------------------------------------------------
1 | {
2 | "/gateway/manager/api": {
3 | "target": "http://localhost:8443",
4 | "secure": false,
5 | "logLevel": "debug",
6 | "changeOrigin": true,
7 | "pathRewrite": {
8 | "^/gateway/manager": "/gateway/admin"
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/README:
--------------------------------------------------------------------------------
1 | THIS DIRECTORY CAN CONTAIN APPLICATIONS THAT CAN BE REFERENCED FROM TOPOLOGIES.
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/FontAwesome.otf
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontawesome/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-300.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-300.woff
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-300i.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-300i.woff
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-400.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-400.woff
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-400i.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-400i.woff
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-600.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-600.woff
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-600i.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-600i.woff
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-700.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-700.woff
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-700i.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/fonts/fontopensans/open-sans-700i.woff
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/images/avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/images/avatar.png
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/images/blank.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/images/blank.gif
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/images/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/images/favicon.ico
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/images/knox-logo-white-bg.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/images/knox-logo-white-bg.gif
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/images/knox-logo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/images/knox-logo.gif
--------------------------------------------------------------------------------
/gateway-applications/src/main/resources/applications/knoxauth/app/images/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-applications/src/main/resources/applications/knoxauth/app/images/loading.gif
--------------------------------------------------------------------------------
/gateway-docker/src/main/resources/docker/ldap-entrypoint.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 |
3 | # Licensed to the Apache Software Foundation (ASF) under one or more
4 | # contributor license agreements. See the NOTICE file distributed with
5 | # this work for additional information regarding copyright ownership.
6 | # The ASF licenses this file to you under the Apache License, Version 2.0
7 | # (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | set -e
19 | set -o pipefail
20 |
21 | export LDAP_SERVER_RUN_IN_FOREGROUND=true
22 |
23 | ./bin/ldap.sh start
24 |
25 |
--------------------------------------------------------------------------------
/gateway-i18n/src/main/java/org/apache/knox/gateway/i18n/messages/MessageLevel.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.knox.gateway.i18n.messages;
19 |
20 | public enum MessageLevel {
21 | FATAL, ERROR, WARN, INFO, DEBUG, TRACE
22 | }
23 |
--------------------------------------------------------------------------------
/gateway-i18n/src/test/resources/META-INF/services/org.apache.knox.gateway.i18n.messages.MessageLoggerFactory:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | org.apache.knox.gateway.i18n.messages.loggers.test.TestMessageLoggerFactory
--------------------------------------------------------------------------------
/gateway-i18n/src/test/resources/org/apache/knox/gateway/i18n/resources/ResourcesLocaleSubject.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one or more
2 | # contributor license agreements. See the NOTICE file distributed with
3 | # this work for additional information regarding copyright ownership.
4 | # The ASF licenses this file to You under the Apache License, Version 2.0
5 | # (the "License"); you may not use this file except in compliance with
6 | # the License. You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 |
--------------------------------------------------------------------------------
/gateway-openapi-ui/src/main/resources/swagger/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-openapi-ui/src/main/resources/swagger/favicon-16x16.png
--------------------------------------------------------------------------------
/gateway-openapi-ui/src/main/resources/swagger/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-openapi-ui/src/main/resources/swagger/favicon-32x32.png
--------------------------------------------------------------------------------
/gateway-provider-rewrite-func-hostmap-static/src/test/resources/org/apache/knox/gateway/hostmap/impl/HostmapFunctionProcessorTest/empty-hostmap.txt:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
--------------------------------------------------------------------------------
/gateway-provider-rewrite-func-hostmap-static/src/test/resources/org/apache/knox/gateway/hostmap/impl/HostmapFunctionProcessorTest/hdfs-hostmap.txt:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | test-external-host=test-inbound-internal-host
--------------------------------------------------------------------------------
/gateway-provider-rewrite-func-hostmap-static/src/test/resources/org/apache/knox/gateway/hostmap/impl/HostmapFunctionProcessorTest/hostmap.txt:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | test-inbound-host=test-inbound-rewritten-host
--------------------------------------------------------------------------------
/gateway-provider-rewrite-func-service-registry/src/test/resources/org/apache/knox/gateway/svcregfunc/impl/ServiceRegistryFunctionsTest/test-expect-body.json:
--------------------------------------------------------------------------------
1 | {
2 | "nameNode":"hdfs://test-nn-host:411",
3 | "jobTracker":"test-jt-host:511",
4 | "oozie.wf.application.path":"hdfs://test-nn-host:411/tmp/test",
5 | "serviceUrl":"test-nn-scheme://test-nn-host:411",
6 | "serviceAddr":"test-nn-host:411",
7 | "serviceScheme":"test-nn-scheme",
8 | "serviceHost":"test-nn-host",
9 | "servicePort":"411",
10 | "servicePath":"/"
11 | }
12 |
--------------------------------------------------------------------------------
/gateway-provider-rewrite-func-service-registry/src/test/resources/org/apache/knox/gateway/svcregfunc/impl/ServiceRegistryFunctionsTest/test-input-body.json:
--------------------------------------------------------------------------------
1 | {
2 | "nameNode":"default",
3 | "jobTracker":"default",
4 | "oozie.wf.application.path":"/tmp/test",
5 | "serviceUrl":"",
6 | "serviceAddr":"",
7 | "serviceScheme":"",
8 | "serviceHost":"",
9 | "servicePort":"",
10 | "servicePath":""
11 | }
12 |
--------------------------------------------------------------------------------
/gateway-provider-rewrite/src/test/resources/KNOX-1412.xml.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-provider-rewrite/src/test/resources/KNOX-1412.xml.gz
--------------------------------------------------------------------------------
/gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteRulesDescriptorFactoryTest/empty.xml:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteRulesDescriptorFactoryTest/invalid.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
--------------------------------------------------------------------------------
/gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteRulesDescriptorFactoryTest/noop.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
--------------------------------------------------------------------------------
/gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteRulesDescriptorFactoryTest/simple.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
--------------------------------------------------------------------------------
/gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/api/UrlRewriteServletContextListenerTest/rewrite.xml:
--------------------------------------------------------------------------------
1 |
17 |
18 |
--------------------------------------------------------------------------------
/gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/FrontendFunctionProcessorTest/test-input-body.json:
--------------------------------------------------------------------------------
1 | {
2 | "url":"test-input-url",
3 | "scheme":"test-input-scheme",
4 | "host":"test-input-host",
5 | "port":"test-input-port",
6 | "addr":"test-input-addr",
7 | "address":"test-input-address",
8 | "path":"test-input-path",
9 | "topology":"test-input-topology"
10 | }
11 |
--------------------------------------------------------------------------------
/gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/json/JsonFilterReaderTest/array.json:
--------------------------------------------------------------------------------
1 | [
2 | { "obj1-fld1" : "obj1-val1" },
3 | { "obj2-fld1" : "obj2-val1" }
4 | ]
--------------------------------------------------------------------------------
/gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/json/JsonFilterReaderTest/complex.json:
--------------------------------------------------------------------------------
1 | {
2 | "test-str": "text",
3 | "test-int": 42,
4 | "test-flt": 3.1415927,
5 | "test-bool": true,
6 | "test-null": null,
7 | "test-obj-empty": {},
8 | "test-ary-empty": [],
9 | "test-obj-simple": { "obj-inner-name" : "obj-inner-value" },
10 | "test-ary-simple": [ "ary-inner-value" ],
11 | "test-obj-nest": { "nested-name": { "obj-inner-name" : "obj-inner-value" } },
12 | "test-ary-nest": [["nested-value"]],
13 | "test-ary-obj": [ { "obj-inner-name": "obj-inner-value" } ],
14 | "test-ary-multi": [ "text", 3.14, { "obj-inner-name": "obj-inner-value" }, [ "arry-inner-value" ] ],
15 | "test-obj-multi": { "val":"text", "obj": { "obj-inner-name": "obj-inner-value" }, "ary": [ "arry-inner-value" ] }
16 | }
--------------------------------------------------------------------------------
/gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/json/JsonFilterReaderTest/dotted-field-name.json:
--------------------------------------------------------------------------------
1 | {
2 | "testField": "testField value",
3 | "test_field": "test_field value",
4 | "test-field": "test-field value",
5 | "test.field": "test.field value"
6 | }
--------------------------------------------------------------------------------
/gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/json/JsonFilterReaderTest/empty-array-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "empty-array" : []
3 | }
--------------------------------------------------------------------------------
/gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/json/JsonFilterReaderTest/empty-object-value.json:
--------------------------------------------------------------------------------
1 | {
2 | "empty-object" : {}
3 | }
--------------------------------------------------------------------------------
/gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/json/JsonFilterReaderTest/properties.json:
--------------------------------------------------------------------------------
1 | { "properties" :
2 | [
3 | { "property" :
4 | { "property-name" : "test-name-1",
5 | "property-value" : "test-value-1"
6 | }
7 | },
8 | { "property" :
9 | { "property-name" : "test-name-2",
10 | "property-value" : "test-value-2"
11 | }
12 | },
13 | { "property" :
14 | { "property-name" : "test-name-3",
15 | "property-value" : "test-value-3"
16 | }
17 | }
18 | ]
19 | }
--------------------------------------------------------------------------------
/gateway-provider-rewrite/src/test/resources/org/apache/knox/gateway/filter/rewrite/impl/json/JsonFilterReaderTest/simple-values.json:
--------------------------------------------------------------------------------
1 | {
2 | "test-str": "text",
3 | "test-int": 42,
4 | "test-flt": 3.1415927,
5 | "test-bool": true,
6 | "test-null": null
7 | }
--------------------------------------------------------------------------------
/gateway-release/home/conf/README:
--------------------------------------------------------------------------------
1 | THIS IS THE DIRECTORY WHERE YOU PLACE COPY OR SAVE THE gateway-site.xml and users.ldif FILE
--------------------------------------------------------------------------------
/gateway-release/home/conf/descriptors/README:
--------------------------------------------------------------------------------
1 | THIS DIRECTORY IS WHERE SIMPLE TOPOLOGY DESCRIPTORS CAN BE PLACED
--------------------------------------------------------------------------------
/gateway-release/home/conf/shared-providers/README:
--------------------------------------------------------------------------------
1 | THIS DIRECTORY IS WHERE SHARED PROVIDER CONFIGURATIONS CAN BE PLACED
--------------------------------------------------------------------------------
/gateway-release/home/conf/shared-providers/default-providers.json:
--------------------------------------------------------------------------------
1 | {
2 | "providers": [
3 | {
4 | "role": "authentication",
5 | "name": "ShiroProvider",
6 | "enabled": "true",
7 | "params": {
8 | "sessionTimeout": "20",
9 | "main.ldapRealm": "org.apache.knox.gateway.shirorealm.KnoxLdapRealm",
10 | "main.ldapContextFactory": "org.apache.knox.gateway.shirorealm.KnoxLdapContextFactory",
11 | "main.ldapRealm.contextFactory": "$ldapContextFactory",
12 | "main.ldapRealm.userDnTemplate": "uid={0},ou=people,dc=hadoop,dc=apache,dc=org",
13 | "main.ldapRealm.contextFactory.url": "ldap://localhost:33389",
14 | "main.ldapRealm.contextFactory.authenticationMechanism": "simple",
15 | "urls./**": "authcBasic"
16 | }
17 | }
18 | ]
19 | }
--------------------------------------------------------------------------------
/gateway-release/home/conf/topologies/README:
--------------------------------------------------------------------------------
1 | THIS IS THE DIRECTORY WHERE YOU COPY OR SAVE CLUSTER TOPOLOGY DEPLOYMENT DESCRIPTOR FILES
--------------------------------------------------------------------------------
/gateway-release/home/data/README:
--------------------------------------------------------------------------------
1 | THIS DIRECTORY IS POPULATED AUTOMATICALLY BY THE GATEWAY AT RUNTIME
--------------------------------------------------------------------------------
/gateway-release/home/data/applications/README:
--------------------------------------------------------------------------------
1 | THIS DIRECTORY CAN CONTAIN APPLICATIONS THAT CAN BE REFERENCED FROM TOPOLOGIES.
--------------------------------------------------------------------------------
/gateway-release/home/ext/README:
--------------------------------------------------------------------------------
1 | THIS DIRECTORY IS WHERE JARS AND CLASSES CONTAINING CUSTOM EXTENSIONS CAN BE PLACED
--------------------------------------------------------------------------------
/gateway-release/home/ext/native/README:
--------------------------------------------------------------------------------
1 | THIS DIRECTORY IS WHERE DYNAMIC LIBRARIES (e.g. *.so) CONTAINING CUSTOM EXTENSIONS CAN BE PLACED
2 |
--------------------------------------------------------------------------------
/gateway-release/home/lib/README:
--------------------------------------------------------------------------------
1 | THIS DIRECTORY IS RESERVED FOR USE BY FUTURE SYSTEM JARS AND CLASSES
--------------------------------------------------------------------------------
/gateway-server/src/main/resources/build.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 |
17 | build.version=${project.version}
18 | build.hash=${buildNumber}
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/client-keystore.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-server/src/test/resources/client-keystore.jks
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/client-truststore.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-server/src/test/resources/client-truststore.jks
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/conf-empty/conf/empty:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-server/src/test/resources/conf-empty/conf/empty
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/conf-full/conf/descriptors/test-topology.json:
--------------------------------------------------------------------------------
1 | {
2 | "provider-config-ref": "test-providers",
3 | "provision-encrypt-query-string-credential": "false",
4 | "services": [
5 | {
6 | "name": "KNOX"
7 | }
8 | ]
9 | }
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/keystores/server-keystore.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-server/src/test/resources/keystores/server-keystore.jks
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/keystores/server-truststore.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-server/src/test/resources/keystores/server-truststore.jks
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/keystores/testSigningKeyName.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-server/src/test/resources/keystores/testSigningKeyName.jks
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/org/apache/knox/gateway/topology/file/simple-descriptor-five.json:
--------------------------------------------------------------------------------
1 | {
2 | "discovery-type":"DUMMY",
3 | "discovery-address":"http://c6401.ambari.apache.org:8080",
4 | "provider-config-ref":"../shared-providers/ambari-cluster-policy.xml",
5 | "cluster":"dummy",
6 | "services":[
7 | {"name":"NAMENODE"},
8 | {"name":"JOBTRACKER"},
9 | {"name":"WEBHDFS"},
10 | {"name":"OOZIE"},
11 | {"name":"HIVE"},
12 | {"name":"RESOURCEMANAGER"}
13 | ]
14 | }
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/org/apache/knox/gateway/topology/file/simple-descriptor-six.json:
--------------------------------------------------------------------------------
1 | {
2 | "discovery-type":"DUMMY",
3 | "discovery-address":"http://c6401.ambari.apache.org:8080",
4 | "provider-config-ref":"../shared-providers/provider-config-one.xml",
5 | "cluster":"dummy",
6 | "services":[
7 | {"name":"NAMENODE"},
8 | {"name":"JOBTRACKER"},
9 | {"name":"WEBHDFS"},
10 | {"name":"WEBHCAT"},
11 | {"name":"OOZIE"},
12 | {"name":"WEBHBASE"},
13 | {"name":"HIVE"},
14 | {"name":"RESOURCEMANAGER"},
15 | {"name":"AMBARI", "urls":["http://c6401.ambari.apache.org:8080"]},
16 | {"name":"AMBARIUI", "urls":["http://c6401.ambari.apache.org:8080"]}
17 | ]
18 | }
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/org/apache/knox/gateway/topology/file/simple-topology-four.json:
--------------------------------------------------------------------------------
1 | {
2 | "discovery-type":"DUMMY",
3 | "discovery-address":"http://c6401.ambari.apache.org:8080",
4 | "provider-config-ref":"../shared-providers/ambari-cluster-policy.xml",
5 | "cluster":"dummy",
6 | "services":[
7 | {"name":"NAMENODE"},
8 | {"name":"JOBTRACKER"},
9 | {"name":"WEBHDFS"},
10 | {"name":"WEBHCAT"},
11 | {"name":"OOZIE"},
12 | {"name":"WEBHBASE"},
13 | {"name":"HIVE"},
14 | {"name":"RESOURCEMANAGER"},
15 | {"name":"AMBARI", "urls":["http://c6401.ambari.apache.org:8080"]},
16 | {"name":"AMBARIUI", "urls":["http://c6401.ambari.apache.org:8080"]}
17 | ]
18 | }
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/org/apache/knox/gateway/topology/file/topology-one.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 | WEBHDFS
10 | http://host-one:80/webhdfs
11 |
12 |
13 |
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/org/apache/knox/gateway/topology/file/topology-three.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 | WEBHDFS
10 | http://host-three:80/webhdfs
11 |
12 |
13 |
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/org/apache/knox/gateway/topology/file/topology-two.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
9 | WEBHDFS
10 | http://host-two:80/webhdfs
11 |
12 |
13 |
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/org/apache/knox/gateway/topology/validation/TopologyValidatorTest/topology-valid-with-name.xml:
--------------------------------------------------------------------------------
1 |
17 |
18 | topology-name
19 |
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/server-keystore.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-server/src/test/resources/server-keystore.jks
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/services/bar/2.0.0/service.xml:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/services/foo/1.0.0/rewrite.xml:
--------------------------------------------------------------------------------
1 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/gateway-server/src/test/resources/services/foo/1.0.0/service.xml.ignored:
--------------------------------------------------------------------------------
1 | This file should be ignored by ServiceDefinitionsLoader because it doesn't
2 | have the proper .xml extension.
3 |
--------------------------------------------------------------------------------
/gateway-service-admin/src/main/resources/org/apache/knox/gateway/service/admin/beans/jaxb.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory
--------------------------------------------------------------------------------
/gateway-service-admin/src/main/resources/org/apache/knox/gateway/service/admin/jaxb.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory
--------------------------------------------------------------------------------
/gateway-service-auth/.gitignore:
--------------------------------------------------------------------------------
1 | /bin/
2 |
--------------------------------------------------------------------------------
/gateway-service-rm/src/main/java/org/apache/knox/gateway/rm/dispatch/StandbyException.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.knox.gateway.rm.dispatch;
19 |
20 | class StandbyException extends RuntimeException {
21 | }
22 |
--------------------------------------------------------------------------------
/gateway-service-test/src/main/resources/org/apache/knox/gateway/service/test/jaxb.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory
--------------------------------------------------------------------------------
/gateway-shell-samples/src/main/resources/samples/hive/groovy/jdbc/sandbox-with-knox-inside/README:
--------------------------------------------------------------------------------
1 | This sample assumes that Knox is deployed on Sandbox.
2 | Use sandbox-with-knox-inside.xml as deployment configuration.
3 |
--------------------------------------------------------------------------------
/gateway-shell-samples/src/main/resources/samples/hive/groovy/jdbc/sandbox/README:
--------------------------------------------------------------------------------
1 | This sample assumes that Sandbox is running on the host where Knox is deployed.
2 |
--------------------------------------------------------------------------------
/gateway-shell-samples/src/main/resources/samples/hive/java/jdbc/sandbox-with-knox-inside/README:
--------------------------------------------------------------------------------
1 | This sample assumes that Knox is deployed on Sandbox.
2 | Use sandbox-with-knox-inside.xml as deployment configuration.
3 |
--------------------------------------------------------------------------------
/gateway-shell-samples/src/main/resources/samples/hive/java/jdbc/sandbox/README:
--------------------------------------------------------------------------------
1 | This sample assumes that Sandbox is running on the host where Knox is deployed.
2 |
--------------------------------------------------------------------------------
/gateway-shell-samples/src/main/resources/samples/sample-descriptor.json:
--------------------------------------------------------------------------------
1 | {
2 | "provider-config-ref":"default-providers",
3 | "services":[
4 | {"name":"NAMENODE"},
5 | {"name":"WEBHDFS"},
6 | {"name":"RESOURCEMANAGER"}
7 | ]
8 | }
9 |
--------------------------------------------------------------------------------
/gateway-shell-samples/src/main/resources/samples/sample-providers.json:
--------------------------------------------------------------------------------
1 | {
2 | "providers": [
3 | {
4 | "role": "authentication",
5 | "name": "ShiroProvider",
6 | "enabled": "true",
7 | "params": {
8 | "sessionTimeout": "20",
9 | "main.ldapRealm": "org.apache.knox.gateway.shirorealm.KnoxLdapRealm",
10 | "main.ldapContextFactory": "org.apache.knox.gateway.shirorealm.KnoxLdapContextFactory",
11 | "main.ldapRealm.contextFactory": "$ldapContextFactory",
12 | "main.ldapRealm.userDnTemplate": "uid={0},ou=people,dc=hadoop,dc=apache,dc=org",
13 | "main.ldapRealm.contextFactory.url": "ldap://localhost:33389",
14 | "main.ldapRealm.contextFactory.authenticationMechanism": "simple",
15 | "urls./**": "authcBasic"
16 | }
17 | }
18 | ]
19 | }
--------------------------------------------------------------------------------
/gateway-shell/src/test/resources/createBooksTable.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE books (
2 | book_id integer,
3 | title varchar(64),
4 | primary key(book_id)
5 | )
--------------------------------------------------------------------------------
/gateway-shell/src/test/resources/insertBooks.sql:
--------------------------------------------------------------------------------
1 | INSERT INTO books(book_id, title)
2 | VALUES
3 | (123, 'Apache Knox: The Definitive Guide'),
4 | (456, 'Apache Knox: The Definitive Guide 2nd Edition')
5 |
--------------------------------------------------------------------------------
/gateway-shell/src/test/resources/knoxShellTableLocationsWithZipLessThan14.csv:
--------------------------------------------------------------------------------
1 | ZIP,COUNTRY,STATE,CITY,POPULATION
2 | 1,US,NY,City1,100000
3 | 2,US,NY,City2,200000
4 | 3,US,NY,City3,300000
5 | 4,US,NY,City4,400000
6 | 5,US,NY,City5,500000
7 | 6,US,NY,City6,600000
8 | 7,US,NY,City7,700000
9 | 8,US,NY,City8,800000
10 | 9,US,NY,City9,900000
11 | 10,US,NY,City10,1000000
12 | 11,US,NY,City11,2000000
13 | 12,US,NY,City12,3000000
14 | 13,US,NY,City13,4000000
15 | 14,US,NY,City14,5000000
--------------------------------------------------------------------------------
/gateway-spi/src/main/java/org/apache/knox/gateway/services/security/MasterService.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.knox.gateway.services.security;
19 |
20 | public interface MasterService {
21 | char[] getMasterSecret();
22 | }
--------------------------------------------------------------------------------
/gateway-spi/src/main/java/org/apache/knox/gateway/topology/Routable.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.knox.gateway.topology;
19 |
20 | public class Routable {
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/gateway-spi/src/main/resources/org/apache/knox/gateway/topology/jaxb.index:
--------------------------------------------------------------------------------
1 | #
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | #
18 | Topology
19 | Param
20 | Service
21 | Application
22 | Provider
--------------------------------------------------------------------------------
/gateway-spi/src/main/resources/org/apache/knox/gateway/topology/jaxb.properties:
--------------------------------------------------------------------------------
1 | # Licensed to the Apache Software Foundation (ASF) under one
2 | # or more contributor license agreements. See the NOTICE file
3 | # distributed with this work for additional information
4 | # regarding copyright ownership. The ASF licenses this file
5 | # to you under the Apache License, Version 2.0 (the
6 | # "License"); you may not use this file except in compliance
7 | # with the License. You may obtain a copy of the License at
8 | #
9 | # http://www.apache.org/licenses/LICENSE-2.0
10 | #
11 | # Unless required by applicable law or agreed to in writing, software
12 | # distributed under the License is distributed on an "AS IS" BASIS,
13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | # See the License for the specific language governing permissions and
15 | # limitations under the License.
16 | javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory
--------------------------------------------------------------------------------
/gateway-spi/src/test/resources/keystores/server-keystore.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-spi/src/test/resources/keystores/server-keystore.jks
--------------------------------------------------------------------------------
/gateway-spi/src/test/resources/keystores/server-truststore.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-spi/src/test/resources/keystores/server-truststore.jks
--------------------------------------------------------------------------------
/gateway-spi/src/test/resources/keystores/testSigningKeyName.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-spi/src/test/resources/keystores/testSigningKeyName.jks
--------------------------------------------------------------------------------
/gateway-spi/src/test/resources/org/apache/knox/gateway/services/hostmap/FileBasedHostMapperTest/hostmap.txt:
--------------------------------------------------------------------------------
1 | external=internal
2 | external-space = internal-space
3 | external-list = external-list-1, external-list-2
4 | internal-list-1, internal-list-2 = internal-list
5 | external-both-list-1, external-both-list-2 = internal-both-list-1, internal-both-list-2
6 |
7 |
--------------------------------------------------------------------------------
/gateway-test-utils/src/main/java/org/apache/knox/test/category/FastTests.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.knox.test.category;
19 |
20 | public interface FastTests {
21 | }
22 |
--------------------------------------------------------------------------------
/gateway-test-utils/src/main/java/org/apache/knox/test/category/ManualTests.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.knox.test.category;
19 |
20 | public interface ManualTests {
21 | }
22 |
--------------------------------------------------------------------------------
/gateway-test-utils/src/main/java/org/apache/knox/test/category/MediumTests.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.knox.test.category;
19 |
20 | public interface MediumTests {
21 | }
22 |
--------------------------------------------------------------------------------
/gateway-test-utils/src/main/java/org/apache/knox/test/category/ReleaseTest.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.knox.test.category;
19 |
20 | public interface ReleaseTest {
21 | }
22 |
--------------------------------------------------------------------------------
/gateway-test-utils/src/main/java/org/apache/knox/test/category/SlowTests.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.knox.test.category;
19 |
20 | public interface SlowTests {
21 | }
22 |
--------------------------------------------------------------------------------
/gateway-test-utils/src/main/java/org/apache/knox/test/category/UnitTests.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.knox.test.category;
19 |
20 | public interface UnitTests {
21 | }
22 |
--------------------------------------------------------------------------------
/gateway-test-utils/src/main/java/org/apache/knox/test/category/VerifyTest.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | package org.apache.knox.test.category;
19 |
20 | public interface VerifyTest {
21 | }
22 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/client-keystore.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/client-keystore.jks
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/client-truststore.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/client-truststore.jks
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/AmbariServiceDefinitionTest/clusters-response-expected.json:
--------------------------------------------------------------------------------
1 | {
2 | "href": "$cluster_url/ambari/api/v1/clusters",
3 | "items": [
4 | {
5 | "href": "$cluster_url/ambari/api/v1/clusters/test",
6 | "Clusters": {
7 | "cluster_name": "test",
8 | "version": "HDP-2.3"
9 | }
10 | }
11 | ]
12 | }
13 |
14 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/AmbariServiceDefinitionTest/clusters-response.json:
--------------------------------------------------------------------------------
1 |
2 | {
3 | "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters",
4 | "items" : [
5 | {
6 | "href" : "http://c6401.ambari.apache.org:8080/api/v1/clusters/test",
7 | "Clusters" : {
8 | "cluster_name" : "test",
9 | "version" : "HDP-2.3"
10 | }
11 | }
12 | ]
13 | }
14 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayAppFuncTest/test-apps/dynamic-app/app.war/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 | dynamic-app-servlet
9 | org.apache.knox.gateway.TestServlet
10 |
11 |
12 | dynamic-app-servlet
13 | /*
14 |
15 |
16 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayAppFuncTest/test-apps/static-json-app/app.dir/one.json:
--------------------------------------------------------------------------------
1 | {
2 | "test-name-one":"test-value-one"
3 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayAppFuncTest/test-apps/static-json-app/rewrite.xml:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayAppFuncTest/test-apps/static-xml-app/app/test.xml:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/config-build.json:
--------------------------------------------------------------------------------
1 | {
2 | "properties": [
3 | {
4 | "key": "vc.source.url",
5 | "value": "scm:git:https://git-wip-us.apache.org/repos/asf/incubator-falcon.git/falcon-webapp"
6 | },
7 | {
8 | "key": "build.epoch",
9 | "value": "1416432530059"
10 | },
11 | {
12 | "key": "project.version",
13 | "value": "0.6.0.2.2.0.0-2041"
14 | },
15 | {
16 | "key": "build.user",
17 | "value": "jenkins"
18 | },
19 | {
20 | "key": "vc.revision",
21 | "value": "5fa2772890a189327d5d62a3353290c54613246c"
22 | },
23 | {
24 | "key": "domain",
25 | "value": "all"
26 | },
27 | {
28 | "key": "build.version",
29 | "value": "0.6.0.2.2.0.0-2041-r5fa2772890a189327d5d62a3353290c54613246c"
30 | }
31 | ]
32 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/config-deploy.json:
--------------------------------------------------------------------------------
1 | {"properties":[{"key":"deploy.mode","value":"embedded"},{"key":"domain","value":"all"}]}
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/config-deploy.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | deploy.mode
5 | embedded
6 |
7 |
8 | domain
9 | all
10 |
11 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/config-runtime.json:
--------------------------------------------------------------------------------
1 | {
2 | "properties": [
3 | {
4 | "key": "log.cleanup.frequency.days.retention",
5 | "value": "days(7)"
6 | },
7 | {
8 | "key": "log.cleanup.frequency.months.retention",
9 | "value": "months(3)"
10 | },
11 | {
12 | "key": "domain",
13 | "value": "falcon"
14 | },
15 | {
16 | "key": "log.cleanup.frequency.hours.retention",
17 | "value": "minutes(1)"
18 | },
19 | {
20 | "key": "log.cleanup.frequency.minutes.retention",
21 | "value": "hours(6)"
22 | }
23 | ]
24 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/config-runtime.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | log.cleanup.frequency.days.retention
5 | days(7)
6 |
7 |
8 | log.cleanup.frequency.months.retention
9 | months(3)
10 |
11 |
12 | domain
13 | falcon
14 |
15 |
16 | log.cleanup.frequency.hours.retention
17 | minutes(1)
18 |
19 |
20 | log.cleanup.frequency.minutes.retention
21 | hours(6)
22 |
23 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-delete-process.json:
--------------------------------------------------------------------------------
1 | {
2 | "requestId": "falcon\/17ff6ca6-1c8a-459f-9ba8-8fec480e384a\n",
3 | "message": "falcon\/SampleProcess(cluster) removed successfully\n",
4 | "status": "SUCCEEDED"
5 | }
6 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-dependency-process.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | feed
5 | cleansedEmailFeed
6 |
7 | Output
8 |
9 |
10 |
11 | cluster
12 | primaryCluster
13 |
14 |
15 |
16 | feed
17 | rawEmailFeed
18 |
19 | Input
20 |
21 |
22 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-list-cluster.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | CLUSTER
5 | backupCluster
6 |
7 |
8 | CLUSTER
9 | primaryCluster
10 |
11 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-resume-feed.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | SUCCEEDED
4 | default/rawEmailFeed(feed) resumed successfully
5 |
6 | default/null
7 |
8 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-schedule-feed.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | SUCCEEDED
4 | default/rawEmailFeed(feed) scheduled successfully
5 |
6 | default/null
7 |
8 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-status-process.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | SUCCEEDED
4 | default/RUNNING
5 |
6 | default/null
7 |
8 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-submit-feed.json:
--------------------------------------------------------------------------------
1 | {
2 | "requestId": "default\/d72a41f7-6420-487b-8199-62d66e492e35\n",
3 | "message": "default\/Submit successful (feed) SampleInput\n",
4 | "status": "SUCCEEDED"
5 | }
6 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-submit-schedule-process.json:
--------------------------------------------------------------------------------
1 | {
2 | "requestId": "schedule\/default\/b5b40931-175b-4b15-8f2b-02ef2e66f06b\n\nsubmit\/default\/b5b40931-175b-4b15-8f2b-02ef2e66f06b\n\n",
3 | "message": "schedule\/default\/SampleProcess(process) scheduled successfully\n\nsubmit\/default\/Submit successful (process) SampleProcess\n\n",
4 | "status": "SUCCEEDED"
5 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-summary-feed.json:
--------------------------------------------------------------------------------
1 | {"status":"SUCCEEDED","message":"Entity Summary Result"}
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-summary-feed.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | SUCCEEDED
4 | Entity Summary Result
5 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-update-feed.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | SUCCEEDED
4 | falcon/update/default/Updated successfully
5 |
6 |
7 | falcon/update/default/null
8 |
9 |
10 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/entity-validate-cluster.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | SUCCEEDED
4 | Validated successfully (CLUSTER) primaryCluster
5 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/instance-params-process.json:
--------------------------------------------------------------------------------
1 | {"status":"SUCCEEDED","message":"default/PARAMS\n","requestId":"default/null\n"}
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/instance-running-process.json:
--------------------------------------------------------------------------------
1 | {
2 | "status": "SUCCEEDED",
3 | "message": "default/Running Instances\n",
4 | "requestId": "default/null\n",
5 | "instances": [
6 | {
7 | "instance": "2014-02-28T03:00Z",
8 | "status": "RUNNING",
9 | "cluster": "primaryCluster",
10 | "startTime": "2015-02-20T03:09:07Z"
11 | }
12 | ]
13 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/instance-status-process.json:
--------------------------------------------------------------------------------
1 | {"status":"SUCCEEDED","message":"default/STATUS\n","requestId":"default/null\n"}
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/metadata-disc-cluster-entity.json:
--------------------------------------------------------------------------------
1 | {"results":["primaryCluster","backupCluster"],"totalSize":2}
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/metadata-disc-process-entity.json:
--------------------------------------------------------------------------------
1 | {"results":["rawEmailIngestProcess","cleanseEmailProcess"],"totalSize":2}
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/metadata-lineage-edges-id.json:
--------------------------------------------------------------------------------
1 | {"results":{"_id":"Q2v-4-4m","_type":"edge","_outV":4,"_inV":8,"_label":"collocated"}}
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/metadata-lineage-vertices-direction.json:
--------------------------------------------------------------------------------
1 | {
2 | "results": [
3 | {
4 | "timestamp": "2015-02-19T20:54Z",
5 | "name": "ambari-qa",
6 | "type": "user",
7 | "_id": 24,
8 | "_type": "vertex"
9 | },
10 | {
11 | "timestamp": "2015-02-19T20:54Z",
12 | "name": "primaryCluster",
13 | "type": "cluster-entity",
14 | "_id": 4,
15 | "_type": "vertex"
16 | },
17 | {
18 | "timestamp": "2015-02-19T20:55Z",
19 | "name": "rawEmailFeed/2014-02-28T00:00Z",
20 | "type": "feed-instance",
21 | "_id": 80,
22 | "_type": "vertex"
23 | },
24 | {
25 | "timestamp": "2015-02-19T20:54Z",
26 | "name": "rawEmailIngestProcess",
27 | "type": "process-entity",
28 | "version": "2.0.0",
29 | "_id": 60,
30 | "_type": "vertex"
31 | }
32 | ],
33 | "totalSize": 4
34 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/metadata-lineage-vertices-id.json:
--------------------------------------------------------------------------------
1 | {
2 | "results": {
3 | "timestamp": "2015-02-19T20:55Z",
4 | "name": "rawEmailIngestProcess/2014-02-28T00:00Z",
5 | "type": "process-instance",
6 | "version": "2.0.0",
7 | "_id": 76,
8 | "_type": "vertex"
9 | }
10 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/metadata-lineage-vertices-key.json:
--------------------------------------------------------------------------------
1 | {
2 | "results": [
3 | {
4 | "timestamp": "2015-02-19T20:54Z",
5 | "name": "rawEmailIngestProcess",
6 | "type": "process-entity",
7 | "version": "2.0.0",
8 | "_id": 60,
9 | "_type": "vertex"
10 | }
11 | ],
12 | "totalSize": 1
13 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/version.json:
--------------------------------------------------------------------------------
1 | {
2 | "properties": [
3 | {
4 | "key": "Version",
5 | "value": "0.6.0.2.2.0.0-2041-r5fa2772890a189327d5d62a3353290c54613246c"
6 | },
7 | {
8 | "key": "Mode",
9 | "value": "embedded"
10 | },
11 | {
12 | "key": "Hadoop",
13 | "value": "2.6.0.2.2.0.0-2041-r7d56f02902b436d46efba030651a2fbe7c1cf1e9"
14 | }
15 | ]
16 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/falcon/version.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Version
5 | 0.6.0.2.2.0.0-2041-r5fa2772890a189327d5d62a3353290c54613246c
6 |
7 |
8 | Mode
9 | embedded
10 |
11 |
12 | Hadoop
13 | 2.6.0.2.2.0.0-2041-r7d56f02902b436d46efba030651a2fbe7c1cf1e9
14 |
15 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/scanner-definition.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/table-data.json:
--------------------------------------------------------------------------------
1 | {
2 | "Row":
3 | [
4 | {
5 | "key": "cm93",
6 | "Cell":
7 | [
8 | {
9 | "column": "ZmFtaWx5OmNvbDE=",
10 | "timestamp": 1371467528262,
11 | "$": "dmFs"
12 | },
13 | {
14 | "column": "ZmFtaWx5OmNvbHVtbm5ubm5u",
15 | "timestamp": 1371467528262,
16 | "$": "dmFsdWUz"
17 | }
18 | ]
19 | }
20 | ]
21 | }
22 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/table-data.protobuf:
--------------------------------------------------------------------------------
1 |
2 | 2
3 | row2
4 | test2:col2"val222
5 | test2:col3"val223
6 | 2
7 | row3
8 | test3:col1"val331
9 | test3:col2"val332
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/table-list.json:
--------------------------------------------------------------------------------
1 | {
2 | "table": [
3 | {
4 | "name": "table1"
5 | },
6 | {
7 | "name": "table2"
8 | }
9 | ]
10 | }
11 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/table-list.protobuf:
--------------------------------------------------------------------------------
1 |
2 | table1
3 | table2
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/table-metadata.protobuf:
--------------------------------------------------------------------------------
1 |
2 | table
3 | family1
4 | family2
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/table-schema.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "table",
3 | "ColumnSchema": [
4 | {
5 | "name": "family1"
6 | },
7 | {
8 | "name": "family2"
9 | }
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hbase/table-schema.protobuf:
--------------------------------------------------------------------------------
1 |
2 | table
3 | family1
4 | family2
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-1-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-1-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-1-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-1-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-2-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-2-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-2-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-2-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-3-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-3-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-3-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-3-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-4-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-4-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-4-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-4-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-5-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-5-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-5-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-5-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-6-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-6-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-6-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-operation-6-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-session-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-session-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-session-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/close-session-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-create-table-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-create-table-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-create-table-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-create-table-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-select-from-table-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-select-from-table-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-select-from-table-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-select-from-table-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-fetch-output-serde-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-fetch-output-serde-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-fetch-output-serde-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-fetch-output-serde-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-security-authorization-enabled-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-security-authorization-enabled-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-security-authorization-enabled-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-security-authorization-enabled-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-http-path-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-http-path-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-http-path-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-http-path-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-servermode-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-servermode-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-servermode-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/execute-set-server2-servermode-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/fetch-results-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/fetch-results-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/fetch-results-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/fetch-results-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/get-result-set-metadata-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/get-result-set-metadata-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/get-result-set-metadata-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/get-result-set-metadata-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/open-session-request.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/open-session-request.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/open-session-result.bin:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/hive/open-session-result.bin
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/oozie-admin-build-version.json:
--------------------------------------------------------------------------------
1 | {
2 | "buildVersion": "3.2.0.21"
3 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/oozie-admin-status.json:
--------------------------------------------------------------------------------
1 | {
2 | "systemMode": "NORMAL"
3 | }
4 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/oozie-jobs-empty.json:
--------------------------------------------------------------------------------
1 | {
2 | "total": 0,
3 | "workflows": [],
4 | "len": 50,
5 | "offset": 1
6 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/oozie-jobs-submit-response.json:
--------------------------------------------------------------------------------
1 | {
2 | "id": "0000001-130214094519989-oozie-oozi-W"
3 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/oozie-versions.json:
--------------------------------------------------------------------------------
1 | [
2 | 0,
3 | 1
4 | ]
5 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/passwd.txt:
--------------------------------------------------------------------------------
1 | ctdean:Chris Dean:secret
2 | pauls:Paul Stolorz:good
3 | carmas:Carlos Armas:evil
4 | dra:Deirdre McClure:marvelous
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/script.hive:
--------------------------------------------------------------------------------
1 | select+*+from+pokes;
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/script.pig:
--------------------------------------------------------------------------------
1 | A = load '/tmp/GatewayWebHCatFuncText/pig/passwd.txt' using PigStorage(':');
2 | B = foreach A generate $0 as id;
3 | dump B;
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/storm/cluster-summary.json:
--------------------------------------------------------------------------------
1 | {
2 | "slotsFree": 0,
3 | "executorsTotal": 28,
4 | "supervisors": 1,
5 | "user": null,
6 | "topologies": 1,
7 | "slotsTotal": 2,
8 | "stormVersion": "0.9.3.2.2.0.0-2041",
9 | "slotsUsed": 2,
10 | "tasksTotal": 28,
11 | "nimbusUptime": "4h 54m 52s"
12 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/storm/supervisor-summary.json:
--------------------------------------------------------------------------------
1 | {
2 | "supervisors": [
3 | {
4 | "id": "9bda48ca-7f71-4829-b463-16fd97cf0391",
5 | "host": "sandbox.hortonworks.com",
6 | "uptime": "4h 55m 1s",
7 | "slotsTotal": 2,
8 | "slotsUsed": 2
9 | }
10 | ]
11 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/storm/topology-summary.json:
--------------------------------------------------------------------------------
1 | {
2 | "topologies": [
3 | {
4 | "executorsTotal": 28,
5 | "uptime": "4h 48m 23s",
6 | "schedulerInfo": null,
7 | "name": "WordCount",
8 | "workersTotal": 2,
9 | "status": "INACTIVE",
10 | "owner": "",
11 | "tasksTotal": 28,
12 | "id": "WordCount-1-1424792039"
13 | }
14 | ]
15 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/test.txt:
--------------------------------------------------------------------------------
1 | TEST
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/webhcat-job-status.json:
--------------------------------------------------------------------------------
1 | {"status":{"startTime":1352414440951,"jobID":{"jtIdentifier":"201210301335","id":86},"jobPriority":"NORMAL","username":"hdfs","failureInfo":"NA","runState":4,"schedulingInfo":"NA","jobId":"job_201210301335_0086","jobACLs":{},"jobComplete":false},"profile":{"url":"http://vm.home:50030/jobdetails.jsp?jobid=job_201210301335_0086","user":"hdfs","jobID":{"jtIdentifier":"201210301335","id":86},"jobName":"TempletonControllerJob","queueName":"default","jobFile":"hdfs://vm.home:8020/user/hdfs/.staging/job_201210301335_0086/job.xml","jobId":"job_201210301335_0086"},"id":"job_201210301335_0086","parentId":null,"percentComplete":null,"exitValue":null,"user":"hdfs","callback":null,"completed":null}
2 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/webhdfs-liststatus-default.json:
--------------------------------------------------------------------------------
1 | { "FileStatuses":{"FileStatus":[
2 | {"accessTime":0,"blockSize":0,"group":"mapred","length":0,"modificationTime":1350595874024,"owner":"mapred","pathSuffix":"mapred","permission":"755","replication":0,"type":"DIRECTORY"},
3 | {"accessTime":0,"blockSize":0,"group":"hdfs","length":0,"modificationTime":1350596040075,"owner":"hdfs","pathSuffix":"tmp","permission":"777","replication":0,"type":"DIRECTORY"},
4 | {"accessTime":0,"blockSize":0,"group":"hdfs","length":0,"modificationTime":1350595857178,"owner":"hdfs","pathSuffix":"user","permission":"755","replication":0,"type":"DIRECTORY"}
5 | ]}}
6 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/webhdfs-liststatus-empty.json:
--------------------------------------------------------------------------------
1 | {"FileStatuses":{"FileStatus":[
2 |
3 | ]}}
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/webhdfs-liststatus-test.json:
--------------------------------------------------------------------------------
1 | { "FileStatuses":{"FileStatus":[
2 | {"accessTime":0,"blockSize":0,"group":"hdfs","length":0,"modificationTime":1350595857178,"owner":"hdfs","pathSuffix":"dir","permission":"755","replication":0,"type":"DIRECTORY"}
3 | ]}}
4 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/webhdfs-success.json:
--------------------------------------------------------------------------------
1 | { "boolean" : true }
2 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/app_running.json:
--------------------------------------------------------------------------------
1 | {
2 | "app":{
3 | "id":"application_1399541193872_0033",
4 | "user":"hdfs",
5 | "name":"Sleep job",
6 | "queue":"default",
7 | "state":"RUNNING",
8 | "finalStatus":"UNDEFINED",
9 | "progress":89.94973,
10 | "trackingUI":"ApplicationMaster",
11 | "trackingUrl":"$proxy_address/proxy/application_1399541193872_0033/",
12 | "diagnostics":"",
13 | "clusterId":1399541193872,
14 | "applicationType":"MAPREDUCE",
15 | "applicationTags":"",
16 | "startedTime":1401184778896,
17 | "finishedTime":0,
18 | "elapsedTime":139545,
19 | "amContainerLogs":"http://localhost:50060/node/containerlogs/container_1399541193872_0033_01_000001/hdfs",
20 | "amHostHttpAddress":"localhost:50060",
21 | "allocatedMB":4608,
22 | "allocatedVCores":2,
23 | "runningContainers":2
24 | }
25 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/app_succeeded.json:
--------------------------------------------------------------------------------
1 | {
2 | "app":{
3 | "id":"application_1399541193872_0018",
4 | "user":"hdfs",
5 | "name":"Sleep job",
6 | "queue":"default",
7 | "state":"FINISHED",
8 | "finalStatus":"SUCCEEDED",
9 | "progress":100.0,
10 | "trackingUI":"History",
11 | "trackingUrl":"http://localhost:8088/proxy/application_1399541193872_0018/jobhistory/job/job_1399541193872_0018",
12 | "diagnostics":"",
13 | "clusterId":1399541193872,
14 | "applicationType":"MAPREDUCE",
15 | "applicationTags":"",
16 | "startedTime":1399903578539,
17 | "finishedTime":1399904819572,
18 | "elapsedTime":1241033,
19 | "amContainerLogs":"http://localhost:50060/node/containerlogs/container_1399541193872_0018_01_000001/hdfs",
20 | "amHostHttpAddress":"localhost:50060",
21 | "allocatedMB":0,
22 | "allocatedVCores":0,
23 | "runningContainers":0
24 | }
25 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/appattempts.json:
--------------------------------------------------------------------------------
1 | {
2 | "appAttempts":{
3 | "appAttempt":[
4 | {
5 | "id":1,
6 | "startTime":1399903578541,
7 | "containerId":"container_1399541193872_0018_01_000001",
8 | "nodeHttpAddress":"localhost:50060",
9 | "nodeId":"localhost:45454",
10 | "logsLink":"//localhost:50060/node/containerlogs/container_1399541193872_0018_01_000001/hdfs"
11 | }
12 | ]
13 | }
14 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/application-killing.json:
--------------------------------------------------------------------------------
1 | {"state":"KILLING"}
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/appstatistics.json:
--------------------------------------------------------------------------------
1 | {
2 | "appStatInfo":{
3 | "statItem":[
4 | {
5 | "state":"FAILED",
6 | "type":"mapreduce",
7 | "count":2
8 | },
9 | {
10 | "state":"FINISHED",
11 | "type":"mapreduce",
12 | "count":31
13 | },
14 | {
15 | "state":"RUNNING",
16 | "type":"mapreduce",
17 | "count":1
18 | },
19 | {
20 | "state":"ACCEPTED",
21 | "type":"mapreduce",
22 | "count":0
23 | }
24 | ]
25 | }
26 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/cluster-info.json:
--------------------------------------------------------------------------------
1 | {
2 | "clusterInfo":{
3 | "id":1399541193872,
4 | "startedOn":1399541193872,
5 | "state":"STARTED",
6 | "haState":"ACTIVE",
7 | "resourceManagerVersion":"2.4.0.2.1.1.0-390",
8 | "resourceManagerBuildVersion":"2.4.0.2.1.1.0-390 from 68ceccf06a4441273e81a5ec856d41fc7e11c792 by jenkins source checksum a06aa69de28a8ebc9ddba56f20d6d73d",
9 | "resourceManagerVersionBuiltOn":"2014-04-23T16:39Z",
10 | "hadoopVersion":"2.4.0.2.1.1.0-390",
11 | "hadoopBuildVersion":"2.4.0.2.1.1.0-390 from 68ceccf06a4441273e81a5ec856d41fc7e11c792 by jenkins source checksum 9e788148daa5dd7934eb468e57e037b5",
12 | "hadoopVersionBuiltOn":"2014-04-23T16:32Z"
13 | }
14 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/cluster-metrics.json:
--------------------------------------------------------------------------------
1 | {
2 | "clusterMetrics":{
3 | "appsSubmitted":28,
4 | "appsCompleted":28,
5 | "appsPending":0,
6 | "appsRunning":0,
7 | "appsFailed":0,
8 | "appsKilled":0,
9 | "reservedMB":0,
10 | "availableMB":8192,
11 | "allocatedMB":0,
12 | "containersAllocated":0,
13 | "containersReserved":0,
14 | "containersPending":0,
15 | "totalMB":8192,
16 | "totalNodes":1,
17 | "lostNodes":0,
18 | "unhealthyNodes":0,
19 | "decommissionedNodes":0,
20 | "rebootedNodes":0,
21 | "activeNodes":1
22 | }
23 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/new-application.json:
--------------------------------------------------------------------------------
1 | {"application-id":"application_1405356982244_0031","maximum-resource-capability":{"memory":"8192","vCores":"32"}}
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/node.json:
--------------------------------------------------------------------------------
1 | {
2 | "node":{
3 | "rack":"/default-rack",
4 | "state":"RUNNING",
5 | "id":"localhost:45454",
6 | "nodeHostName":"localhost",
7 | "nodeHTTPAddress":"localhost:50060",
8 | "lastHealthUpdate":1401197561733,
9 | "version":"2.4.0.2.1.1.0-390",
10 | "healthReport":"",
11 | "numContainers":0,
12 | "usedMemoryMB":0,
13 | "availMemoryMB":8192
14 | }
15 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/nodes.json:
--------------------------------------------------------------------------------
1 | {
2 | "nodes":{
3 | "node":[
4 | {
5 | "rack":"/default-rack",
6 | "state":"RUNNING",
7 | "id":"localhost:45454",
8 | "nodeHostName":"localhost",
9 | "nodeHTTPAddress":"localhost:50060",
10 | "lastHealthUpdate":1401194681758,
11 | "version":"2.4.0.2.1.1.0-390",
12 | "healthReport":"",
13 | "numContainers":0,
14 | "usedMemoryMB":0,
15 | "availMemoryMB":8192
16 | }
17 | ]
18 | }
19 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-info.json:
--------------------------------------------------------------------------------
1 | {
2 | "info":{
3 | "appId":"application_1399541193872_0035",
4 | "name":"Sleep job",
5 | "user":"hdfs",
6 | "startedOn":1401199817106,
7 | "elapsedTime":852931
8 | }
9 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-job-attempts.json:
--------------------------------------------------------------------------------
1 | {
2 | "jobAttempts":{
3 | "jobAttempt":[
4 | {
5 | "nodeHttpAddress":"host.yarn.com:50060",
6 | "nodeId":"host.yarn.com:45454",
7 | "id":1,
8 | "startTime":1401199817106,
9 | "containerId":"container_1399541193872_0035_01_000001",
10 | "logsLink":"http://host.yarn.com:50060/node/containerlogs/container_1399541193872_0035_01_000001/hdfs"
11 | }
12 | ]
13 | }
14 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task-attempt.json:
--------------------------------------------------------------------------------
1 | {
2 | "taskAttempt":{
3 | "startTime":1401273289105,
4 | "finishTime":0,
5 | "elapsedTime":0,
6 | "progress":68.680374,
7 | "id":"attempt_1399541193872_0036_r_000000_0",
8 | "rack":"/default-rack",
9 | "state":"RUNNING",
10 | "status":"Sleeping... (109692800) ms left > reduce",
11 | "nodeHttpAddress":"host.yarn.com:50060",
12 | "diagnostics":"",
13 | "type":"REDUCE",
14 | "assignedContainerId":"container_1399541193872_0036_01_000003",
15 | "shuffleFinishTime":1401273296009,
16 | "mergeFinishTime":1401273296736,
17 | "elapsedShuffleTime":6904,
18 | "elapsedMergeTime":727,
19 | "elapsedReduceTime":0
20 | }
21 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/GatewayBasicFuncTest/yarn/proxy-mapreduce-task.json:
--------------------------------------------------------------------------------
1 | {
2 | "task":{
3 | "startTime":1401273289105,
4 | "finishTime":0,
5 | "elapsedTime":3343308,
6 | "progress":67.33751,
7 | "id":"task_1399541193872_0036_r_000000",
8 | "state":"RUNNING",
9 | "type":"REDUCE",
10 | "successfulAttempt":"",
11 | "status":"Sleeping... (116684700) ms left > reduce"
12 | }
13 | }
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/WebHdfsHaFuncTest/webhdfs-liststatus-standby.json:
--------------------------------------------------------------------------------
1 | {"RemoteException": {
2 | "exception": "StandbyException",
3 | "javaClassName": "org.apache.hadoop.ipc.StandbyException",
4 | "message": "Operation category READ is not supported in state standby"
5 | }}
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/WebHdfsHaFuncTest/webhdfs-mkdirs-safemode.json:
--------------------------------------------------------------------------------
1 | {"RemoteException": {
2 | "exception": "RetriableException",
3 | "javaClassName": "org.apache.hadoop.ipc.RetriableException",
4 | "message": "org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory /user/root/knox-ha/test_dir_27_0. Name node is in safe mode.\nThe reported blocks 0 needs additional 565 blocks to reach the threshold 1.0000 of total blocks 564.\nThe number of live datanodes 1 has reached the minimum number 0. Safe mode will be turned off automatically once the thresholds have been reache."
5 | }}
6 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/WebHdfsHaFuncTest/webhdfs-rename-safemode-off.json:
--------------------------------------------------------------------------------
1 | {"boolean":true}
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/WebHdfsHaFuncTest/webhdfs-rename-safemode.json:
--------------------------------------------------------------------------------
1 | {"RemoteException": {
2 | "exception": "SafeModeException",
3 | "javaClassName": "org.apache.hadoop.hdfs.server.namenode.SafeModeException",
4 | "message": "Cannot rename /user/sumit.gupta/shellCommands.sh. Name node is in safe mode.\nIt was turned on manually. Use \"hdfs dfsadmin -safemode leave\" to turn safe mode off."
5 | }}
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/org/apache/knox/gateway/deploy/DeploymentFactoryFuncTest/test-apps/minimal-test-app/rewrite.xml:
--------------------------------------------------------------------------------
1 |
17 |
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/server-keystore.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/server-keystore.jks
--------------------------------------------------------------------------------
/gateway-test/src/test/resources/server-truststore.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/gateway-test/src/test/resources/server-truststore.jks
--------------------------------------------------------------------------------
/knox-homepage-ui/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # ui dependencies
3 | node_modules
4 | bower_components
5 |
6 | # ui misc
7 | .sass-cache
8 | connect.lock
9 | coverage/*
10 | libpeerconnection.log
11 | npm-debug.log
12 | testem.log
13 | .angular
14 |
--------------------------------------------------------------------------------
/knox-homepage-ui/home/app/topologies/sample.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 |
18 | export class Sample {
19 | description: string;
20 | value: string;
21 | }
22 |
--------------------------------------------------------------------------------
/knox-homepage-ui/home/app/topologies/topology.information.component.css:
--------------------------------------------------------------------------------
1 | /* based on the sample from here: https://codepen.io/surabhi/pen/NNObXw */
2 |
3 | mat-grid-tile mat-grid-tile-footer {
4 | background: rgba(220,220,220,1);
5 | height: 20px;
6 | color:black;
7 | }
8 |
9 | mat-grid-tile-footer figcaption {
10 | width: 100%;
11 | }
12 |
13 | mat-grid-tile-footer figcaption h3 {
14 | margin: 0;
15 | font-weight: 700;
16 | width: 100%;
17 | text-align: center;
18 | }
19 |
20 | .tile-shortDesc {
21 | cursor: pointer;
22 | }
23 |
24 | .tile-longDesc {
25 | visibility: hidden;
26 | opacity: 0;
27 | transition: all 0.3s linear;
28 | margin-bottom: 20px;
29 | word-wrap: break-word;
30 | }
31 |
32 | .tile-shortDesc:hover + .tile-longDesc {
33 | opacity: 1;
34 | transition: all 0.3s linear;
35 | visibility: visible;
36 | }
37 |
38 | /deep/ .groupServiceInformationModal {
39 | width: 80%;
40 | }
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/.gitkeep:
--------------------------------------------------------------------------------
1 | ##########################################################################
2 | # Licensed to the Apache Software Foundation (ASF) under one
3 | # or more contributor license agreements. See the NOTICE file
4 | # distributed with this work for additional information
5 | # regarding copyright ownership. The ASF licenses this file
6 | # to you under the Apache License, Version 2.0 (the
7 | # "License"); you may not use this file except in compliance
8 | # with the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 | ##########################################################################
18 |
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/knox-logo-transparent.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/knox-logo-transparent.gif
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/ambari.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/ambari.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/ambariui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/ambariui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/ambariws.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/ambariws.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/atlas-api.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/atlas-api.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/atlas.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/atlas.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/avatica.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/avatica.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/datanode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/datanode.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/druid-broker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/druid-broker.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/druid-coordinator-ui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/druid-coordinator-ui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/druid-coordinator.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/druid-coordinator.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/druid-overlord-ui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/druid-overlord-ui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/druid-overlord.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/druid-overlord.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/druid-router.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/druid-router.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/druid.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/druid.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/hbase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/hbase.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/hbaseui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/hbaseui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/hdfsui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/hdfsui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/hive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/hive.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/hue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/hue.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/impala.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/impala.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/impalaui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/impalaui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/jobhistoryui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/jobhistoryui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/kafka.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/kafka.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/kuduui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/kuduui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/livyserver.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/livyserver.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/logsearch.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/logsearch.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/nifi-registry.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/nifi-registry.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/nifi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/nifi.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/nodemanagerui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/nodemanagerui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/oozie.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/oozie.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/oozieui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/oozieui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/ozone-recon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/ozone-recon.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/ozone-scm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/ozone-scm.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/ozone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/ozone.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/pinot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/pinot.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/ranger.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/ranger.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/rangerui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/rangerui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/resourcemanager.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/resourcemanager.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/solr.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/solr.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/spark3historyui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/spark3historyui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/sparkhistoryui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/sparkhistoryui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/storm-logviewer.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/storm-logviewer.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/storm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/storm.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/thriftserverui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/thriftserverui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/webhbase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/webhbase.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/webhcat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/webhcat.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/webhdfs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/webhdfs.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/yarnui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/yarnui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/yarnuiv2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/yarnuiv2.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/zeppelinui.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/zeppelinui.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/assets/service-logos/zeppelinws.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/assets/service-logos/zeppelinws.png
--------------------------------------------------------------------------------
/knox-homepage-ui/home/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | export const environment = {
18 | production: true
19 | };
20 |
--------------------------------------------------------------------------------
/knox-homepage-ui/home/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-homepage-ui/home/favicon.ico
--------------------------------------------------------------------------------
/knox-homepage-ui/home/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "baseUrl": "homepage",
4 | "declaration": false,
5 | "emitDecoratorMetadata": true,
6 | "experimentalDecorators": true,
7 | "lib": [
8 | "es2017",
9 | "dom"
10 | ],
11 | "mapRoot": "./",
12 | "module": "es6",
13 | "moduleResolution": "node",
14 | "outDir": "../dist/out-tsc",
15 | "sourceMap": true,
16 | "target": "es5",
17 | "typeRoots": [
18 | "../node_modules/@types"
19 | ]
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/knox-homepage-ui/npm:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | #
3 | # Licensed to the Apache Software Foundation (ASF) under one or more
4 | # contributor license agreements. See the NOTICE file distributed with
5 | # this work for additional information regarding copyright ownership.
6 | # The ASF licenses this file to You under the Apache License, Version 2.0
7 | # (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
19 | PATH="$DIR/target/node/":$PATH
20 | node "$DIR/target/node/node_modules/npm/bin/npm-cli.js" --prefix "$DIR" "$@"
21 |
--------------------------------------------------------------------------------
/knox-site/docs/assets/stylesheets/extra.css:
--------------------------------------------------------------------------------
1 | :root {
2 | --md-primary-fg-color: #79ac12;
3 | --md-primary-fg-color--light: #80bf0a;
4 | --md-primary-fg-color--dark: #71a217;
5 | --md-accent-fg-color: #92ca29;
6 | }
7 |
8 | [data-md-color-scheme="slate"] {
9 | --md-primary-fg-color: #79ac12;
10 | --md-primary-fg-color--light: #89ca0f;
11 | --md-primary-fg-color--dark: #7ab114;
12 | --md-accent-fg-color: #8aad43;
13 | }
14 |
--------------------------------------------------------------------------------
/knox-site/docs/dev-guide/deployment-overview.puml:
--------------------------------------------------------------------------------
1 | @startuml
2 | title Deployment Processing Overview
3 | hide footbox
4 | autonumber
5 |
6 | participant "Gateway\nServer" as GW
7 | participant "Embedded\nJetty" as EJ
8 | participant "Deployment\nFactory" as DF
9 | participant "Deployment\nContributors" as DC
10 | participant "Topology\nDescriptor" as TD
11 | participant "Web\nArchive" as WAR
12 |
13 | activate GW
14 |
15 | create TD
16 | GW -> TD: td = loadTopology( xml )
17 |
18 | GW -> DF: war = createDeployment( td )
19 | activate DF
20 |
21 | create WAR
22 | DF -> WAR: war = createEmptyWar()
23 |
24 | DF -> DC: addDescriptors( td, war )
25 | activate DC
26 | deactivate DC
27 |
28 | GW <-- DF
29 | deactivate DF
30 |
31 | GW -> EJ: deploy( war )
32 | activate EJ
33 | deactivate EJ
34 |
35 | deactivate GW
36 |
37 | @enduml
--------------------------------------------------------------------------------
/knox-site/docs/dev-guide/deployment-provider-simple.puml:
--------------------------------------------------------------------------------
1 | @startuml
2 | title Provider Deployment\n(Simplified)
3 | hide footbox
4 | autonumber
5 |
6 | participant "Deployment\nFactory" as DF
7 | participant "Provider\nDeployment\nContributor" as PDC
8 | participant "Service\nDeployment\nContributor" as SDC
9 |
10 | activate DF
11 |
12 | DF -> PDC:initializeContribution
13 | activate PDC
14 | deactivate PDC
15 |
16 | DF -> SDC:contributeService
17 | activate SDC
18 | SDC -> DF: contributeFilter
19 | activate DF
20 |
21 | DF -> PDC: contributeFilter
22 | activate PDC
23 | deactivate PDC
24 |
25 | deactivate DF
26 | deactivate SDC
27 |
28 | DF -> PDC:finalizeContribution
29 | activate PDC
30 | deactivate PDC
31 |
32 | deactivate DF
33 |
34 | @enduml
--------------------------------------------------------------------------------
/knox-site/docs/dev-guide/deployment-service-simple.puml:
--------------------------------------------------------------------------------
1 | @startuml
2 | title Service Deployment\n(Simplified)
3 | hide footbox
4 | autonumber
5 |
6 | participant "Deployment\nFactory" as DF
7 | participant "Service\nDeployment\nContributor" as SDC
8 |
9 | activate DF
10 |
11 | DF -> SDC:initializeContribution
12 | activate SDC
13 | deactivate SDC
14 |
15 | DF -> SDC:contributeService
16 | activate SDC
17 | SDC -> DF: contributeFilter
18 | activate DF
19 | deactivate DF
20 | deactivate SDC
21 |
22 | DF -> SDC:finalizeContribution
23 | activate SDC
24 | deactivate SDC
25 |
26 | deactivate DF
27 |
28 | @enduml
--------------------------------------------------------------------------------
/knox-site/docs/dev-guide/runtime-overview.puml:
--------------------------------------------------------------------------------
1 | @startuml
2 | title Request Processing Overview
3 | hide footbox
4 | autonumber
5 |
6 | actor "REST Client" as C
7 | box "Gateway"
8 | participant "Embedded\nJetty" as GW
9 | participant "Map\n>" as CM
10 | participant "Chain\n" as FC
11 | end box
12 | participant "Hadoop\nService" as S
13 |
14 | C -> GW: GET( URL )
15 | activate GW
16 | GW -> CM: Chain = lookup( URL )
17 | activate CM
18 | deactivate CM
19 | GW -> FC: doFilter
20 | activate FC
21 |
22 | FC -> FC: doFilter*
23 | activate FC
24 | FC -> S: GET( URL' )
25 | activate S
26 | FC <-- S: JSON
27 | deactivate S
28 | FC <-- FC: JSON
29 | deactivate FC
30 |
31 | GW <-- FC: JSON
32 | deactivate FC
33 | C <-- GW: JSON
34 | deactivate GW
35 |
36 | @enduml
--------------------------------------------------------------------------------
/knox-site/docs/dev-guide/runtime-request-processing.puml:
--------------------------------------------------------------------------------
1 | @startuml
2 | title Request Processing Behavior
3 | hide footbox
4 | autonumber
5 |
6 | actor Client as C
7 | participant "Gateway\nServer\n(Jetty)" as GW
8 | participant "Gateway\nServlet" as GS
9 | participant "Gateway\nFilter" as GF
10 | participant "Matcher" as UM
11 | participant "Chain" as FC
12 | participant "Filter" as PF
13 |
14 | C -> GW: GET( URL )
15 | activate C
16 | activate GW
17 | GW -> GS: service
18 | activate GS
19 | GS -> GF: doFilter
20 | activate GF
21 | GF -> UM: match( URL ): Chain
22 | GF -> FC: doFilter
23 | activate FC
24 | FC -> PF: doFilter
25 | activate PF
26 | PF -> PF: doFilter
27 | activate PF
28 | deactivate PF
29 | 'FC <-- PF
30 | deactivate PF
31 | deactivate FC
32 | deactivate GS
33 | deactivate GF
34 | deactivate GW
35 | deactivate C
36 |
37 |
38 | @enduml
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/arrow.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/check.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/check.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/delete-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/delete-icon.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/earth.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/earth.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/error.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image1.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image10.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image11.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image12.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image13.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image14.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image15.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image16.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image17.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image17.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image18.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image19.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image19.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image2.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image20.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image21.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image21.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image22.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image22.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image23.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image23.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image24.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image25.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image25.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image26.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image26.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image27.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image27.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image28.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image28.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image3.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image4.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image5.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image6.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image6.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image7.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image8.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/image9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/image9.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/info.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/ok-button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/ok-button.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/plus-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/plus-icon.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/question.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/question.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/save-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/save-icon.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/star.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/stop.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/tip-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/tip-icon.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/undo-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/undo-icon.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/warning.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/warning.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/adminui/x-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/adminui/x-icon.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/apache-logo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/apache-logo.gif
--------------------------------------------------------------------------------
/knox-site/docs/static/images/knox-logo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knox-logo.gif
--------------------------------------------------------------------------------
/knox-site/docs/static/images/knoxshell/covid19-nj-agg-from-webhdfs-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/covid19-nj-agg-from-webhdfs-1.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/knoxshell/covid19-persistence.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/covid19-persistence.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/knoxshell/covid19csv-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/covid19csv-1.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/knoxshell/covid19nj-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/covid19nj-1.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/knoxshell/covid19nj-aggregate-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/covid19nj-aggregate-1.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/knoxshell/covid19nj-put-webhdfs-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/covid19nj-put-webhdfs-1.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/knoxshell/covid19nj.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/covid19nj.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/knoxshell/fs-mount-login-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/fs-mount-login-1.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/knoxshell/knoxline-splash-2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/knoxline-splash-2.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/knoxshell/knoxshell-help.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/knoxshell/knoxshell-help.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/token/jdbc_tss_db_design.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/token/jdbc_tss_db_design.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/token/knoxtokenmanagement_homepage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/token/knoxtokenmanagement_homepage.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-1.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-fail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-fail.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-successful-doas.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-successful-doas.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-successful.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/token/knoxtokenmanagement_token_generation_ui-successful.png
--------------------------------------------------------------------------------
/knox-site/docs/static/images/token/knoxtokenmanagement_token_management_ui-1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-site/docs/static/images/token/knoxtokenmanagement_token_management_ui-1.png
--------------------------------------------------------------------------------
/knox-site/overrides/main.html:
--------------------------------------------------------------------------------
1 | {#- This file extends the base theme for MkDocs -#}
2 |
18 | {% extends "base.html" %}
19 |
--------------------------------------------------------------------------------
/knox-token-generation-ui/.gitignore:
--------------------------------------------------------------------------------
1 | # ui dependencies
2 | node_modules
3 | bower_components
4 |
5 | # ui misc
6 | .sass-cache
7 | connect.lock
8 | coverage/*
9 | libpeerconnection.log
10 | npm-debug.log
11 | testem.log
12 | .angular
13 |
--------------------------------------------------------------------------------
/knox-token-generation-ui/npm:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | #
3 | # Licensed to the Apache Software Foundation (ASF) under one or more
4 | # contributor license agreements. See the NOTICE file distributed with
5 | # this work for additional information regarding copyright ownership.
6 | # The ASF licenses this file to You under the Apache License, Version 2.0
7 | # (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
19 | PATH="$DIR/target/node/":$PATH
20 | node "$DIR/target/node/node_modules/npm/bin/npm-cli.js" --prefix "$DIR" "$@"
21 |
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/fonts/fontawesome/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontawesome/FontAwesome.otf
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/fonts/fontawesome/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontawesome/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/fonts/fontawesome/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontawesome/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/fonts/fontawesome/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontawesome/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-300.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-300.woff
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-300i.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-300i.woff
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-400.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-400.woff
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-400i.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-400i.woff
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-600.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-600.woff
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-600i.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-600i.woff
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-700.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-700.woff
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-700i.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/fonts/fontopensans/open-sans-700i.woff
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/images/avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/images/avatar.png
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/images/blank.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/images/blank.gif
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/images/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/images/favicon.ico
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/images/knox-logo-white-bg.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/images/knox-logo-white-bg.gif
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/images/knox-logo.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/images/knox-logo.gif
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/images/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/images/loading.gif
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/assets/knox-logo-transparent.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/assets/knox-logo-transparent.gif
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | export const environment = {
18 | production: true
19 | };
20 |
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-generation-ui/token-generation/favicon.ico
--------------------------------------------------------------------------------
/knox-token-generation-ui/token-generation/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "baseUrl": "token-generation",
4 | "declaration": false,
5 | "emitDecoratorMetadata": true,
6 | "experimentalDecorators": true,
7 | "lib": [
8 | "es2017",
9 | "dom"
10 | ],
11 | "mapRoot": "./",
12 | "module": "es6",
13 | "moduleResolution": "node",
14 | "outDir": "../dist/out-tsc",
15 | "sourceMap": true,
16 | "target": "es5",
17 | "typeRoots": [
18 | "../node_modules/@types"
19 | ]
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/knox-token-management-ui/.gitignore:
--------------------------------------------------------------------------------
1 | # ui dependencies
2 | node_modules
3 | bower_components
4 |
5 | # ui misc
6 | .sass-cache
7 | connect.lock
8 | coverage/*
9 | libpeerconnection.log
10 | npm-debug.log
11 | testem.log
12 | .angular
13 |
--------------------------------------------------------------------------------
/knox-token-management-ui/npm:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | #
3 | # Licensed to the Apache Software Foundation (ASF) under one or more
4 | # contributor license agreements. See the NOTICE file distributed with
5 | # this work for additional information regarding copyright ownership.
6 | # The ASF licenses this file to You under the Apache License, Version 2.0
7 | # (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
19 | PATH="$DIR/target/node/":$PATH
20 | node "$DIR/target/node/node_modules/npm/bin/npm-cli.js" --prefix "$DIR" "$@"
21 |
--------------------------------------------------------------------------------
/knox-token-management-ui/token-management/assets/CLIENT_ID.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-management-ui/token-management/assets/CLIENT_ID.png
--------------------------------------------------------------------------------
/knox-token-management-ui/token-management/assets/JWT.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-management-ui/token-management/assets/JWT.png
--------------------------------------------------------------------------------
/knox-token-management-ui/token-management/assets/KNOXSSO_COOKIE.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-management-ui/token-management/assets/KNOXSSO_COOKIE.png
--------------------------------------------------------------------------------
/knox-token-management-ui/token-management/assets/green_checkmark.svg:
--------------------------------------------------------------------------------
1 |
3 |
--------------------------------------------------------------------------------
/knox-token-management-ui/token-management/assets/knox-logo-transparent.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-management-ui/token-management/assets/knox-logo-transparent.gif
--------------------------------------------------------------------------------
/knox-token-management-ui/token-management/assets/yellow_tip.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-management-ui/token-management/assets/yellow_tip.png
--------------------------------------------------------------------------------
/knox-token-management-ui/token-management/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | export const environment = {
18 | production: true
19 | };
20 |
--------------------------------------------------------------------------------
/knox-token-management-ui/token-management/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-token-management-ui/token-management/favicon.ico
--------------------------------------------------------------------------------
/knox-token-management-ui/token-management/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "baseUrl": "tokenmanagement",
4 | "declaration": false,
5 | "emitDecoratorMetadata": true,
6 | "experimentalDecorators": true,
7 | "lib": [
8 | "es2017",
9 | "dom"
10 | ],
11 | "mapRoot": "./",
12 | "module": "es6",
13 | "moduleResolution": "node",
14 | "outDir": "../dist/out-tsc",
15 | "sourceMap": true,
16 | "target": "es5",
17 | "typeRoots": [
18 | "../node_modules/@types"
19 | ]
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/knox-webshell-ui/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | # ui dependencies
3 | node_modules
4 | bower_components
5 |
6 | # ui misc
7 | .sass-cache
8 | connect.lock
9 | coverage/*
10 | libpeerconnection.log
11 | npm-debug.log
12 | testem.log
13 | .angular
--------------------------------------------------------------------------------
/knox-webshell-ui/npm:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env bash
2 | #
3 | # Licensed to the Apache Software Foundation (ASF) under one or more
4 | # contributor license agreements. See the NOTICE file distributed with
5 | # this work for additional information regarding copyright ownership.
6 | # The ASF licenses this file to You under the Apache License, Version 2.0
7 | # (the "License"); you may not use this file except in compliance with
8 | # the License. You may obtain a copy of the License at
9 | #
10 | # http://www.apache.org/licenses/LICENSE-2.0
11 | #
12 | # Unless required by applicable law or agreed to in writing, software
13 | # distributed under the License is distributed on an "AS IS" BASIS,
14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | # See the License for the specific language governing permissions and
16 | # limitations under the License.
17 |
18 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
19 | PATH="$DIR/target/node/":$PATH
20 | node "$DIR/target/node/node_modules/npm/bin/npm-cli.js" --prefix "$DIR" "$@"
21 |
--------------------------------------------------------------------------------
/knox-webshell-ui/tsconfig.app.json:
--------------------------------------------------------------------------------
1 | /* To learn more about this file see: https://angular.io/config/tsconfig. */
2 | {
3 | "extends": "./tsconfig.json",
4 | "files": [
5 | "webshell-ui/main.ts",
6 | "webshell-ui/polyfills.ts"
7 | ],
8 | "include": [
9 | "webshell-ui/**/*.d.ts"
10 | ]
11 | }
12 |
--------------------------------------------------------------------------------
/knox-webshell-ui/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "baseUrl": "./",
4 | "declaration": false,
5 | "emitDecoratorMetadata": true,
6 | "experimentalDecorators": true,
7 | "lib": [
8 | "es2017",
9 | "dom"
10 | ],
11 | "mapRoot": "./",
12 | "module": "es6",
13 | "moduleResolution": "node",
14 | "outDir": "./dist/out-tsc",
15 | "sourceMap": true,
16 | "target": "es5"
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/knox-webshell-ui/webshell-ui/app/app.component.css:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 | :host {
19 | width: 100vw;
20 | height: 100vh;
21 | display: block;
22 | }
23 |
--------------------------------------------------------------------------------
/knox-webshell-ui/webshell-ui/app/app.component.html:
--------------------------------------------------------------------------------
1 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/knox-webshell-ui/webshell-ui/environments/environment.prod.ts:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one or more
3 | * contributor license agreements. See the NOTICE file distributed with
4 | * this work for additional information regarding copyright ownership.
5 | * The ASF licenses this file to You under the Apache License, Version 2.0
6 | * (the "License"); you may not use this file except in compliance with
7 | * the License. You may obtain a copy of the License at
8 | *
9 | * http://www.apache.org/licenses/LICENSE-2.0
10 | *
11 | * Unless required by applicable law or agreed to in writing, software
12 | * distributed under the License is distributed on an "AS IS" BASIS,
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 | * See the License for the specific language governing permissions and
15 | * limitations under the License.
16 | */
17 | export const environment = {
18 | production: true
19 | };
20 |
--------------------------------------------------------------------------------
/knox-webshell-ui/webshell-ui/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/apache/knox/9b82349f298b251969b07e8a6ccf3c3207b28870/knox-webshell-ui/webshell-ui/favicon.ico
--------------------------------------------------------------------------------
/knox-webshell-ui/webshell-ui/styles.css:
--------------------------------------------------------------------------------
1 | /*
2 | * Licensed to the Apache Software Foundation (ASF) under one
3 | * or more contributor license agreements. See the NOTICE file
4 | * distributed with this work for additional information
5 | * regarding copyright ownership. The ASF licenses this file
6 | * to you under the Apache License, Version 2.0 (the
7 | * "License"); you may not use this file except in compliance
8 | * with the License. You may obtain a copy of the License at
9 | *
10 | * http://www.apache.org/licenses/LICENSE-2.0
11 | *
12 | * Unless required by applicable law or agreed to in writing, software
13 | * distributed under the License is distributed on an "AS IS" BASIS,
14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 | * See the License for the specific language governing permissions and
16 | * limitations under the License.
17 | */
18 |
19 | /* You can add global styles to this file, and also import other style files */
20 |
--------------------------------------------------------------------------------
/src/stage.txt:
--------------------------------------------------------------------------------
1 | The release candidate has been prepared in:
2 |
3 | candidate
4 |
5 | Please stage it to https://dist.apache.org/repos/dist/dev/knox like this:
6 |
7 | ant stage-candidate
8 |
9 | A release vote template has been generated here:
10 |
11 | target/vote.txt
12 |
--------------------------------------------------------------------------------
/src/vote.txt:
--------------------------------------------------------------------------------
1 | From: ${release-manager}@apache.org
2 | To: dev@${gateway-project}.apache.org
3 | Subject: [VOTE] Release ${gateway-name} ${gateway-version}
4 |
5 | A candidate for the ${gateway-name} ${gateway-version} release is available at:
6 |
7 | https://dist.apache.org/repos/dist/dev/${gateway-project}/${gateway-project}-${gateway-version}/
8 |
9 | The release candidate is a zip archive of the sources in:
10 |
11 | https://https://gitbox.apache.org/repos/asf/knox.git
12 | Branch v${gateway-version} (git checkout -b v${gateway-version})
13 |
14 | The KEYS file for signature validation is available at: https://dist.apache.org/repos/dist/release/knox/KEYS
15 |
16 | Please vote on releasing this package as ${gateway-name} ${gateway-version}.
17 | The vote is open for the next 72 hours and passes if a majority of at
18 | least three +1 ${gateway-name} PMC votes are cast.
19 |
20 | [ ] +1 Release this package as ${gateway-name} ${gateway-version}
21 | [ ] -1 Do not release this package because...${line.separator}
22 |
--------------------------------------------------------------------------------