Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build platforms #11

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
8d731e7
Initial updates to README.
ryanlunka Nov 4, 2021
c76346c
Added some examples.
ryanlunka Nov 5, 2021
9078755
Merge pull request #28 from blendededge/feature/readme
ryanlunka Jan 6, 2022
1b685d8
Added log if no url exists after JSONata transformation
kerriannercrawford Jan 14, 2022
2b3d0e8
Merge pull request #29 from blendededge/enhancement/log-missing-url
kerriannercrawford Jan 14, 2022
f0e6701
Merge branch 'openintegrationhub:master' into master
winklerj Jan 18, 2022
8ba5b7e
Bump follow-redirects from 1.14.4 to 1.14.8
dependabot[bot] Feb 14, 2022
8b05b02
Merge pull request #31 from blendededge/dependabot/npm_and_yarn/follo…
winklerj Mar 3, 2022
5c202db
Bump url-parse from 1.5.3 to 1.5.10
dependabot[bot] Mar 3, 2022
0a2c26d
Merge pull request #33 from blendededge/dependabot/npm_and_yarn/url-p…
winklerj Mar 3, 2022
dd9e4d2
add jsdoc comments
BirdHighway Apr 13, 2022
0bb0c58
add comments and types for clarification
BirdHighway Apr 13, 2022
ddd18d8
pass attachments object to processedRequestOperations
BirdHighway Apr 13, 2022
6d84c04
modify attachments object when handling upload
BirdHighway Apr 13, 2022
6f747d7
add default local dns name for attachment storage service
BirdHighway Apr 13, 2022
0344058
fix issue with logger on static method
BirdHighway Apr 13, 2022
f0f7b87
add ability to use token in step config
BirdHighway Apr 13, 2022
aae3aa0
use orchestrator token but allow config override
BirdHighway Apr 13, 2022
dddcea5
switch to Apache-2.0 license
BirdHighway Apr 13, 2022
41fe0fd
install ferryman-extensions
BirdHighway Apr 14, 2022
420f50a
wrap emitter to enable passthrough
BirdHighway Apr 14, 2022
ed41c1c
correct module path
BirdHighway Apr 14, 2022
99164dd
default to prod environment namespace
BirdHighway Apr 14, 2022
9e834d8
Merge pull request #36 from blendededge/attachment-support
BirdHighway Apr 14, 2022
7d0b792
upgrade ferryman extensions to fix bug
BirdHighway Apr 14, 2022
697af36
Merge branch 'master' into component-upgrades
BirdHighway Apr 14, 2022
34763e2
Merge pull request #37 from blendededge/component-upgrades
BirdHighway Apr 14, 2022
bd33914
Updated authorization header logic
kerriannercrawford Apr 26, 2022
7fa5caf
Merge branch 'master' into bug-fix/auth-header
kerriannercrawford Apr 26, 2022
ef9694a
Ran npm audit fix
kerriannercrawford Apr 26, 2022
a0a2c6f
Added Authorization to test
kerriannercrawford Apr 26, 2022
bcfa147
renamed header
kerriannercrawford Apr 27, 2022
861408f
Merge pull request #39 from blendededge/bug-fix/auth-header
kerriannercrawford Apr 27, 2022
bc5f8f5
upgrade ferryman and ferryman-extensions
BirdHighway Apr 27, 2022
58531b2
replace custom AttachmentProcessor with ferryman-extensions version
BirdHighway Apr 27, 2022
d0aaade
update documentation with attachmentServiceUrl info
BirdHighway Apr 27, 2022
668b2ea
Merge pull request #40 from blendededge/attachment-processor-external…
BirdHighway Apr 27, 2022
e9d0e58
ensure mime type is compatible with attachment storage service
BirdHighway Apr 28, 2022
0b4d934
Merge pull request #41 from blendededge/convert-to-accepted-type
BirdHighway Apr 28, 2022
0e03776
upgrade ferryman-extensions to v1.1.2
BirdHighway May 4, 2022
4061f49
Merge pull request #42 from blendededge/ferryman-extensions-1-1-2
winklerj May 4, 2022
81346d1
Changed release event and updated version command
winklerj May 4, 2022
f722244
Merge pull request #43 from blendededge/update-workflow
winklerj May 4, 2022
c7e9084
Updated tag workflow
winklerj May 4, 2022
634805c
Merge pull request #44 from blendededge/update-release-workflow
winklerj May 4, 2022
36bdbb4
[skip actions] npm version release v2.0.0
winklerj May 4, 2022
3b4f77f
Update README.md
ryanlunka Jun 2, 2022
ff542b8
Merge pull request #45 from blendededge/feature/documentation
ryanlunka Jun 3, 2022
edf2901
removed OIH snapshot from request body
kerriannercrawford Jun 19, 2022
d0864e3
Updated obj to deep clone
kerriannercrawford Jun 20, 2022
3d86064
Merge pull request #46 from blendededge/remove-snapshot
kerriannercrawford Jun 21, 2022
f80cff0
install xml2js
BirdHighway Jul 18, 2022
7bf258a
parse xml content types as xml
BirdHighway Jul 18, 2022
d804f6e
add explanation for explicitArray field
BirdHighway Jul 18, 2022
75b0605
update tests to expect parsed xml
BirdHighway Jul 18, 2022
718d9ab
add test for xml explicitArray
BirdHighway Jul 18, 2022
3637c19
upgrade ferryman-extensions to 1.2.1
BirdHighway Jul 18, 2022
ff8d3bf
upgrade ferryman to 2.1.1
BirdHighway Jul 18, 2022
200adb6
Merge pull request #47 from blendededge/parse-xml-responses
BirdHighway Jul 18, 2022
471e3cd
Bump moment from 2.29.2 to 2.29.4
dependabot[bot] Jul 18, 2022
fcfeda9
[skip actions] npm version release v2.1.0
winklerj Jul 19, 2022
7ab610e
Added additional error fields to dontThrowErrorFlg
kerriannercrawford Aug 9, 2022
f00f22e
Updated component error log
kerriannercrawford Aug 9, 2022
a7fb834
Removed unnecessary comment
kerriannercrawford Aug 9, 2022
3cfb3dc
Change log to stringify the error
kerriannercrawford Aug 9, 2022
8400f4d
Merge pull request #49 from blendededge/enhancement/dontThrowErrorFlg
kerriannercrawford Aug 9, 2022
82235b8
[skip actions] npm version release v2.1.1
winklerj Aug 9, 2022
222c35e
Added Axios connection error to rebound check
kerriannercrawford Sep 29, 2022
1ab5627
Added delay test
kerriannercrawford Sep 29, 2022
4872f75
Merge pull request #51 from blendededge/enhancement/enableRebound
kerriannercrawford Sep 29, 2022
b18cb19
[skip actions] npm version release v2.1.2
winklerj Sep 29, 2022
79f15e2
Merge pull request #48 from blendededge/dependabot/npm_and_yarn/momen…
winklerj Oct 26, 2022
35ecb42
changes needed for open telemetry
BirdHighway Jan 25, 2023
9d56dfe
set service name as env variable
BirdHighway Jan 25, 2023
04ea67a
upgrade ferryman-extensions to ^1.3.1
BirdHighway Jan 26, 2023
07e69a1
update yarn.lock file
BirdHighway Jan 26, 2023
fe6b46e
fix tests
BirdHighway Jan 26, 2023
bcd507e
restore deleted line and bump node version
BirdHighway Jan 26, 2023
ec55190
bump github actions node version to 14
BirdHighway Jan 26, 2023
f2e1c67
Update utils.js
winklerj May 23, 2023
37fd8b6
Merge pull request #53 from blendededge/open-telemetry-support
winklerj May 24, 2023
caf1f97
Merge branch 'master' of https://github.com/blendededge/REST-API-comp…
winklerj May 24, 2023
bff6ff4
Default headers to empty array
winklerj May 24, 2023
ee7e019
Merge pull request #56 from blendededge/winklerj-patch-1
winklerj May 24, 2023
8e1469c
Bump xml2js from 0.4.23 to 0.5.0
dependabot[bot] May 24, 2023
a4d106f
Merge pull request #55 from blendededge/dependabot/npm_and_yarn/xml2j…
winklerj May 24, 2023
984d9b2
[skip actions] npm version release v2.2.0
winklerj May 24, 2023
619c036
Bump semver from 5.7.1 to 5.7.2
dependabot[bot] Jul 12, 2023
02cd3f3
Merge pull request #57 from blendededge/dependabot/npm_and_yarn/semve…
winklerj Jul 18, 2023
9d98f07
Add response body and other error data to logging
winklerj Aug 31, 2023
86fbc4c
Merge pull request #60 from blendededge/error-response-body-logging
winklerj Aug 31, 2023
8d0918f
Refactored logging response body
winklerj Aug 31, 2023
6879bcd
Merge pull request #61 from blendededge/error-response-body-logging
winklerj Aug 31, 2023
d1809f0
[skip actions] npm version release v2.3.0
winklerj Aug 31, 2023
96a718b
Updated some documentation for clarity
ryanlunka Sep 26, 2023
1687539
Upgrade to ferryman-extensions v2
winklerj Sep 27, 2023
b36459f
Ran npm audit fix
winklerj Sep 27, 2023
d912f93
Merge pull request #63 from blendededge/ferryman-2
winklerj Sep 27, 2023
62b34ae
Merge pull request #62 from blendededge/documentation-updates
winklerj Sep 27, 2023
fa18da0
[skip actions] npm version release v2.4.0
winklerj Sep 27, 2023
e47d87d
Upgraded ferryman dependency to version 2.3.0
winklerj Sep 27, 2023
59f38aa
Merge pull request #64 from blendededge/ferryman-230
winklerj Sep 27, 2023
76a2142
[skip actions] npm version release v2.4.1
winklerj Sep 27, 2023
1f569a8
Upgrade ferryman-extensions to 2.0.2
winklerj Sep 28, 2023
da6dde0
Merge pull request #65 from blendededge/ferryman-extensions-202
winklerj Sep 28, 2023
6ae00ac
[skip actions] npm version release v2.4.2
winklerj Sep 28, 2023
aa8c665
Fixed some README mistakes
ryanlunka Oct 3, 2023
7178d16
Create dependabot.yml
winklerj Oct 3, 2023
71fe66a
Merge pull request #66 from blendededge/dependabot-version-updates
winklerj Oct 3, 2023
9c367f9
Update dependabot.yml
winklerj Oct 3, 2023
3c65e80
Merge pull request #67 from blendededge/fix-dependabot-versions
winklerj Oct 3, 2023
2b35797
Update dependabot.yml
winklerj Oct 3, 2023
65cee1f
Update codeql-analysis.yml
winklerj Oct 3, 2023
1f8944f
Merge pull request #68 from blendededge/winklerj-patch-1
winklerj Oct 3, 2023
531aa78
Update dependabot.yml
winklerj Oct 3, 2023
a830ae6
Merge pull request #69 from blendededge/winklerj-patch-1
winklerj Oct 3, 2023
5efb959
Bump @blendededge/ferryman-extensions from 2.0.2 to 2.0.4
dependabot[bot] Oct 3, 2023
a463961
Merge pull request #71 from blendededge/dependabot/npm_and_yarn/blend…
winklerj Oct 3, 2023
4991954
Bump @openintegrationhub/ferryman from 2.3.0 to 2.3.1
dependabot[bot] Oct 3, 2023
2b7f17f
Merge pull request #70 from blendededge/dependabot/npm_and_yarn/openi…
winklerj Oct 3, 2023
59c9c30
[skip actions] npm version release v2.4.3
winklerj Oct 3, 2023
fab71b7
Bump @blendededge/ferryman-extensions from 2.0.4 to 2.0.6
dependabot[bot] Oct 23, 2023
39280d4
Merge pull request #72 from blendededge/feature/fix-docs
winklerj Oct 23, 2023
90e0d2f
Merge pull request #75 from blendededge/dependabot/npm_and_yarn/blend…
winklerj Oct 23, 2023
d1e75f6
[skip actions] npm version release v2.4.4
winklerj Oct 23, 2023
ea2fc5f
Add try/catch around whole utility
winklerj Oct 26, 2023
00df0f8
Merge pull request #76 from blendededge/extensions-catch
winklerj Oct 26, 2023
72e634b
[skip actions] npm version release v2.4.5
winklerj Oct 26, 2023
0f5214f
add support for oauth1
BirdHighway Jul 9, 2024
3766b55
downgrade unknown auth log
BirdHighway Jul 9, 2024
19fb737
audit fix
BirdHighway Jul 10, 2024
0b487df
Merge pull request #85 from blendededge/support-oauth1
BirdHighway Jul 10, 2024
ccdef7f
[skip actions] npm version release v2.5.0
winklerj Jul 10, 2024
548c14e
build for linux/amd64 and linux/arm64
BirdHighway Jul 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm"
directory: "/" # Location of package manifests
schedule:
interval: "daily"
allow:
- dependency-name: "@blendededge/ferryman-extensions"
- dependency-name: "@openintegrationhub/ferryman"
- dependency-name: "axios"
25 changes: 3 additions & 22 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ name: "CodeQL"
on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '34 5 * * 3'

Expand All @@ -39,33 +36,17 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
7 changes: 5 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
with:
install: true

- name: Login to Docker Hub
uses: docker/login-action@v1
Expand All @@ -52,11 +54,12 @@ jobs:

- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
builder: ${{ steps.buildx.outputs.name }}
file: ./Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
24 changes: 18 additions & 6 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: CI to Docker Hub
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
tags: ['v*.*.*','!v*.*.*-*']
release:
types: [released]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -18,10 +18,15 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Check Out Repo
- name: Check Out Repo
uses: actions/checkout@v2
with:
ref: ${{ github.event.release.target_commitish }}
fetch-depth: 0
- run: git config --global user.name 'Blended Edge'
- run: git config --global user.email '[email protected]'
- name: NPM Increment Version
run: npm version from-git
run: npm version --allow-same-version --message="[skip actions] npm version release ${{ github.event.release.tag_name }}" ${{ github.event.release.tag_name }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
Expand All @@ -41,7 +46,9 @@ jobs:

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2
with:
install: true

- name: Login to Docker Hub
uses: docker/login-action@v1
Expand All @@ -51,11 +58,16 @@ jobs:

- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
context: .
builder: ${{ steps.buildx.outputs.name }}
file: ./Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
- run: git push
env:
# The secret is passed automatically. Nothing to configure.
github-token: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Tests

# Controls when the action will run.
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
Expand All @@ -20,15 +20,15 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Check Out Repo
- name: Check Out Repo
uses: actions/checkout@v2

- name: Set up node
uses: actions/setup-node@v2
with:
node-version: 12.x
node-version: 14.x

- name: use cache
- name: use cache
uses: actions/cache@v2
with:
path: |
Expand Down
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
FROM node:12-alpine AS base
FROM node:16-alpine AS base

ENV ELASTICIO_OTEL_SERVICE_NAME=COMPONENT:REST

RUN apk --no-cache add \
python3 \
make \
g++ \
libc6-compat

WORKDIR /usr/src/app

COPY package.json /usr/src/app

RUN yarn install --production
RUN npm install --production

COPY . /usr/src/app

Expand Down
Loading
Loading