Skip to content

Instantly share code, notes, and snippets.

View sodogan's full-sized avatar
💭
I am waiting for contributions for SAPUI5

Solen Dogan sodogan

💭
I am waiting for contributions for SAPUI5
View GitHub Profile
@sodogan
sodogan / myJSONModel.js
Created January 2, 2022 15:28 — forked from christianjianelli/myJSONModel.js
Extending SAPUI5 JSON Model
jQuery.sap.require("sap.ui.model.json.JSONModel");
sap.ui.model.json.JSONModel.extend("myJSONModel", {
//declare our new method including two new parameters fnSuccess and fnError, our callback functions
loadDataNew: function(sURL, fnSuccess, fnError, oParameters, bAsync, sType, bMerge, bCache){
var that = this;
if (bAsync !== false) {
@sodogan
sodogan / SonarQubeConfig.txt
Created September 22, 2020 09:08 — forked from marek-panek/SonarQubeConfig.txt
SonarQube configuration with PostgreSQL
1. In PostgreSQL database
1.1 Create user
create user <user_name> with password '<password>';
1.2 Create database
create database <db_name> with owner <user_name> encoding 'UTF8';
2. Edit <sonar_install_dir>/conf/sonar.properties