Code Monkey home page Code Monkey logo

repo1's Introduction

Silent PN Generator

Uygulamanın Temel Özellikleri:

Bu uygulama tanımlanabilir bir süre boyunca BiP uygulamasını kullanmayan kullanıcılara gönderilmek üzere Silent PN hazırlar ve bu isteği PNSender uygulamasına gönderir. BiP uygulamasını silmiş kullanıcılar frozen durumuna gelir ve bu sayede rapor ve ölçmlerde daha isabetli tahminler yapılailir.

Uygulama Parametreleri.

Parametre Adı Örnek Değer Açıklama
operation.silentpn.db.ofuser.modeBase 1000 Kullanıcılar bu değer baz alınarak indexlenir ve DB den bu şekilde alınır.
operation.silentpn.db.ofuser.inactivedays 7 Uygulamanın son kapanma süresi. Bu süre daha uzun zamandır uygulamasını açmayan kullanıcılar üzerinde yapılır.
xmpp.kafka.broker 172.18.182.81:9093,172.18.182.81:9094 kafka Broker Listesi
xmpp.pn.topic test-pn-topic Bildirimler Avro formatında bu topic'e beslenir.
pn.slient.dispacher.cron 0 0 */7 * * cron format񠩮celeyin

Silent Pn Gönderilecek Kullanıcıları kullanan SQL:

select username, ostype,osversion, pntoken, voip_pntoken, cert_type, appversion from ofuser where username IN (SELECT username FROM OFPRESENCE where TO_DATE ('1970-01-01 00', 'yyyy-mm-dd hh24')+ (OFFLINEDATE +10800000)  / 1000 / 60 / 60 / 24 < SYSDATE -200) and usergroup='USER' and frozen=0

Silent PN Hazırlanırken kullanılan Pojo aşağıdaki gibi olacak. koyu renkte olan alanlar ön tanımlı diğer alanlar veritabanında gelecek bilgiler ile doldurulur.

  • badge = 1
  • ostype
  • osversion
  • pntoken
  • voippntoken
  • msgtype = "TOV"
  • notificationtype = "O"
  • text = "."
  • sender = "OSS Token Validation"
  • receiver
  • jid = "905320000001"
  • certtype
  • appversion
  • service=true

@ttahkarakaya

Sürümlerler

1.0.0

İlk sürüm temel özellikler yukarıda anlatılmıştır.

repo1's People

Contributors

ahmetkarakaya avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.