Projekt Griffin

Aus Roberts Wissensdatenbank
Version vom 28. November 2025, 15:20 Uhr von Robert (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Griffin ist die Softwareschnittstelle zwischen [NImQ Großhandel](NImQ:NImQ_Großhandel "wikilink"), Amazon und DHL Shipping Alle 180 Tage muss das [Amazon LWA-Token](Project_Griffin_LWA_Token "wikilink") rotiert werden. [category:Project Griffin](category:Project_Griffin "wikilink") Project <nowiki>##</nowiki> Deployment Der Source-Code f++r das Projekt liegt auf dem [MGSRH-DevOps](<nowiki>http://192.168.0.233/DefaultCollection/_git/ProjectGriffin<…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

Griffin ist die Softwareschnittstelle zwischen [NImQ Großhandel](NImQ:NImQ_Großhandel "wikilink"), Amazon und DHL Shipping


Alle 180 Tage muss das [Amazon LWA-Token](Project_Griffin_LWA_Token "wikilink") rotiert werden.

[category:Project Griffin](category:Project_Griffin "wikilink") Project

## Deployment

Der Source-Code f++r das Projekt liegt auf dem

[MGSRH-DevOps](http://192.168.0.233/DefaultCollection/_git/ProjectGriffin)

Server. Hier ist eine Build-Pipeline eingerichtet, die nach einen

Pull-Request auf den master-Branch automatisch Client- und Server-Module

kompiliert und bereitstellt. Nach erfolgreichem Build wird die

Release-Pipeline gestartet. Diese aktualisiert den

[Docker-Container](http://192.168.100.45:9000/#!/2/docker/stacks/projectgriffin?type=2&regular=false&external=true&orphaned=false)

und stellt das neue Setup f++r den Client unter

\\\\192.168.0.250\\IT\\ProjectGriffin\\ClickOnce bereit.

## Konfiguration

### Server

Die Software l+ñuft unter Docker auf dem Server

[192.168.100.45](http://192.168.100.45:9000/#!/2/docker/stacks/projectgriffin?type=2&regular=false&external=true&orphaned=false).

Die komplette Konfiguration ist in der Datei

/home/administrator/ProjectGriffin/docker-compose.yml als

Environment-Variablen f++r den Container hinterlegt.

-   Allgemein

    -   TZ=Europe/Berlin =\> Zeitzone Berlin

    -   Serilog\_\_WriteTo\_\_0\_\_Name=Seq

    -   Serilog\_\_WriteTo\_\_0\_\_Args\_\_serverUrl=<http://192.168.100.45:5341>

        =\> Seq-Server f++r Logging

-   Settings f++r die Griffin-API

    -   Api\_\_Token\_\_Key

    -   Api\_\_Token\_\_ExpirationMinutes

    -   Api\_\_Token\_\_Issuer

    -   Api\_\_Token\_\_Audience

-   Datenbank

    -   ConnectionStrings\_\_Nimq=Server=192.168.0.243;Database=NIMQ_GH_DB;User=tm_mgs;Password=\*\*\*;Application

        Name=ProjectGriffinServer;

-   Debug-Settings

    -   Debug\_\_OutputPath =\> Pfad f++r Debug-Dateien

    -   Debug\_\_OutputAmazonFeeds =\> Amazon-Feed-Dateien ausgeben

    -   Debug\_\_OutputServiceMgs =\> ServiceMGS-Antworten ausgeben

    -   Debug\_\_OutputDhlRequests =\> DHL-Response ausgeben

-   Amazon-Credentials und Settings

    -   Amazon\_\_LoginEndpoint=<https://api.amazon.com/auth/o2/token>

    -   Amazon\_\_ApiEndpoint=<https://sellingpartnerapi-eu.amazon.com>

    -   Amazon\_\_Region=eu-west-1

    -   Amazon\_\_Marketplaces\_\_0=A1PA6795UKMFR9

    -   Amazon\_\_Credentials\_\_ClientId=amzn1.application-oa2-client.3fa88ec6e6bf4f59b8c6ff39b0fd890c

    -   Amazon\_\_Credentials\_\_ClientSecret =\> Aktuelles LWA-Token

    -   Amazon\_\_Credentials\_\_RefreshToken

    -   Amazon\_\_Credentials\_\_AWSKey

    -   Amazon\_\_Credentials\_\_AWSSecret

    -   Amazon\_\_Credentials\_\_RoleARN=arn:aws:iam::693489909121:role/IAM_stefan

    -   Amazon\_\_MerchantIdentifier=A3CM8J27RO9QV2

    -   Amazon\_\_CountryOfOrigin=DE

    -   Amazon\_\_Fulfillment\_\_DelayMinutes=60

-   DHL-Credentials und Settings

    -   Shipping\_\_Dhl\_\_Url=<https://cig.dhl.de/services/production/soap>

    -   Shipping\_\_Dhl\_\_UserName=ProjectGriffin_1

    -   Shipping\_\_Dhl\_\_Password

    -   Shipping\_\_Dhl\_\_Authentication\_\_User=griffin.mgs

    -   Shipping\_\_Dhl\_\_Authentication\_\_Signature =\> Aktuelle

        DHL-User-Passwort

    -   Shipping\_\_Dhl\_\_GroupProfileName=Versand-MGS

    -   Shipping\_\_Dhl\_\_AccountNumbers\_\_National=50232905560124

    -   Shipping\_\_Dhl\_\_AccountNumbers\_\_Europe=50232905565405

    -   Shipping\_\_Dhl\_\_AccountNumbers\_\_International=50232905565308

    -   Shipping\_\_Dhl\_\_Products\_\_National=V01PAK

    -   Shipping\_\_Dhl\_\_Products\_\_Europe=V54EPAK

    -   Shipping\_\_Dhl\_\_Products\_\_International=V53WPAK

    -   Shipping\_\_Dhl\_\_AmazonShippingMethods\_\_National=DHLPAKET

    -   Shipping\_\_Dhl\_\_AmazonShippingMethods\_\_Europe=DHLEUROPAKET

    -   Shipping\_\_Dhl\_\_AmazonShippingMethods\_\_International

    -   Shipping\_\_Dhl\_\_LabelFormat=910-300-600

    -   Shipping\_\_Dhl\_\_CustomsTariffNumber=49040000

### Client

Der Client speichert den ausgew+ñhlten Server in der Datei

%LocalAppData%\\Griffin.Client\\config.json.

## Hinweis

Alle 180 Tage muss das [Amazon

LWA-Token](Project_Griffin_LWA_Token "wikilink") rotiert werden.

[category:Project Griffin](category:Project_Griffin "wikilink") Project

Griffin ist die Softwareschnittstelle zwischen [NImQ

Gro+ƒhandel](NImQ#NImQ_Gro+ƒhandel "wikilink"), Amazon und DHL Shipping.

## Aufbau

Die Software besteht aus drei Komponenten.

### Server {#server_1}

Die Serverkomponente Griffin.Server l+ñuft unter Docker auf dem

[MGSGRP-DockerHost](http://192.168.100.45:9000/#!/2/docker/stacks/projectgriffin?type=2&regular=false&external=true&orphaned=false).

### Client {#client_1}

Die Client-Application wird per ClickOnce auf den Workstations

installiert.

### PrintClient

Diese Application ist f++r das Drucken von Versandlabels zust+ñndig und

l+ñuft auf einem Rechner der Zugriff auf den Labeldrucker hat. Das ist

deshalb n+Âtig, da das direkte Drucken aus der Server-Application nicht

m+Âglich ist.

## Deployment {#deployment_1}

Der Source-Code f++r das Projekt liegt auf dem

[MGSRH-DevOps](http://192.168.0.233/DefaultCollection/_git/ProjectGriffin)

Server. Hier ist eine Build-Pipeline eingerichtet, die nach einen

Pull-Request auf den master-Branch automatisch Client- und Server-Module

kompiliert und bereitstellt. Nach erfolgreichem Build wird die

Release-Pipeline gestartet. Diese aktualisiert den

[Docker-Container](http://192.168.100.45:9000/#!/2/docker/stacks/projectgriffin?type=2&regular=false&external=true&orphaned=false)

und stellt das neue Setup f++r den Client unter

\\\\192.168.0.250\\IT\\ProjectGriffin\\ClickOnce bereit.

## Konfiguration {#konfiguration_1}

### Server {#server_2}

Die Software l+ñuft unter Docker auf dem Server

[192.168.100.45](http://192.168.100.45:9000/#!/2/docker/stacks/projectgriffin?type=2&regular=false&external=true&orphaned=false).

Die komplette Konfiguration ist in der Datei

/home/administrator/ProjectGriffin/docker-compose.yml als

Environment-Variablen f++r den Container hinterlegt.

-   Allgemein

    -   TZ=Europe/Berlin =\> Zeitzone Berlin

    -   Serilog\_\_WriteTo\_\_0\_\_Name=Seq

    -   Serilog\_\_WriteTo\_\_0\_\_Args\_\_serverUrl=<http://192.168.100.45:5341>

        =\> Seq-Server f++r Logging

-   Settings f++r die Griffin-API

    -   Api\_\_Token\_\_Key

    -   Api\_\_Token\_\_ExpirationMinutes

    -   Api\_\_Token\_\_Issuer

    -   Api\_\_Token\_\_Audience

-   Datenbank

    -   ConnectionStrings\_\_Nimq=Server=192.168.0.243;Database=NIMQ_GH_DB;User=tm_mgs;Password=\*\*\*;Application

        Name=ProjectGriffinServer;

-   Debug-Settings

    -   Debug\_\_OutputPath =\> Pfad f++r Debug-Dateien

    -   Debug\_\_OutputAmazonFeeds =\> Amazon-Feed-Dateien ausgeben

    -   Debug\_\_OutputServiceMgs =\> ServiceMGS-Antworten ausgeben

    -   Debug\_\_OutputDhlRequests =\> DHL-Response ausgeben

-   Amazon-Credentials und Settings

    -   Amazon\_\_LoginEndpoint=<https://api.amazon.com/auth/o2/token>

    -   Amazon\_\_ApiEndpoint=<https://sellingpartnerapi-eu.amazon.com>

    -   Amazon\_\_Region=eu-west-1

    -   Amazon\_\_Marketplaces\_\_0=A1PA6795UKMFR9

    -   Amazon\_\_Credentials\_\_ClientId=amzn1.application-oa2-client.3fa88ec6e6bf4f59b8c6ff39b0fd890c

    -   Amazon\_\_Credentials\_\_ClientSecret =\> Aktuelles LWA-Token

    -   Amazon\_\_Credentials\_\_RefreshToken

    -   Amazon\_\_Credentials\_\_AWSKey

    -   Amazon\_\_Credentials\_\_AWSSecret

    -   Amazon\_\_Credentials\_\_RoleARN=arn:aws:iam::693489909121:role/IAM_stefan

    -   Amazon\_\_MerchantIdentifier=A3CM8J27RO9QV2

    -   Amazon\_\_CountryOfOrigin=DE

    -   Amazon\_\_Fulfillment\_\_DelayMinutes=60

-   DHL-Credentials und Settings

    -   Shipping\_\_Dhl\_\_Url=<https://cig.dhl.de/services/production/soap>

    -   Shipping\_\_Dhl\_\_UserName=ProjectGriffin_1

    -   Shipping\_\_Dhl\_\_Password

    -   Shipping\_\_Dhl\_\_Authentication\_\_User=griffin.mgs

    -   Shipping\_\_Dhl\_\_Authentication\_\_Signature =\> Aktuelle

        DHL-User-Passwort

    -   Shipping\_\_Dhl\_\_GroupProfileName=Versand-MGS

    -   Shipping\_\_Dhl\_\_AccountNumbers\_\_National=50232905560124

    -   Shipping\_\_Dhl\_\_AccountNumbers\_\_Europe=50232905565405

    -   Shipping\_\_Dhl\_\_AccountNumbers\_\_International=50232905565308

    -   Shipping\_\_Dhl\_\_Products\_\_National=V01PAK

    -   Shipping\_\_Dhl\_\_Products\_\_Europe=V54EPAK

    -   Shipping\_\_Dhl\_\_Products\_\_International=V53WPAK

    -   Shipping\_\_Dhl\_\_AmazonShippingMethods\_\_National=DHLPAKET

    -   Shipping\_\_Dhl\_\_AmazonShippingMethods\_\_Europe=DHLEUROPAKET

    -   Shipping\_\_Dhl\_\_AmazonShippingMethods\_\_International

    -   Shipping\_\_Dhl\_\_LabelFormat=910-300-600

    -   Shipping\_\_Dhl\_\_CustomsTariffNumber=49040000

### Client {#client_2}

Der Client speichert den ausgew+ñhlten Server in der Datei

%LocalAppData%\\Griffin.Client\\config.json.

## Hinweis {#hinweis_1}

Alle 180 Tage muss das [Amazon

LWA-Token](Project_Griffin_LWA_Token "wikilink") rotiert werden.

[category:Project Griffin](category:Project_Griffin "wikilink") Project

Griffin ist die Softwareschnittstelle zwischen [NImQ

Gro+ƒhandel](NImQ#NImQ_Gro+ƒhandel "wikilink"), Amazon und DHL Shipping.

## Aufbau {#aufbau_1}

Die Software besteht aus drei Komponenten.

### Server {#server_3}

Die Serverkomponente Griffin.Server l+ñuft unter Docker auf dem

[MGSGRP-DockerHost](http://192.168.100.45:9000/#!/2/docker/stacks/projectgriffin?type=2&regular=false&external=true&orphaned=false).

### Client {#client_3}

Die Client-Application wird per ClickOnce auf den Workstations

installiert.

### PrintClient {#printclient_1}

Diese Application ist f++r das Drucken von Versandlabels zust+ñndig und

l+ñuft auf einem Rechner der Zugriff auf den Labeldrucker hat. Das ist

deshalb n+Âtig, da das direkte Drucken aus der Server-Application nicht

m+Âglich ist.

## Deployment {#deployment_2}

Der Source-Code f++r das Projekt liegt auf dem

[MGSRH-DevOps](http://192.168.0.233/DefaultCollection/_git/ProjectGriffin)

Server. Hier ist eine Build-Pipeline eingerichtet, die nach einen

Pull-Request auf den master-Branch automatisch Client- und Server-Module

kompiliert und bereitstellt. Nach erfolgreichem Build wird die

Release-Pipeline gestartet. Diese aktualisiert den

[Docker-Container](http://192.168.100.45:9000/#!/2/docker/stacks/projectgriffin?type=2&regular=false&external=true&orphaned=false)

und stellt das neue Setup f++r den Client unter

\\\\192.168.0.250\\IT\\ProjectGriffin\\ClickOnce bereit.

## Konfiguration {#konfiguration_2}

### Server {#server_4}

Die Software l+ñuft unter Docker auf dem Server

[192.168.100.45](http://192.168.100.45:9000/#!/2/docker/stacks/projectgriffin?type=2&regular=false&external=true&orphaned=false).

Die komplette Konfiguration ist in der Datei

/home/administrator/ProjectGriffin/docker-compose.yml als

Environment-Variablen f++r den Container hinterlegt.

-   Allgemein

    -   TZ=Europe/Berlin =\> Zeitzone Berlin

    -   Serilog\_\_WriteTo\_\_0\_\_Name=Seq

    -   Serilog\_\_WriteTo\_\_0\_\_Args\_\_serverUrl=<http://192.168.100.45:5341>

        =\> Seq-Server f++r Logging

-   Settings f++r die Griffin-API

    -   Api\_\_Token\_\_Key

    -   Api\_\_Token\_\_ExpirationMinutes

    -   Api\_\_Token\_\_Issuer

    -   Api\_\_Token\_\_Audience

-   Datenbank

    -   ConnectionStrings\_\_Nimq=Server=192.168.0.243;Database=NIMQ_GH_DB;User=tm_mgs;Password=\*\*\*;Application

        Name=ProjectGriffinServer;

-   Debug-Settings

    -   Debug\_\_OutputPath =\> Pfad f++r Debug-Dateien

    -   Debug\_\_OutputAmazonFeeds =\> Amazon-Feed-Dateien ausgeben

    -   Debug\_\_OutputServiceMgs =\> ServiceMGS-Antworten ausgeben

    -   Debug\_\_OutputDhlRequests =\> DHL-Response ausgeben

-   Amazon-Credentials und Settings

    -   Amazon\_\_LoginEndpoint=<https://api.amazon.com/auth/o2/token>

    -   Amazon\_\_ApiEndpoint=<https://sellingpartnerapi-eu.amazon.com>

    -   Amazon\_\_Region=eu-west-1

    -   Amazon\_\_Marketplaces\_\_0=A1PA6795UKMFR9

    -   Amazon\_\_Credentials\_\_ClientId=amzn1.application-oa2-client.3fa88ec6e6bf4f59b8c6ff39b0fd890c

    -   Amazon\_\_Credentials\_\_ClientSecret =\> [Aktuelles

        LWA-Token](Project_Griffin_LWA_Token "wikilink")

    -   Amazon\_\_Credentials\_\_RefreshToken

    -   Amazon\_\_Credentials\_\_AWSKey

    -   Amazon\_\_Credentials\_\_AWSSecret

    -   Amazon\_\_Credentials\_\_RoleARN=arn:aws:iam::693489909121:role/IAM_stefan

    -   Amazon\_\_MerchantIdentifier=A3CM8J27RO9QV2

    -   Amazon\_\_CountryOfOrigin=DE

    -   Amazon\_\_Fulfillment\_\_DelayMinutes=60

-   DHL-Credentials und Settings

    -   Shipping\_\_Dhl\_\_Url=<https://cig.dhl.de/services/production/soap>

    -   Shipping\_\_Dhl\_\_UserName=ProjectGriffin_1

    -   Shipping\_\_Dhl\_\_Password

    -   Shipping\_\_Dhl\_\_Authentication\_\_User=griffin.mgs

    -   Shipping\_\_Dhl\_\_Authentication\_\_Signature =\> Aktuelle

        DHL-User-Passwort

    -   Shipping\_\_Dhl\_\_GroupProfileName=Versand-MGS

    -   Shipping\_\_Dhl\_\_AccountNumbers\_\_National=50232905560124

    -   Shipping\_\_Dhl\_\_AccountNumbers\_\_Europe=50232905565405

    -   Shipping\_\_Dhl\_\_AccountNumbers\_\_International=50232905565308

    -   Shipping\_\_Dhl\_\_Products\_\_National=V01PAK

    -   Shipping\_\_Dhl\_\_Products\_\_Europe=V54EPAK

    -   Shipping\_\_Dhl\_\_Products\_\_International=V53WPAK

    -   Shipping\_\_Dhl\_\_AmazonShippingMethods\_\_National=DHLPAKET

    -   Shipping\_\_Dhl\_\_AmazonShippingMethods\_\_Europe=DHLEUROPAKET

    -   Shipping\_\_Dhl\_\_AmazonShippingMethods\_\_International

    -   Shipping\_\_Dhl\_\_LabelFormat=910-300-600

    -   Shipping\_\_Dhl\_\_CustomsTariffNumber=49040000

### Client {#client_4}

Der Client speichert den ausgew+ñhlten Server in der Datei

%LocalAppData%\\Griffin.Client\\config.json.

## Hinweis {#hinweis_2}

Alle 180 Tage muss das [Amazon

LWA-Token](Project_Griffin_LWA_Token "wikilink") rotiert werden.