Přejít na konec metadat
Přejít na začátek metadat

Prohlížíte starou verzi této stránky. Zobrazit aktuální verzi.

Porovnat s aktuální Zobrazit historii stránky

« Předchozí Verze 7 Další »

Added

  • GET /customers/{customerId}/users
  • Documentation route /documentation-roles which show access to routes by soap roles

/users

  • GET /users - to get list of customer users. In future will be marked as deprecated in favor of /customers/{customerId}/users
    • difference from deprecated route GET /ucusers are:
      • removed parameter email from query.
      • removed parameter id
      • return array users in new structure
      • now you can not get one user by this route
  • POST /users - new route to create user. You can assigned only pbx version 4.x to user.
    • In section services.pbx changed key form line to extension to keep naming same in all projects
    • difference from deprecated route POST /ucusers are:
      • removed payload key sendEmail
      • added key services do payload
      • added key type to payload
      • added key properties to payload
      • change output structure to new default user output
      • return array users in new structure
  • GET /users/me - get authenticated user information
  • GET /users/types - return list of user types
  • DELETE /users/{userId} - to deleted user from all systems
    • difference from deprecated route DELETE /ucusers/{email} are:
      • parameter email replaced by parameter userId
  • GET /users/{userId} - new route to get all information about user
  • PUT /users/{userId} - route to change user details and also user services. Only change assigning to pbx version 4.x.
  • GET /users/by-username/{username} - new route primarly targeted on integration with systems where you know only username. For example pbx webhook
  • POST /users/pbx-upgrade/create - new route for pbx upgrades from version 3.x to version 4.x. Different between this route and route POST /users that this route handle user type in itselve and does not create devices on pbx. These are the major differecences

/services

  • GET /services/{id}/properties - to get list of allowed service properties
  • PUT /services/{id}/properties - to edit allowed service properties
    • difference from deprecated route DELETE /ucusers/{email} are:
      • add parameter serviceId
      • remove payload key type
      • now you can change more than one property
      • now return message that update was done instead of number of rows affected

Changed

  • Now test are run now without nodemon. First you must start server and then you can run tests
  • Old tests moved to directory old
  • Using password policy library which reflect password policy described here https://ipexas.atlassian.net/wiki/spaces/VNT/pages/96373004/Password+policy
  • When tying to create user which already exists on pbx now throw error
  • Improved logging of all routes
    • when authenticated by soap token we log providerId and user
    • when authenticated by anvil token we log providerId, user, customer_id and customerId
  • Package upgrade due to security issues in packages

package upgrade

  • good-console ^6.4.0 > ^7.1.0
  • good-logstash ^2.0.2 > ^3.0.0
  • joi ^13.1.0 > ^13.3.0
  • knex 0.14.4 > 0.14.6
  • bell ^8.8.0 > ^8.9.0
  • mocha 4.1.0 > 5.1.1
  • source-map ^0.6.1 > ^0.7.2

Deprecated

  • GET /email-test - without replacement
  • GET /properties - instead use /users/me

/sso

  • GET /sso/roles - insted use GET /users/{userId} or GET /users/me
  • GET /sso/roles/pbx/{pbxId} - insted use GET /users/{userId} or GET /users/me
  • GET /sso/users/{customerId} insted use GET /customers/{customerId}/users
  • GET /sso/veryfiAuth - without replacement
  • POST /sso/pbx - instead use POST /users when creating new user or adding user service pbx use PUT /users/{userId}
  • PUT /sso/pbx - instead use PUT /users/{userId}
  • POST /sso/comm - all users created from now forward will have account in communicator

/ucusers

  • GET /ucusers/{id?} - instead use /users/{userId} to get user information or /customers/{customerId}/users to get customer users or /users/by-username/{username} when you want to get user by username (email)
  • DELETE /ucusers/{email} - without replacement
  • POST /ucusers - instead use POST /users
  • POST /ucusers/{userId}/pbx - when creating whole new user user POST /users or just add user service pbx use PUT /users/{userId}
  • PUT /ucusers/{userId}/pbx - without replacement
  • DELETE /ucusers/{userId}/pbx - instead use PUT /users/{userId}

/user

  • PUT /user/properties - instead use /services/{serviceId}/properties

/services

  • GET /services/list - instead use GET /services
  • PUT /services/properties - instead use PUT /service/{serviceId}/properties

Removed

  • GET /ares/{ico} - without replacement
  • GET /ares/searchIco - without replacement
  • GET /auth-helpdesk - without replacement
  • GET /auth-admin - without replacement
  • GET /check-role/{role} - without replacement
  • POST /connectors/pbx - without replacement
  • POST /eio/properties/{email} - instead use GET /users/by-username/{username}
  • POST /eio/integraton-props - instead use GET /users/me
  • DELETE /sso/deleteTestUsers
  • GET /temp/userproperties/{email?} - GET /users/{userId} or GET /users/me
  • POST/PUT /temp/userproperties - without replacement
  • POST /temp/userproperties/upload - without replacement
  • package nodemon (Missing logs stdout when running server using nodemon)
  • removed from package.json keys in section scripts: start-production-api, start-beta, start-auto-test, debug, inspect. They used hardcoded parameters and nodemon

Fixed

  • Disable request timeout in test. Test now can be run in docker.
  • Problem with invoices

Security




MTOM

/services

  • GET nevracelo čísla v trunku (voda není víno a text není číslo...)

/invoices

  • FIX GET Částečný revert commitu 76638d2955395a2e334427c9f501018d8cd66f9d Nepochopil jsem důvod změny a rozbíjela výstup fakturace. Neměl jsem čas hlouběji zkoumat...


JOP

  • increase node version on 8.11.1 and server starting for better logging
  • added heapdump package
  • FIX: memory leak - Object.assign()
  • code formating and disable timeout to be able run tests in docker
  • eslint rules to ignore after, beforeEach and afterEach in tests
  • moved martin tests to direcotry old because of be able to run tests in docker
  • remove upgrade packages and remove keys start-production-api, start-beta, start-auto-test, debug, inspect from key scripts
  • FIX: mark routes /temp as deprecated


/users

  • FIX devide users/functions devide to more files
  • FIX: missing variables and wrong order
  • FIX: wrong assing in json
  • FIX: wrong service
  • FIX: added route for pbx migration
  • FIX: documentation
  • FIX: change variable name from line to extension to have same naming as it is on pbx api
  • REMOVE: route /users/pbx-upgrade/{id}
  • FIX: problem with paralel calling pbx instead of sequence

/sso

  • FIX wrong order of variables
  • FIX: mark sso/login as public
  • FIX: tags

/ucusers

  • FIX: confilct and naming
  • FIX: mc using old rutes
  • FIX: problem mc with create users. He insist on old route
  • FIX: old route ucusers
  • FIX: missing file
  • FIX: problem with ucusers/{userId}/pbx
  • FIX: return wrong variable
  • FIX: missing key
  • FIX: problem
  • FIX: final
  • FIX: add roles
  • FIX: mark as deprecated
  • ADD: route for pbx upgrade delete
  • FIX: documentation

/ucservices

  • FIX: vpc-1895

/services

  • FIX: vpc-1910
  • ADD: new routes to handle service properties
  • FIX: change to lowercase property key
  • FIX: change to upper property key

/calls

  • FIX: problem with date

/analysis

  • FIX: problem with date

/requests

  • FIX: wrong getting parameters request.query to request.params

/connectors

  • FIX: problem with date


  • Žádné štítky