Skip to content

Commit 0a48c5d

Browse files
committed
First commit
0 parents  commit 0a48c5d

89 files changed

Lines changed: 8908 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Copyright 2025 American Express Travel Related Services Company, Inc.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
4+
# in compliance with the License. You may obtain a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software distributed under the License
9+
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
10+
# or implied. See the License for the specific language governing permissions and limitations under
11+
# the License.
12+
13+
version: 2.1
14+
15+
commands:
16+
configure-gpg:
17+
description: |
18+
Configure GPG private keys.
19+
steps:
20+
- run:
21+
command: echo $ORG_GRADLE_PROJECT_signingKey_base64 | base64 --decode | gpg --batch --no-tty --import --yes
22+
name: Configure GPG private key for signing project artifacts in OSS Sonatype
23+
24+
workflows:
25+
version: 2
26+
build:
27+
jobs:
28+
- build:
29+
context:
30+
- maven_central_credentials
31+
- code_signing_credentials
32+
filters:
33+
branches:
34+
only:
35+
- main
36+
37+
jobs:
38+
build:
39+
docker:
40+
- image: cimg/openjdk:8.0
41+
steps:
42+
- checkout
43+
- restore_cache:
44+
key: unify-simple-decision-table-{{ checksum "pom.xml" }}
45+
- configure-gpg
46+
- run: mvn --settings ".circleci/settings.xml" -B -DskipTests clean deploy
47+
- save_cache: # saves the project dependencies
48+
paths:
49+
- ~/.m2
50+
key: unify-simple-decision-table-{{ checksum "pom.xml" }}

.circleci/settings.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<!--
3+
~ Copyright 2025 American Express Travel Related Services Company, Inc.
4+
~
5+
~ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
6+
~ in compliance with 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 distributed under the License
11+
~ is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12+
~ or implied. See the License for the specific language governing permissions and limitations under
13+
~ the License.
14+
-->
15+
16+
<settings xsi:schemaLocation='http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd'
17+
xmlns='http://maven.apache.org/SETTINGS/1.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
18+
<servers>
19+
<server>
20+
<id>central</id>
21+
<username>${env.MAVEN_CENTRAL_USERNAME}</username>
22+
<password>${env.MAVEN_CENTRAL_PASSWORD}</password>
23+
</server>
24+
<server>
25+
<id>github</id>
26+
<username>${env.GITHUB_USERNAME}</username>
27+
<password>${env.GITHUB_EMAIL}</password>
28+
</server>
29+
</servers>
30+
<profiles>
31+
<profile>
32+
<id>central</id>
33+
<activation>
34+
<activeByDefault>true</activeByDefault>
35+
</activation>
36+
<properties>
37+
<gpg.passphraseEnvName>ORG_GRADLE_PROJECT_signingPassword</gpg.passphraseEnvName>
38+
</properties>
39+
</profile>
40+
</profiles>
41+
</settings>

.gitignore

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# Copyright 2025 American Express Travel Related Services Company, Inc.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
4+
# in compliance with the License. You may obtain a copy of the License at
5+
#
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software distributed under the License
9+
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
10+
# or implied. See the License for the specific language governing permissions and limitations under
11+
# the License.
12+
13+
**/target
14+
15+
######################
16+
# Eclipse
17+
######################
18+
*.pydevproject
19+
.project
20+
.metadata
21+
.gradle
22+
.idea
23+
/bin/**
24+
/tmp/**
25+
/tmp/**/*
26+
*.tmp
27+
*.bak
28+
*.swp
29+
*~.nib
30+
local.properties
31+
.classpath
32+
.settings/**
33+
.loadpath
34+
*.launch
35+
.cproject
36+
.buildpath
37+
38+
######################
39+
# Netbeans
40+
######################
41+
nb-configuration*
42+
43+
######################
44+
# Intellij
45+
######################
46+
.idea/**
47+
*.iml
48+
*.iws
49+
*.ipr
50+
*.ids
51+
*.orig
52+
53+
######################
54+
# Maven
55+
######################
56+
/log/**
57+
58+
######################
59+
# Package Files
60+
######################
61+
*.war
62+
*.ear
63+
*.db
64+
65+
######################
66+
# Windows
67+
######################
68+
# Windows image file caches
69+
Thumbs.db
70+
71+
# Folder config file
72+
Desktop.ini
73+
74+
######################
75+
# Mac OSX
76+
######################
77+
.DS_Store
78+
.svn
79+
80+
# Thumbnails
81+
._*
82+
83+
######################
84+
# Others
85+
######################
86+
*.class
87+
*.*~
88+
*~
89+
.merge_file*
90+
**/nbactions.xml
91+
/bin/

CODE_OF_CONDUCT.md

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
### American Express Open Source Community Guidelines
2+
3+
#### Last Modified: January 29, 2016
4+
5+
Welcome to the American Express Open Source Community on GitHub! These American Express Community
6+
Guidelines outline our expectations for GitHub participating members within the American Express
7+
community, as well as steps for reporting unacceptable behavior. We are committed to providing a
8+
welcoming and inspiring community for all and expect our community Guidelines to be honored.
9+
10+
**IMPORTANT REMINDER:**
11+
12+
When you visit American Express on any third party sites such as GitHub your activity there is
13+
subject to that site’s then current terms of use., along with their privacy and data security
14+
practices and policies. The GitHub platform is not affiliated with us and may have practices and
15+
policies that are different than are our own.
16+
17+
Please note, American Express is not responsible for, and does not control, the GitHub site’s terms
18+
of use, privacy and data security practices and policies. You should, therefore, always exercise
19+
caution when posting, sharing or otherwise taking any action on that site and, of course, on the
20+
Internet in general.
21+
22+
Our open source community strives to:
23+
- **Be friendly and patient**.
24+
- **Be welcoming**: We strive to be a community that welcomes and supports people of all
25+
backgrounds and identities. This includes, but is not limited to members of any race, ethnicity,
26+
culture, national origin, color, immigration status, social and economic class, educational level,
27+
sex, sexual orientation, gender identity and expression, age, size, family status, political belief,
28+
religion, and mental and physical ability.
29+
- **Be considerate**: Your work will be used by other people, and you in turn will depend on the
30+
work of others. Any decision you take will affect users and colleagues, and you should take those
31+
consequences into account when making decisions. Remember that we're a world-wide community, so you
32+
might not be communicating in someone else's primary language.
33+
- **Be respectful**: Not all of us will agree all the time, but disagreement is no excuse for poor
34+
behavior and poor manners. We might all experience some frustration now and then, but we cannot
35+
allow that frustration to turn into a personal attack. It’s important to remember that a community
36+
where people feel uncomfortable or threatened is not a productive one.
37+
- **Be careful in the words that we choose**: We are a community of professionals, and we conduct
38+
ourselves professionally. Be kind to others. Do not insult or put down other participants.
39+
Harassment and other exclusionary behavior aren't acceptable.
40+
- **Try to understand why we disagree**: Disagreements, both social and technical, happen all the
41+
time. It is important that we resolve disagreements and differing views constructively. Remember
42+
that we’re all different people. The strength of our community comes from its diversity, people from
43+
a wide range of backgrounds. Different people have different perspectives on issues. Being unable to
44+
understand why someone holds a viewpoint doesn’t mean that they’re wrong. Don’t forget that it is
45+
human to err and blaming each other doesn’t get us anywhere. Instead, focus on helping to resolve
46+
issues and learning from mistakes.
47+
48+
### Definitions
49+
Harassment includes, but is not limited to:
50+
- Offensive comments related to gender, gender identity and expression, sexual orientation,
51+
disability, mental illness, neuro(a)typicality, physical appearance, body size, race, age, regional
52+
discrimination, political or religious affiliation
53+
- Unwelcome comments regarding a person’s lifestyle choices and practices, including those related
54+
to food, health, parenting, drugs, and employment
55+
- Deliberate misgendering. This includes deadnaming or persistently using a pronoun that does not
56+
correctly reflect a person's gender identity. You must address people by the name they give you when
57+
not addressing them by their username or handle
58+
- Physical contact and simulated physical contact (eg, textual descriptions like “hug” or “backrub”)
59+
without consent or after a request to stop
60+
- Threats of violence, both physical and psychological
61+
- Incitement of violence towards any individual, including encouraging a person to commit suicide
62+
or to engage in self-harm
63+
- Deliberate intimidation
64+
- Stalking or following
65+
- Harassing photography or recording, including logging online activity for harassment purposes
66+
- Sustained disruption of discussion
67+
- Unwelcome sexual attention, including gratuitous or off-topic sexual images or behaviour
68+
- Pattern of inappropriate social contact, such as requesting/assuming inappropriate levels of
69+
intimacy with others
70+
- Continued one-on-one communication after requests to cease
71+
- Deliberate “outing” of any aspect of a person’s identity without their consent except as necessary
72+
to protect others from intentional abuse
73+
- Publication of non-harassing private communication
74+
75+
Our open source community prioritizes marginalized people’s safety over privileged people’s comfort.
76+
We will not act on complaints regarding:
77+
- ‘Reverse’ -isms, including ‘reverse racism,’ ‘reverse sexism,’ and ‘cisphobia’
78+
- Reasonable communication of boundaries, such as “leave me alone,” “go away,” or “I’m not
79+
discussing this with you”
80+
- Refusal to explain or debate social justice concepts
81+
- Communicating in a ‘tone’ you don’t find congenial
82+
- Criticizing racist, sexist, cissexist, or otherwise oppressive behavior or assumptions
83+
84+
### Diversity Statement
85+
We encourage everyone to participate and are committed to building a community for all. Although we
86+
will fail at times, we seek to treat everyone both as fairly and equally as possible. Whenever a
87+
participant has made a mistake, we expect them to take responsibility for it. If someone has been
88+
harmed or offended, it is our responsibility to listen carefully and respectfully, and do our best
89+
to right the wrong.
90+
91+
Although this list cannot be exhaustive, we explicitly honor diversity in age, gender, gender
92+
identity or expression, culture, ethnicity, language, national origin, political beliefs,
93+
profession, race, religion, sexual orientation, socioeconomic status, and technical ability. We will
94+
not tolerate discrimination based on any of the protected characteristics above, including
95+
participants with disabilities.
96+
97+
### Reporting Issues
98+
If you experience or witness unacceptable behavior—or have any other concerns—please report it by
99+
contacting us at opensource@aexp.com. All reports will be handled with discretion. In your report
100+
please include:
101+
- Your contact information.
102+
- Names (real, nicknames, or pseudonyms) of any individuals involved. If there are additional
103+
witnesses, please include them as well. Your account of what occurred, and if you believe the
104+
incident is ongoing. If there is a publicly available record (e.g. a mailing list archive or a
105+
public IRC logger), please include a link.
106+
- Any additional information that may be helpful.
107+
108+
After filing a report, a representative of our community will contact you personally, review the
109+
incident, follow up with any additional questions, and make a decision as to how to respond. If the
110+
person who is harassing you is part of the response team, they will recuse themselves from handling
111+
your incident. If the complaint originates from a member of the response team, it will be handled by
112+
a different member of the response team. We will respect confidentiality requests for the purpose of
113+
protecting victims of abuse.
114+
115+
### Removal of Posts
116+
We will not review every comment or post, but we reserve the right to remove any that violates these
117+
Guidelines or that, in our sole discretion, we otherwise consider objectionable and we may ban
118+
offenders from our community.
119+
120+
### Suspension/Termination/Reporting to Authority
121+
In certain instances, we may suspend, terminate or ban certain repeat offenders and/or those
122+
committing significant violations of these Guidelines. When appropriate, we may also, on our own or
123+
as required by the GitHub terms of use, be required to refer and/or work with GitHub and/or the
124+
appropriate authorities to review and/or pursue certain violations.
125+
126+
### Attribution & Acknowledgements
127+
These Guidelines have been adapted from the
128+
[Code of Conduct of the TODO group](http://todogroup.org/opencodeofconduct/). They are subject to
129+
revision by American Express and may be revised from time to time.
130+
131+
Thank you for your participation!

0 commit comments

Comments
 (0)