Webcon to ogromne narzędzie klasy BPML do standaryzacji procesów biznesowych w firmach od małych zakładów aż do klasy Enterprise. Z narzędziem na codzień pracuje cała masa ludzi tworząc do niego różnego rodzaju dodatki, integracje. Jeśli kiedykolwiek pisałeś większą integrację do systemu webcon zapewne wiesz z jakimi problemami stykają się developerzy, którzy do tego systemu tworzą integracje na codzień . Wraz z wycofaniem wsparcia technologii komunikacji i integracji Webcon BPS a systemami zewnętrznymi o nazwie "SOAP", komunikacja z systemem webcon przestała podlegać pod standardy wyznaczane przez schematy XML. Aktualnie zastąpione zostały one standardem OpenAPI - który dość dobrze opisuje system, ale pod względem transportu, natomiast w systemie brak jakiejkolwiek wziamnki o logice importowania danych do różnych typów pól. Szczególny nacisk kładziemy na nowe, nieopisane typy, przez które integratory zwyczajnie
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit" | |
OR | |
git log --oneline --abbrev-commit --all --graph --decorate --color |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace zaliczenie | |
{ | |
class Program | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ten skrypt moze zostac uzyty na raporcie SWE | |
* platformy webcon wstawiajac go na strone jako element html | |
* | |
* ! UWAGA ! | |
* Nie był on na serio testowany i moga w wnim wystepowac bugi | |
* | |
* TODO: | |
* przy odswiezaniu updatepanelu nie dodawaj powtornie nowego | |
* elementu tylko dodaj flagle dodania poprzedniego i ja sprawdzaj |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE [dbo].[Log] ( | |
[Id] [int] IDENTITY(1,1) NOT NULL, | |
[Application] [nvarchar](50) NOT NULL, | |
[Logged] [datetime] NOT NULL, | |
[Level] [nvarchar](50) NOT NULL, | |
[Message] [nvarchar](max) NOT NULL, | |
[Logger] [nvarchar](250) NULL, | |
[Callsite] [nvarchar](max) NULL, | |
[Exception] [nvarchar](max) NULL, | |
CONSTRAINT [PK_dbo.Log] PRIMARY KEY CLUSTERED ([Id] ASC) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* need some imports e.g.: | |
import { IODataList } from '@microsoft/sp-odata-types'; | |
import { SPHttpClient, SPHttpClientConfigurations, SPHttpClientConfiguration, SPHttpClientResponse, ODataVersion, ISPHttpClientConfiguration } from '@microsoft/sp-http'; | |
*/ | |
private dropdownOptions: IPropertyPaneDropdownOption[]; | |
private listsFetched: boolean; | |
// these methods are split out to go step-by-step, but you could refactor and be more direct if you choose.. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var retryPolicy = Policy | |
.HandleResult<IRestResponse<RootObject>>(r => !r.IsSuccessful) | |
.Or<TimeoutRejectedException>() | |
.WaitAndRetryAsync(new[] { TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(2)}); | |
var response = await retryPolicy.ExecuteAsync(() => | |
{ | |
var client = new RestClient(\$"https://sample.api/api/search/nip/{line}?date=2019-11-15"); | |
var request = new RestRequest(Method.GET); | |
return client.ExecuteTaskAsync<RootObject>(request); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE @name VARCHAR(100) -- database name | |
DECLARE @SQLString nvarchar(200) | |
DECLARE db_cursor CURSOR FOR | |
SELECT name | |
FROM MASTER.dbo.sysdatabases | |
WHERE name NOT IN ('master','model','msdb','tempdb','spare-me','me-too') | |
OPEN db_cursor | |
FETCH NEXT FROM db_cursor INTO @name | |
use master |
OlderNewer