Skip to content

Commit c28aea5

Browse files
Merge pull request #121 from peter-mcclonski/103-thrift-server-chart
#103 thrift server chart
2 parents 0122b06 + 17668fb commit c28aea5

30 files changed

+1229
-25
lines changed

extensions/extensions-helm/extensions-helm-spark-infrastructure/aissemble-spark-history-chart/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Baseline Helm chart for deploying the Spark History Server. Chart is built and m
44
# Basic usage with Helm CLI
55
To use the module, perform [extension-helm setup](../README.md#leveraging-extensions-helm) and override the chart version with the desired aiSSEMBLE version. For example:
66
```bash
7-
helm install spark-operator ghcr.io/boozallen/aissemble-spark-history-chart --version <AISSEMBLE-VERSION>
7+
helm install spark-history ghcr.io/boozallen/aissemble-spark-history-chart --version <AISSEMBLE-VERSION>
88
```
99
_**NOTE:**_ *the version should match the aiSSEMBLE project version.*
1010

extensions/extensions-helm/extensions-helm-spark-infrastructure/aissemble-spark-history-chart/pom.xml

+1-9
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@
1818
<plugin>
1919
<groupId>${group.helm.plugin}</groupId>
2020
<artifactId>helm-maven-plugin</artifactId>
21-
<configuration>
22-
<values>
23-
<!-- sets the spark-operator chart to make use of the current project version for our image -->
24-
<overrides>
25-
<spark-operator.image.tag>${project.version}</spark-operator.image.tag>
26-
</overrides>
27-
</values>
28-
</configuration>
2921
</plugin>
3022
<plugin>
3123
<groupId>org.codehaus.mojo</groupId>
@@ -38,4 +30,4 @@
3830
</plugins>
3931
</build>
4032

41-
</project>
33+
</project>

extensions/extensions-helm/extensions-helm-spark-infrastructure/aissemble-spark-history-chart/templates/configmap.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v1
33
kind: ConfigMap
44
metadata:
5-
name: {{ .Release.Name }}-spark-conf
5+
name: {{ .Release.Name }}-shs-spark-conf
66
data:
77
sparkConf:
88
{{- toYaml .Values.sparkConf | nindent 8 }}

extensions/extensions-helm/extensions-helm-spark-infrastructure/aissemble-spark-history-chart/templates/deployment.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: apps/v1
33
kind: Deployment
44
metadata:
5-
name: {{ .Release.Name }}
5+
name: {{ .Release.Name }}-shs
66
{{- if .Values.deployment.annotations }}
77
annotations:
88
{{ toYaml .Values.deployment.annotations | default "" }}
@@ -112,7 +112,7 @@ spec:
112112
{{- if not (eq .Values.sparkConf "") }}
113113
- name: spark-config
114114
configMap:
115-
name: {{ .Release.Name }}-spark-conf
115+
name: {{ .Release.Name }}-shs-spark-conf
116116
items:
117117
- key: sparkConf
118118
path: spark-defaults.conf

extensions/extensions-helm/extensions-helm-spark-infrastructure/aissemble-spark-history-chart/templates/ingress.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: networking.k8s.io/v1
33
kind: Ingress
44
metadata:
5-
name: {{ .Release.Name }}-ingress
5+
name: {{ .Release.Name }}-shs-ingress
66
{{- with .Values.ingress.metadata.annotations }}
77
annotations:
88
{{- toYaml . | nindent 8 }}

extensions/extensions-helm/extensions-helm-spark-infrastructure/aissemble-spark-history-chart/templates/service.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: v1
33
kind: Service
44
metadata:
5-
name: {{ .Release.Name }}-service
5+
name: {{ .Release.Name }}-shs-service
66
{{- if .Values.service.annotations }}
77
annotations: {{ .Values.service.annotations }}
88
{{- end }}

extensions/extensions-helm/extensions-helm-spark-infrastructure/aissemble-spark-history-chart/tests/ingress_test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ tests:
3939
asserts:
4040
- equal:
4141
path: metadata.name
42-
value: RELEASE-NAME-ingress
42+
value: RELEASE-NAME-shs-ingress
4343
- notExists:
4444
path: metadata.annotations
4545

extensions/extensions-helm/extensions-helm-spark-infrastructure/aissemble-spark-history-chart/tests/service_test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ tests:
1919
count: 1
2020
- equal:
2121
path: metadata.name
22-
value: RELEASE-NAME-service
22+
value: RELEASE-NAME-shs-service
2323
- notExists:
2424
path: metadata.annotations
2525
- equal:

extensions/extensions-helm/extensions-helm-spark-infrastructure/aissemble-spark-history-chart/tests/spark_conf_test.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ tests:
2525
- notFailedTemplate: {}
2626
- equal:
2727
path: metadata.name
28-
value: "RELEASE-NAME-spark-conf"
28+
value: "RELEASE-NAME-shs-spark-conf"
2929
- equal:
3030
path: data.sparkConf
3131
value: "spark.executor.instances: 2"
@@ -41,7 +41,7 @@ tests:
4141
content:
4242
name: spark-config
4343
configMap:
44-
name: RELEASE-NAME-spark-conf
44+
name: RELEASE-NAME-shs-spark-conf
4545
items:
4646
- key: sparkConf
4747
path: spark-defaults.conf
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
target
2+
pom.xml
3+
examples/*
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: aissemble-thrift-server-chart
3+
# Version is automatically set by the plugin so this is only a placeholder
4+
version: 1.0.0
5+
apiVersion: v2
6+
description: Baseline Spark History chart -- see the extensions-helm directory in aiSSEMBLE for more details.
7+
# App Version is automatically set by the plugin so this is only a placeholder
8+
appVersion: 1.0.0
9+
sources:
10+
- https://github.com/boozallen/aissemble
11+
dependencies: []
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
Booz Allen Public License v1.0
2+
------------------------------
3+
4+
INTRODUCTION
5+
The Booz Allen Public License allows government, non-profit academic, other non-profit, and commercial entities access to distinctive, disruptive, and robust code with the goal of Empowering People to Change the World(SM). Products licensed under the Booz Allen Public License are founded on the basis that collective ingenuity can make the largest impact in the community.
6+
7+
DEFINITIONS
8+
* **Commercial Entity.** “Commercial Entity” means any individual or entity other than a government, non-profit academic, or other non-profit entity.
9+
* **Derivative.** “Derivative” means any work of authorship in Source Code or Object Code form that results from an addition to, deletion from, or modification of the Source Code of the Product.
10+
* **License.** “License” means this Booz Allen Public License.
11+
* **Object Code.** “Object Code” means the form resulting from transformation or translation of Source Code into machine readable code, including but not limited to, compiled object code.
12+
* **Originator.** “Originator” means each individual or legal entity that creates, contributes to the creation of, or owns the Product.
13+
* **Patent Claims.** “Patent Claims” means any patent claim(s) in any patent to which Originator has a right to grant a license that would be infringed by Your making, using, selling, offering for sale, having made, or importing of the Product, but for the grant of this License.
14+
* **Product.** “Product” means the Source Code of the software which the initial Originator made available under this License, and any Derivative of such Source Code.
15+
* **Source Code.** “Source Code” means software in human-readable form.
16+
* **You.** “You” means either an individual or an entity (if you are taking this license on behalf of an entity) that exercises the rights granted under this License.
17+
18+
LICENSE
19+
**Government/Non-Profit Academic/Other Non-Profit.**
20+
This Section applies if You are not a Commercial Entity.
21+
22+
* **License.** Subject to the terms and conditions of this License, each Originator hereby grants You a perpetual, worldwide, non-exclusive, royalty-free license to reproduce, display, perform, modify, distribute and otherwise use the Product and Derivatives, in Source Code and Object Code form, in accordance with the terms and conditions of this License in order to support the general public good and for your internal business purposes.
23+
* **Distribution.** You may distribute to third parties copies of the Product, including any Derivative that You create, in Source Code or Object Code form. If You distribute copies of the Product, including any Derivative that You create, in Source Code form, such distribution must be under the terms of this License and You must inform recipients of the Source Code that the Product is governed under this License and how they can obtain a copy of this License. You may distribute to third parties copies of the Product, including any Derivative that You create, in Object Code form, or allow third parties to access or use the Product, including any Derivative that You create, under a license of Your choice.
24+
* **Commercial Sales.** You may not distribute, or allow third parties to access or use, the Product or any Derivative for a fee, unless You first obtain permission from the Originator. If Booz Allen Hamilton is the Originator, please contact Booz Allen Hamilton at <opensource@bah.com>.
25+
26+
**Commercial Entities**.
27+
This Section applies if You are a Commercial Entity.
28+
29+
* **License.** Subject to the terms and conditions of this License, each Originator hereby grants You a perpetual, worldwide, non-exclusive, royalty-free license to reproduce, display, perform, modify, distribute and otherwise use the Product and Derivatives, in Source Code and Object Code form, in accordance with the terms and conditions of this License for the sole purpose of Your internal business purposes and the provision of services to government, non-profit academic, and other non-profit entities.
30+
* **Distribution and Derivatives.** You may distribute to third parties copies of the Product, including any Derivative that You create, in Source Code or Object Code form. If You distribute copies of the Product, including any Derivative that You create, in Source Code form, such distribution must be under the terms of this License and You must inform recipients of the Source Code that the Product is governed under this License and how they can obtain a copy of this License. You may distribute to third parties copies of the Product, including any Derivative that You create, in Object Code form, or allow third parties to access or use the Product, including any Derivative that You create, under a license of Your choice, provided that You make available, and inform the recipient of such distribution how they can obtain, a copy of the Source Code thereof, at no charge, and inform the recipient of the Source Code that the Product is governed under this License and how they can obtain a copy of this License.
31+
* **Commercial Sales.** You may not distribute, or allow third parties to access or use, the Product or any Derivative for a fee, unless You first obtain permission from the Originator. If Booz Allen Hamilton, please contact Booz Allen Hamilton at <opensource@bah.com>.
32+
33+
34+
**Patent Claim(s)**.
35+
This Section applies regardless of whether You are a government, non-profit academic, or other non-profit entity or a Commercial Entity.
36+
37+
* **Patent License.** Subject to the limitations in the Sections above, each Originator hereby grants You a perpetual, worldwide, non-exclusive, royalty-free license under Patent Claims of such Originator to make, use, sell, offer for sale, have made, and import the Product. The foregoing patent license does not apply (a) to any code that an Originator has removed from the Product, or (b) for infringement caused by Your modifications of the Product or the combination of any Derivative created by You or on Your behalf with other software.
38+
39+
GENERAL TERMS
40+
This Section applies regardless of whether You are a government, non-profit academic, or other non-profit entity or a Commercial Entity.
41+
42+
* **Required Notices.** If You distribute the Product or a Derivative, in Object Code or Source Code form, You shall not remove or otherwise modify any proprietary markings or notices contained within or placed upon the Product or any Derivative. Any distribution of the Product or a Derivative, in Object Code or Source Code form, shall contain a clear and conspicuous Originator copyright and license reference in accordance with the below:
43+
* *Unmodified Product Notice*: “This software package is licensed under the Booz Allen Public License. Copyright © 20__ [Copyright Holder Name]. All Rights Reserved.”
44+
* *Derivative Notice*: “This software package is licensed under the Booz Allen Public License. Portions of this code are Copyright © 20__ [Copyright Holder Name]. All Rights Reserved.”
45+
* **Compliance with Laws.** You agree that You shall not reproduce, display, perform, modify, distribute and otherwise use the Product in any way that violates applicable law or regulation or infringes or violates the rights of others, including, but not limited to, third party intellectual property, privacy, and publicity rights.
46+
* **Disclaimer.** You understand that the Product is licensed to You, and not sold. The Product is provided on an “As Is” basis, without any warranties, representations, and guarantees, whether oral or written, express, implied or statutory, with regard to the Product, including without limitation, warranties of merchantability, fitness for a particular purpose, title, non-infringement, non-interference, and warranties arising from course of dealing or usage of trade, to the maximum extent permitted by applicable law. Originator does not warrant that (i) the Product will meet your needs; (ii) the Product will be error-free or accessible at all times; or (iii) the use or the results of the use of the Product will be correct, accurate, timely, or otherwise reliable. You acknowledge that the Product has not been prepared to meet Your individual requirements, whether or not such requirements have been communicated to Originator. You assume all responsibility for use of the Product.
47+
* **Limitation of Liability.** Under no circumstances and under no legal theory, whether tort (including negligence), contract, or otherwise, shall any Originator, or anyone who distributes the Product in accordance with this License, be liable to You for any direct, indirect, special, incidental, or consequential damages of any character including, without limitation, damages for lost profits, loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses, even if informed of the possibility of such damages.
48+
* **Export Control.** The Product is subject to U.S. export control laws and may be subject to export or import regulations in other countries. You agree to strictly comply with all such laws and regulations and acknowledges that You are responsible for obtaining such licenses to export, re-export, or import as may be required.
49+
* **Severability.** If the application of any provision of this License to any particular facts or circumstances shall be held to be invalid or unenforceable, then the validity and enforceability of other provisions of this License shall not in any way be affected or impaired thereby.

0 commit comments

Comments
 (0)